【发布时间】:2020-04-29 07:25:49
【问题描述】:
我一直在尝试 npm install firebase 功能。我以前做过很多次,这是我第一次遇到这个问题。错误如下:
PS C:\Users\jacob\Desktop\sultvueweb> npm install firebase firebase/functions
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/firebase/functions.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:\Users\jacob\AppData\Roaming\npm-cache\_logs\2020-04-28T22_58_26_800Z-debug.log
我似乎无法弄清楚我需要在哪里更新我的凭据才能完成这项工作。感谢您的帮助。
【问题讨论】:
-
尝试使用 sudo 安装
-
目前在windows机器上运行,只需要管理员提示