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 analyze --flutter-repo should detect if user has not run flutter update-packages #37439

Closed
christopherfujino opened this issue Aug 1, 2019 · 3 comments
Labels
P3 Issues that are less important to the Flutter project tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@christopherfujino
Copy link
Member

Anecdotally, it seems very common to have flutter analyze --flutter-repo to complain about missing import targets, e.g.

Target of URI doesn't exist: 'package:flutter_test/flutter_test.dart'

It would be nice if we could do some kind of check to detect if pub get had ever been run, perhaps check for .packages file?

@christopherfujino christopherfujino added tool Affects the "flutter" command-line tool. See also t: labels. entertaining new contributor project labels Aug 1, 2019
Inconnu08 added a commit to Inconnu08/flutter that referenced this issue Sep 10, 2019
Inconnu08 added a commit to Inconnu08/flutter that referenced this issue Sep 10, 2019
Inconnu08 added a commit to Inconnu08/flutter that referenced this issue Sep 13, 2019
Inconnu08 added a commit to Inconnu08/flutter that referenced this issue Sep 30, 2019
@Hixie Hixie added this to the Future milestone Jan 9, 2020
@kf6gpe kf6gpe added the P6 label May 29, 2020
@kf6gpe kf6gpe removed this from the Future milestone Jun 1, 2020
@Hixie
Copy link
Contributor

Hixie commented Mar 15, 2023

going to close this for now, if we ever want to do it let's just do it but in practice everyone probably just has a script that runs both back to back now anyway.

@Hixie Hixie closed this as completed Mar 15, 2023
@christopherfujino
Copy link
Member Author

Turns out this was not so entertaining after all.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2023
@flutter-triage-bot flutter-triage-bot bot added P3 Issues that are less important to the Flutter project and removed P6 labels Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 Issues that are less important to the Flutter project tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
3 participants