You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a packages/freezed/.dart_tool/package_config.json (but no <root>/.dart_tool/package_config.json). My guess is that build_runner is incorrectly trying to obtain the package_config from the root
Note
build_runner appears to be creating a .dart_tool at the root of the git repository. I don't have any pubspec at the root of the project, so there's no reason for build_runner to create one there.
Specifically, it is creating a <root>/.dart_tool/build/lock/build_runner.workspace.lock
This could be related to the fact that I have an analysis_options.yaml at the root of the project, but no associated pubspec.yaml
Context: I'm trying to use
build_runneron Freezed using Flutter's master channel.But I get the following exception:
Freezed is not using workspaces.
pwd is:
<path/to/freezed>/packages/freezedThere's a
packages/freezed/.dart_tool/package_config.json(but no<root>/.dart_tool/package_config.json). My guess is that build_runner is incorrectly trying to obtain the package_config from the rootNote
build_runner appears to be creating a
.dart_toolat the root of the git repository. I don't have any pubspec at the root of the project, so there's no reason for build_runner to create one there.Specifically, it is creating a
<root>/.dart_tool/build/lock/build_runner.workspace.lockThis could be related to the fact that I have an
analysis_options.yamlat the root of the project, but no associatedpubspec.yaml