mac环境下运行vue项目报错sh: vue-cli-service: command not found
解决方法:cd到项目目录下,执行命令sudo rm -rf node_modules package-lock.json && npm install 然后根据提示输入密码。安装完成后,再次npm run dev就可以正常运行啦。sudo rm -rf node_modules package-lock.json && npm install
标签:npm,vue,cli,service,sh,command
From: https://www.cnblogs.com/liyunxi/p/16887055.html