-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
c: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight
Description
With the new skeleton template (#83530), we need to make sure we run flutter pub get --offline just after flutter create. This is because otherwise, flutter run will not work (see my explanation).
We already do run flutter pub get by default after project creation. https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create_base.dart#L423-L428
Looks like we might need to either wait a bit (some race condition?), or see if there's something else happening after this line that might mean we need to run it again.
I've volunteered to fix this.
Metadata
Metadata
Assignees
Labels
c: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flightA fix is in flight