Skip to content
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

flutter build <DIRECTORY> doesn't use <DIRECTORY> #11739

Open
1 task
zzzjim opened this issue Feb 24, 2025 · 0 comments
Open
1 task

flutter build <DIRECTORY> doesn't use <DIRECTORY> #11739

zzzjim opened this issue Feb 24, 2025 · 0 comments
Labels
from.page-issue Reported in a reader-filed concern

Comments

@zzzjim
Copy link

zzzjim commented Feb 24, 2025

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.

  • I will try and fix this problem on docs.flutter.dev.
@zzzjim zzzjim added the from.page-issue Reported in a reader-filed concern label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from.page-issue Reported in a reader-filed concern
Projects
None yet
Development

No branches or pull requests

1 participant