-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#4417Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.p: toolingAffects the flutter_plugin_tools packageAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Description
If a plugin is open in VS Code with default settings while running update-excerpts, it will often failure with an unhelpful error message like:
Cannot rename file to '[...]/example/.dart_tool/pub/bin/build_runner/build_runner.dart-2.18.0-216.0.dev.snapshot', path = '[...]/example/.dart_tool/pub/incremental/build_runner/tmpOZSDBC/build_runner.dart.incremental.dill.incremental.dill' (OS Error: No such file or directory, errno = 2)
It seems to be a race with the setting to run pub get when the pubspec.yaml changes, which we change on the fly as part of that command. We should see if we can find a way to avoid the race, since having to close the project is kind of annoying. For now I'll document it in the wiki.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.p: toolingAffects the flutter_plugin_tools packageAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team