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

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

    I think you are using cmd in windows.

    Try deleting the node_modules folder and after that run npm i from the cmd.

    Then try running npm run serve again and see if it works this time

提交回复
热议问题