npm ERR! code 128
npm ERR! git dep preparation failed
npm ERR! command E: ode.exe C:Users92417AppDataRoaming pm ode_modules pmin pm-cli.js install --force --cache=C:Users92417AppDataLocal pm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 128
npm ERR! npm ERR! A git connection error occurred
npm ERR! npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
npm ERR! npm ERR! kex_exchange_identification: read: Connection reset by peer
npm ERR! npm ERR! Connection reset by 20.205.243.166 port 22
npm ERR! npm ERR! fatal: Could not read from remote repository.
npm ERR! npm ERR!
npm ERR! npm ERR! Please make sure you have the co
git dep preparation failed 报错
最新推荐文章于 2024-09-19 14:14:16 发布
本文主要介绍了在遇到npm安装依赖时出现'git dep preparation failed'错误的解决办法。尝试了cnpm、yarn和升级git版本无效后,通过修改git配置,将'git://'替换为'https://',成功解决了问题,使得npm安装恢复正常。
摘要由CSDN通过智能技术生成