简体   繁体   中英

flutterfire configure doesn't work in the terminal

While attempting to initialize firebase in my project I constantly had an information in my terminal: 'flutterfire configure - command not found'. I followed every step from the documentation and added a new path as my terminal suggested. The only thing that worked for me was typing in my project terminal:

dart pub global run flutterfire_cli:flutterfire configure

instead of flutterfire configure. For anybody having the same issue I suggest to try out this one, it might help.

Flutterfire is not in your PATH. Activate it globally, then flutterfire configure will work. You can do this by replacing the run with activate: dart pub global activate flutterfire_cli.

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