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

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

    As it is mentioned in terminal that node_modules is missing from your project, so you can't directly use npm run serve, first you have to do npm install then do npm run serve. It will work fine

提交回复
热议问题