小编Nik*_*Nik的帖子

NPM 安装错误本地存储库的权限被拒绝(公钥)

在我的公司 github 中获取本地存储库的权限被拒绝错误,我可以成功克隆它,但是在安装 NPM 时出现错误:

npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\bin\git.EXE ls-remote -h -t git@<repo path and name>
npm ERR!
npm ERR! 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 ERR!
npm ERR! exited with error code: 128
Run Code Online (Sandbox Code Playgroud)

node.js npm-install

15
推荐指数
2
解决办法
2万
查看次数

标签 统计

node.js ×1

npm-install ×1