In the vue project: 'vue-cli-service' is not an internal or external command, nor is it an executable program or batch file

When we open the Vue project developed by others in the IDEA, the run npm run servecommand 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 serveperfect solution to the problem! ! ! ! ! !

Guess you like

Origin www.cnblogs.com/yuqiliu/p/12722232.html