-
Notifications
You must be signed in to change notification settings - Fork 205
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
build/serve crash: Unhandled exception: Could not import file builder.dart #995
Comments
travis reported this too: https://travis-ci.org/dart-lang/build/jobs/339725849 |
The error is caused because of import 'package:build/build.dart';
Builder builtValueBuilder(_) => null; |
Ya this is caused by a local builder defined in code_builder which we end up trying to import even though it never applies to anything. You can force code_builder version 3.0.1 in dependency_overrides to fix. We will come out with a fix soon as well. |
Fixed by dart-lang/code_builder#198, and published as If you run |
thanks @matanlurey, I am working on a fix in build_runner as well |
When trying to run command 'pub run build_runner serve' / 'pub run build_runner build',
the terminal outputs:
The issue occured after upgrading build_runner from v 0.7.9+2 to v 0.7.10.
The project doesn't contain a build.yaml or any build.dart scripts
build_runner: 0.7.10
OS: Windows 10
SDK: 2.0.0-dev.22.0
IDE: Webstorm 2017.3.4
The text was updated successfully, but these errors were encountered: