简体   繁体   中英

can't activate flutterfire_cli on linux

I have a Linux machine running ubuntu 21.10 where I installed flutter manually. and when I try to activate flutterfire_cli it shows this error output from dart pub global activate flutterfire_cli

this is the output from flutter doctor flutter doctor output

versions I'm using flutter: 3.0.3 channel stable, Dart SDK version: 2.17.5, firebase: 11.1.0

如果有人遇到这个问题,我使用之前使用 npm 的自动安装脚本安装了 firebase 并运行“dart pub cache clean”命令,我不知道哪个修复了它,但它可以工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM