Vue+webpack but npm start run report this error, do you know what this means?

my-first-vue-project@1.0.0 dev E:vuemy-first-vue-project
webpack-dev-server-- inline-- progress-- config build/webpack.dev.conf.js

module.js:538

throw err;
^

Error: Cannot find module "balanced-match"

at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (E:\vue\my-first-vue-project\node_modules\brace-expansion\index.js:2:16)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)

npm err! Code ELIFECYCLE
npm err! Errno 1
npm err! My-first-vue-project@1.0.0 dev: webpack-dev-server-- inline-- progress-- config build/webpack.dev.conf.js
npm err! Exit status 1
npm err!
npm err! Failed at the my-first-vue-project@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:UsersAdministratorAppDataRoamingnpm-cache_logs2018-03-27T01_17_53_319Z-debug.log
npm err! Code ELIFECYCLE
npm err! Errno 1
npm err! My-first-vue-project@1.0.0 start: npm run dev
npm err! Exit status 1
npm err!
npm err! Failed at the my-first-vue-project@1.0.0 start 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:UsersAdministratorAppDataRoamingnpm-cache_logs2018-03-27T01_17_53_369Z-debug.log

Mar.04,2021

lack of 'balanced-match' module', go straight to npm install 'balanced-match', and take a look at


look at your package.json file. Whether the configuration is not correct


Hello. I have also encountered this problem. In fact, it is the problem of the local host. 127.0.0.1 localhost


you can npm install again, no, delete the nodemodule folder again, and npm indtall it again

.
Menu