Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 致命:无法从npm安装新依赖项上的远程存储库读取_Git_Github_Npm - Fatal编程技术网

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

Git 致命:无法从npm安装新依赖项上的远程存储库读取,git,github,npm,Git,Github,Npm,在开发我的应用程序一段时间后,我丢失了本地文件。我决定从我的远程回购中克隆它们,并尝试对它们进行处理,然而,由于我仍然需要实现一些想法,我想为我的项目安装新的打包软件。 node_模块中已经出现的所有软件包的第一次npm安装进展顺利,没有任何问题。但是,如果我尝试添加新图表(例如,现在我想实现VX图表),则会出现以下错误: git@github.com: Permission denied (publickey). npm ERR! fatal: Could not read from remo

在开发我的应用程序一段时间后,我丢失了本地文件。我决定从我的远程回购中克隆它们,并尝试对它们进行处理,然而,由于我仍然需要实现一些想法,我想为我的项目安装新的打包软件。 node_模块中已经出现的所有软件包的第一次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和电子邮件都已配置。

您有公钥吗?是否为存储库配置了公钥?我没有配置公钥,但是在配置后(ssh add-l命令给出了预期的结果),这并没有解决我的问题,您会收到相同的错误?并且它也被添加到我的github帐户设置中,@muecasys,完全相同