How to solve 'vue-cli-service' is not recognized as an internal or external command?

前端 未结 8 1297
北海茫月
北海茫月 2021-01-03 18:07

I am getting an error when trying to run npm run serve. At first I installed node.js then vue as well as vue/cli. But when I am trying to run server as -> npm r

8条回答
  •  长发绾君心
    2021-01-03 18:59

    1. If you are using cmd in windows.
    2. deleting the node_modules folder and after that run npm istall from the cmd.
    3. run npm run serve and see if it works this time

提交回复
热议问题