【问题标题】:Firebase functions install failing due to auth由于身份验证,Firebase 功能安装失败
【发布时间】: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机器上运行,只需要管理员提示

标签: firebase npm


【解决方案1】:

我的问题是我的文本编辑器中没有提升的命令提示符。我在管理员提示符下尝试了它并立即工作。不知道为什么它会给出它所做的错误。

【讨论】:

    猜你喜欢
    • 2018-02-25
    • 1970-01-01
    • 2017-11-27
    • 1970-01-01
    • 2019-03-09
    • 1970-01-01
    • 2014-04-23
    • 2011-09-29
    相关资源
    最近更新 更多