vue-element-admin 的 npm install 报错npm ERR code 128 npm ERR An unknown git error occurred
npm ERR! code 128npm ERR! An unknown git error occurrednpm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.gitnpm ERR! git@github.com: Permission denied (pub
·
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
npm ERR! git@github.com: Permission denied (publickey).
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 verb exit 128
npm verb unfinished npm timer reify:loadTrees 1649210959931
npm verb code 128
解决方案:
先
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
再
npm install
更多推荐
已为社区贡献1条内容
所有评论(0)