You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter build is returning zero, should return not zero ? #5797
This is definitely a real bug (note that git alone exits with 1, etc.). Probably a very easy fix. I suspect the Build command shouldn't implement run(), not sure. This might also be a bug in package:args.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Hixie commentedon Sep 9, 2016
build should probably default to whatever we would build if we were using flutter run.
also, install should imply build anyway.
eseidelGoogle commentedon Feb 8, 2017
This is definitely a real bug (note that
gitalone exits with 1, etc.). Probably a very easy fix. I suspect the Build command shouldn't implement run(), not sure. This might also be a bug in package:args.Riyuzakii commentedon Feb 16, 2017
@eseidelGoogle This is my first time on github, and i would like to help fix this bug, if you would be kind enough to guide me through it.
eseidelGoogle commentedon Feb 16, 2017
@Riyuzakii https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md are possibly helpful? Also, many of our engineers are reachable via gitter.im/flutter/flutter if chat would be helpful.
Roll engine to 55b423f.
Roll engine to 55b423f.
jmagman commentedon Jan 13, 2020
See the special-casing of missing build subcommands -->
-hinstead of throwing a usage error.39efe4a#diff-328b603a46fc45c62aab3ff4458b99e1R178
4 remaining items
Exit with code 1 when calling `flutter build` without arguments.
Exit with code 1 when calling `flutter build` without arguments.
Exit with code 1 when calling `flutter build` without arguments.
Exit with code 1 when calling `flutter build` without arguments (#175900
Unify Surface code between Skwasm and CanvasKit
github-actions commentedon Dec 26, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.