【问题标题】:Firebase working in cmd but not in git bashFirebase 在 cmd 中工作,但不在 git bash 中
【发布时间】:2022-04-22 13:00:45
【问题描述】:

我正在 Visual Studio Code 上构建一个 React 项目并想使用 firebase,但是当我发出命令 firebase login 时,它显示 C:\Users\ajay\AppData\Roaming\npm/node_modules/node/bin/node: line 1: This: command not found 但是当我使用 cmd 运行相同的命令时它工作正常。

有人帮忙吗?????????

【问题讨论】:

    标签: reactjs firebase npm visual-studio-code firebase-tools


    【解决方案1】:

    尝试:

    firebase login --interactive
    

    【讨论】:

    • A code-only answer is not high quality。虽然此代码可能很有用,但您可以通过说明其工作原理、工作方式、何时应该使用以及它的局限性来改进它。请edit您的回答包括解释和相关文档的链接。
    猜你喜欢
    • 1970-01-01
    • 2022-07-05
    • 2021-10-12
    • 1970-01-01
    • 2020-01-04
    • 2019-01-19
    • 2014-03-21
    • 2016-08-14
    • 2021-08-27
    相关资源
    最近更新 更多