I'm VERY new to the Mac OS (I'm running macOS Monterey v12.4) on an M1 Macbook Pro. I have Flutter installed and have built a few sandbox apps with this framework.
I'm trying to build a web application with Flutter and Cloud Firestore and thought it best to use the flutterfire_cli to do some of the configurations but I'm stuck trying to run a specific setup command.
The command that I'm trying to run is "dart pub global activate flutterfire_cli" from a terminal. The output that I get is the following when I run this (the error is at the bottom):
- ansi_styles 0.3.2+1s...
- args 2.3.1
- async 2.9.0
- ci 0.1.0
- cli_util 0.3.5
- collection 1.16.0
- dart_console 1.0.0
- deep_pick 0.10.0
- ffi 1.2.1 (2.0.0 available)
- file 6.1.2
- flutterfire_cli 0.2.2+2
- http 0.13.4
- http_parser 4.0.1
- interact 2.1.1
- json_annotation 4.5.0
- matcher 0.12.11
- meta 1.8.0
- path 1.8.2
- petitparser 5.0.0
- platform 3.1.0
- process 4.2.4
- pub_semver 2.1.1
- pub_updater 0.2.2
- pubspec 2.2.0
- quiver 3.1.0
- source_span 1.9.0
- stack_trace 1.10.0
- string_scanner 1.1.1
- term_glyph 1.2.0
- tint 2.0.0
- typed_data 1.3.1
- uri 1.0.0
- win32 2.6.1 (2.7.0 available)
- xml 5.4.1 (6.1.0 available)
- yaml 3.1.1
- Could not find a file named "pubspec.yaml" in "/Users/myusername/.pub-cache/hosted/pub.dartlang.org/flutterfire_cli-0.2.2+2".
When I try to run the next command according to the documentation here: https://firebase.google.com/docs/flutter/setup?platform=web
That command is "flutterfire configure" from within Android studio I get the following error: "zsh: command not found: flutterfire"
I'm running node version "v16.15.1" and nvm version "0.39.1" with npm version "8.12.1"
Has anyone run into this?
Thanks!