仗剑天涯,从你的努力开始

‘vue-cli-service’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xianshenglu.github.io@0.1.0 serve: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the xianshenglu.github.io@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?


解决办法*

  1. cmd进入当前项目
  2. npm install vue-cli
  3. npm run serve

Logo

前往低代码交流专区

更多推荐