致命:无法从npm安装新依赖项的远程存储库中读取

时间:2018-05-15 17:17:50

标签: git github npm

在开发我的应用程序一段时间后,我丢失了本地文件。我决定从我的远程仓库中克隆它们并尝试使用它们,但是,由于我仍然需要实现一些想法,我想为我的项目安装新的打包。 node_modules中已经存在的所有软件包的第一个npm安装顺利进行,没有任何问题。但是如果我尝试添加新的(例如现在我想实现VX图表),它会给我这个错误:

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 ERR!
npm ERR! exited with error code: 128

由于我是这个回购的实际拥有者,我几乎不知道出了什么问题。顺便说一句,我的git user.name和email已经配置好了。

0 个答案:

没有答案