鍍金池/ 問答/HTML/ 最近npm install不停提示github login

最近npm install不停提示github login

webpack4生成的項(xiàng)目 之前是可以直接npm install的,

今天打開這個(gè)項(xiàng)目重新npm install總彈出提示圖片描述

提示登錄github,可我登錄了還是npm install不了,用window原始的命令行工具也提示登錄。

C:UsersAdministratorDesktopTms>npm install
npm ERR! Error while executing:
npm ERR! C:Program FilesGitcmdgit.EXE ls-remote -h -t ssh://git@github.com/w
ebpack-contrib/html-webpack-plugin.git
npm ERR!
npm ERR! Host key verification failed.
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

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersAdministratorAppDataRoamingnpm-cache_logs2018-04-13T0
7_32_28_727Z-debug.log

什么情況,這是我的依賴包圖片描述

是哪個(gè)依賴包需要github ssh權(quán)限才能下載嗎?

回答
編輯回答
喵小咪

clipboard.png

這個(gè)吧。

而且報(bào)錯(cuò)信息不是很明顯嗎?

npm ERR! C:Program FilesGitcmdgit.EXE ls-remote -h -t ssh://git@github.com/w
ebpack-contrib/html-webpack-plugin.git
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
2017年9月3日 19:11