请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

这里win用户sh脚本报错

‘sh’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rookie-ts-axios@0.0.0 pub: sh release.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rookie-ts-axios@0.0.0 pub script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-06-15T02_04_19_283Z-debug.log

正在回答

1回答

windows 用户可以安装 git,安装过程中勾选 Git bash 应该可以,然后在 Git bash 窗口中运行试试。或者网上搜索一下 windows 中运行 sh 文件的相关解决方案。

0 回复 有任何疑惑可以回复我~
  • 提问者 wangao4321 #1
    谢谢老师,gitbash 完美解决,我忘了用着东西了,也算是对部署脚本文件有了一些认识
    回复 有任何疑惑可以回复我~ 2019-06-16 13:48:42
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号