When we open the Vue project developed by others in the IDEA, the run npm run serve
command will find reported the following error when starting vue project, so after thinking solutions:
Solution: Delete the "node_modules" folder in the project, and then re-run npm install.
If Taobao mirror is installed, you can run cnpm install
Finally, run the npm run serve
perfect solution to the problem! ! ! ! ! !