flutter build <DIRECTORY> doesn't use <DIRECTORY> #11739
Labels
e1-hours
Effort: < 8 hrs
from.page-issue
Reported in a reader-filed concern
p3-low
Valid but not urgent concern. Resolve when possible. Encourage upvote to surface.
Page URL
https://docs.flutter.dev/reference/flutter-cli/
Page source
https://github.com/flutter/website/tree/main/src/content/reference/flutter-cli.md
Describe the problem
flutter create --platforms=ios my_app
flutter build ios-framework ./my_app
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Tried we also
flutter create --platforms=web my_app
flutter build web ./my_app/
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Expected fix
Either remove from documentation or fix tools to change into the directory specified.
Additional context
No response
I would like to fix this problem.
The text was updated successfully, but these errors were encountered: