npm ERR! code 128 npm ERR! Command failed: D:Program FilesGitcmdgit.EXE clone --mirror -q git://github.com/adobe-webplatform/eve.git C:UserAppDataRoaming 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 f this run can be found in:
解决方案:
1、本地安装git客户端,注册git用户,设置ssh等。
2、生成公钥后,登录git ,进行设置sshkey
3、执行
git config --global http.sslverify "false"
4、在执行
npm install
本文详细指导如何解决npm安装过程中遇到的128错误,涉及本地Git安装、SSH设置、http.sslverify配置,确保Git克隆顺利进行。
9046

被折叠的 条评论
为什么被折叠?



