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

npm ERR! code 128
npm ERR! Command failed: D:Program FilesGitcmdgit.EXE clone --mirror -q git://github.com/adobe-webplatform/eve.git C:UsersyantxAppDataRoaming
pm-cache\_cacache	mpgit-clone-8a6c5246.git --config core.longpaths=true
npm ERR! warning: templates not found C:UsersyantxAppDataLocalTemppacote-git-template-tmpgit-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:UsersyantxAppDataRoaming
pm-cache\_logs2019-10-17T07_24_32_665Z-debug.log

处理方法:

执行 

git config --global http.sslverify "false"

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

原文地址:https://www.cnblogs.com/minutes/p/11692474.html