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

前端 未结 8 1241
北海茫月
北海茫月 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:47

    In my case I ran below commands in GitBash and it worked fine

    1. npm install
    2. npm run serve
    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题