npm run dev中的638错误是什么?

时间:2019-10-15 08:05:44

标签: javascript laravel-6.2

需要制作一个带有事件管理器的被叫人打开页面。我正在使用的代码与项目的代码分开工作,当我将其放在项目上时,页面只是无法打开,并且我无法执行npm run dev。我确实需要一些帮助来完成这一部分并开始新的部分。我使用的日历是JavaScript中的fullcallendar。无论安装什么模块,我都会收到很多警告。我已经尝试了数千种东西,其中一些是:

  1. rm -rf node_modules
  2. npm install --save-dev cross-env
  3. npm安装
  4. npm run dev

错误:

C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko>npm run dev

> dica-upload-ok-calendario-ko@1.0.0 dev C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko
> npm run development

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'internal/util/types'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at evalmachine.<anonymous>:44:31
    at Object.<anonymous> (C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko\node_modules\npm\node_modules\graceful-fs\fs.js:11:8)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dica-upload-ok-calendario-ko@1.0.0 dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dica-upload-ok-calendario-ko@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Utilizador\AppData\Roaming\npm-cache\_logs\2019-10-14T16_55_54_006Z-debug.log

webpack.mix.js

 js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css');
//mix do upload
options({
    processCssUrls: false
});
js('resources/js/appu.js', 'public/js')
   .sass('resources/sass/app.scss', 'public/css')
   .sass('resources/sass/font-awesome.scss', 'public/css');
//mix do calendario
js('public/js/appc.js', 'public/js')
   .sass('resources/sass/app.scss', 'public/css');

package.json

"dependencies": {
    "@angular/common": "^8.2.10",
    "@angular/core": "^8.2.10",
    "@fullcalendar/core": "^4.3.1",
    "@fullcalendar/daygrid": "^4.3.0",
    "@fullcalendar/interaction": "^4.3.0",
    "@fullcalendar/vue": "^4.3.1",
    "@types/eonasdan-bootstrap-datetimepicker": "^4.17.26",
    "angularfire2": "^5.2.1",
    "balanced-match": "^1.0.0",
    "bootstrap-confirmation2": "^4.1.0",
    "bootstrap-datepicker": "^1.9.0",
    "bootstrap-vue": "^2.0.4",
    "brunch": "github:hellyeahllc/brunch#yarn",
    "carbon": "^0.5.0",
    "core-util-is": "^1.0.2",
    "development": "0.0.6",
    "find-node-modules": "^2.0.0",
    "firebase": "^7.2.0",
    "framework7": "^5.0.4",
    "make": "^0.8.1",
    "react": "16.10.2",
    "react-dev-utils": "^9.1.0",
    "react-dom": "16.10.2",
    "react-scripts": "3.2.0",
    "rimraf": "^3.0.0",
    "rm": "^0.1.8",
    "rxjs": "^6.5.3",
    "vue-i18n": "^8.14.1",
    "zone.js": "^0.10.2"

0 个答案:

没有答案