github 上拉取项目npm install 时报128错误

错误信息:
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/nhn/raphael.git
npm ERR! ssh: connect to host github.com port 22: Permission denied
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xxx\AppData\Local\npm-cache_logs\2022-xx-xxT06_43_48_525Z-debug-0.log

没有什么花里胡哨的,关掉火绒,直接OK。

你可能感兴趣的:(npm,github,node.js)