-
-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Got zsh error when running fluttergen command #584
Comments
Did you use a correct architecture version of Dart SDK? |
Were you able to solve the problem ? I have same issue, running intel Mac and getting the same error, flutter and dart are working perfectly fine |
Where did you install |
Installed it using Homebrew, the dart pub method didn't work (it would activate it but I can't run fluttergen command (I get no such command error) |
I saw the same issue using the Homebrew version on my Intel Mac.
You need to set up the PATH for the Pub cache. https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path |
Thank you, after adding pub cache to PATH it works now |
Is there an existing issue for this?
Version
5.8.0
Command type
Dart command
What happened?
After I installed fluttergen, I got error when running the command in terminal. It's an zsh issue. I already searched the issue and the answers all recommend me to install Rosetta, which isn't viable because I use an Intel Mac, not an M1/M2 Mac
Relevant a pubspec.yaml.
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: