Home >Web Front-end >Vue.js >How to solve the problem that vue-cli-service is not an internal or external command
Causes and solutions: 1. The project did not execute "npm install" and the relevant dependency packages could not be found; just execute "npm install". 2. The project's dependency package is damaged; you need to delete the node_modules folder first, and then execute the "npm install" command to reinstall it.
The operating environment of this tutorial: windows7 system, vue2.9 version, Dell G3 computer.
vue-cli-service is not an internal or external command
Cause 1. The newly pulled project did not execute npm install. The relevant dependency package cannot be found (that is, there is no node_modules folder). Solution: Execute npm install
Cause 2. The project's dependency package is damaged. Solution: Delete the node_modules folder, execute npm install and reinstall
For more programming-related knowledge, please visit:Programming Teaching! !
The above is the detailed content of How to solve the problem that vue-cli-service is not an internal or external command. For more information, please follow other related articles on the PHP Chinese website!