gpt4 book ai didi

即使通过 npm 安装并重新登录后,flutterfire configure 也无法正常工作

转载 作者:行者123 更新时间:2023-12-05 04:28:52 32 4
gpt4 key购买 nike

无论我尝试做什么,我都会不断收到此错误,

我已经尝试过使用“npm install -g firebase-tools”,并且“firebase projects:list”显示了我当前项目的正确列表。

寻求帮助,因为我已经在这个问题上花费了无数个小时,却无法向前迈出一步。

   FirebaseCommandException: An error occured on the 
Firebase CLI when attempting to run a command.
COMMAND: firebase --version
ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed, see https://firebase.google.com/docs/cli#install_the_firebase_cli for how to install it. ```

最佳答案

如果您已从 Windows 安装程序安装(并重命名)firebase.exe,请先将其删除。

npm install -g firebase-tools 的安装与 windows 安装程序相互冲突。

然后在运行 flutterfire configure 之前再次通过 firebase logoutfirebase login

关于即使通过 npm 安装并重新登录后,flutterfire configure 也无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72482149/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com