六级考试时间分配建议Vue.js项⽬⽆法启动:sh:1:vue-cli-rvice:notfound 问题描述
使⽤npm run rve命令启动 Vue.js 项⽬时⽆法启动。具体报错如下:
$ npm run rve醍醐味
> front-end@0.1.0 rve
> vue-cli-rvice rve
sh: 1: vue-cli-rvice: not foundbeing翻译
npm ERR! code 127
npm ERR! path /home/codists/projects/flask-vue-blog/front-end
npm ERR! command failed
npm ERR! command sh -c vue-cli-rvice rve消费者购买行为
昨日重现英文
npm ERR! A complete log of this run can be found in:
at the momentnpm ERR! /home/codists/.npm/_logs/2021-06-09T13_29_30_797Z-debug.log
问题定位
1、已经使⽤npm install -g @vue/cli安装了 Vue CLI。且 package.json ⽂件⾥⾯也包含了"@vue/cli-rvice": "~4.5.0"。candy什么意思
cimr
但是有可能装的有问题,所以重新安装。
tooling解决⽅法
1、重新安装
$ rm -rf node_modules/
effortlessly$ npm install