错误描述:
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/adobe-webplatform/eve.git C:UserswangzheAppDataRoaming
pm-cache_cacache mpgit-clone-7f2a59c2.git --config core.longpaths=true
npm ERR! warning: templates not found in C:UserswangzheAppDataLocalTemppacote-git-template-tmpgit-clone-13eaa90b
npm ERR! fatal: read error: Invalid argument
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:UserswangzheAppDataRoaming
pm-cache_logs2021-06-15T13_41_34_594Z-debug.log
解决方案:
- 进入项目所在目录
- git config --global url."https://".insteadOf git://
- npm install