edrp.cn的Blog

学习,需要交流,欢迎大家和我共同来学习C#,ASP.NET,MS SQL Server开发Web项目,欢迎大家和我交流

博客园 首页 新随笔 联系 订阅 管理

问题:
E:\BladeXDB\Saber>yarn run serve
yarn run v1.13.0
$ vue-cli-service serve
'vue-cli-service' 不是内部或外部命令,也不是可运行的程序或批处理文件。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

解决方法 :
E:\BladeXDB\Saber>yarn install
下载守Saber源码后,需要安装程序运行的依赖,所以需要先运行yarn install 安装依赖,安装完后,在根目录下面会多出文件夹node_modules

再次运行,OK!

PS:

经过多次测试,发现运行还是报错,错误信息参见

https://www.cnblogs.com/edrp/p/11362589.html

需要执行:cnpm install node-sass --save-dev

 

posted on 2019-09-09 10:55  edrp.cn  阅读(3687)  评论(0编辑  收藏  举报