Solve Vue error internal/modules/cjs/loader.js:883 throw err;

question:

 Solution:

The first:

Delete node_modulesthe folder of the project and execute again

npm i


npm run dev

 the second

Lower the webpack version

npm uninstall  xxxxx   卸载 


npm install   xxxxxxxx 安装



npm run dev

When the above two are not enough, you have to check the environment of node.js

When I use nuxt.js to build the project and run it, I report this error. The reason is that the version of node.js is too low and the error is reported.

Guess you like

Origin blog.csdn.net/maowencai/article/details/131781449