npm install 时候无固报错:
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
最后看到博客上面说是将github的ssh链接改为https链接,
即 运行以下命令
git config --global url."https://github.com/".insteadOf "ssh://git@github.com/"
最后重新执行npm install 命令发现可以正常执行!
简单记录!