我该如何解决npm install上的错误代码128?

时间:2020-09-24 11:07:21

标签: javascript git npm

我尝试运行npm install,但出现错误[代码:128]。看完这篇文章之后:npm install error code 128我尝试了答案中提到的所有解决方案,例如使用最新版本的npm(npm install -g npm),或删除node_modules,npm cache clean --force以及安装npm后,但没有工作中...

我的日志文件如下:

 verbose node v8.11.3
 verbose npm  v6.14.8
 error Error while executing:
 error C:\Program Files (x86)\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/nmccready/google-maps-utility-library-v3-markerwithlabel.git
 error
 error git@github.com: Permission denied (publickey).
 error fatal: Could not read from remote repository.
 error
 error Please make sure you have the correct access rights
 error and the repository exists.
 error
 error exited with error code: 128
 verbose exit [ 1, true ]```

0 个答案:

没有答案