百搜论坛欢迎您的加入!
adimg adimg
 
昨日:篇  今日:篇   总帖:篇   会员:
博主最大Lv63   
vue-element-admin npm install 报错path git npm ERR! code ENOENT     

报错信息

it <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

解决办法

添加 git

下载或者配置git环境变量

相关链接

http://www.it1352.com/802235.html

github ISSUE

https://github.com/PanJiaChen/vue-element-admin/issues?utf8=%E2%9C%93&q=undefined+ls-remote
https://github.com/PanJiaChen/vue-element-admin/issues/1417
https://github.com/PanJiaChen/vue-element-admin/issues/1488
https://github.com/PanJiaChen/vue-element-admin/issues/1697
https://juejin.im/post/5b1f31f7f265da6e1a603e1e
 0  已被阅读了1487次  楼主 2020-09-02 00:59:58
回复列表

回复:vue-element-admin npm install 报错path git npm ERR! code ENOENT

联系站长 友链申请桂ICP备19000949号-1     桂ICP备19000949号-1
您的IP:52.14.1.136,2024-05-05 18:52:00,Processed in 0.01633 second(s).
免责声明: 本网不承担任何由内容提供商提供的信息所引起的争议和法律责任。
Powered by HadSky 7.12.9
已有0次打赏
(0) 分享
分享
取消
免责声明
1、本站资源,均来自网络,版权归原作者,所有资源和文章仅限用于学习和研究目的 。
2、不得用于商业或非法用途,否则,一切责任由该用户承担 !
如果觉得本文还不错请点个赞或者打赏点轻币哦~
拒绝伸手党,拿走请回复,尊重楼主,尊重你我他~

侵权删除请致信 E-Mail:207882320@qq.com