github上拉去代码执行 npm install报错code:128


npm ERR! code 128
npm ERR! Command failed: D:\Program Files\Git\cmd\git.EXE clone --mirror -q git://github.com/adobe-webplatform/eve.git C:\Users\yantx\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-8a6c5246\.git --config core.longpaths=true
npm ERR! warning: templates not found C:\Users\yantx\AppData\Local\Temp\pacote-git-template-tmp\git-clone-c2479bd8
npm ERR! fatal: read error: Invalid argument
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\yantx\AppData\Roaming\npm-cache\_logs\2019-10-17T07_24_32_665Z-debug.log

处理方法:

执行 

git config --global http.sslverify "false"

再执行npm install 进行下载就可以了;


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM