-
Notifications
You must be signed in to change notification settings - Fork 1.7k
make pub-build robust to accept transformer code with bugs or errors #14206
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
Comments
Removed Priority-Unassigned label. |
Marked this as being blocked by #19163. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
I'm going to close this because we don't have any plans to change this behavior any time soon. If we do eventually support reloading transformers, this will get fixed implicitly by that. Added NotPlanned label. |
This issue has been moved to dart-lang/pub#675. |
I saw this error as a result of issue #14205:
Because pub tries to load 'polymer.dart', the vm gives this error and pub-build fails immediately:
IsolateSpawnException: 'The built-in library 'dart:html' is not available on the stand-alone VM.
'http://127.0.0.1:45866/packages/polymer/polymer.dart': Error: line 44 pos 1: library handler failed
import 'dart:html';
^
'file:///tmp/pub_DuxgFe/runInIsolate.dart': Error: line 1 pos 1: library handler failed
import "http://127.0.0.1:45866/packages/polymer/polymer.dart";import 'dart:async';
^'
The text was updated successfully, but these errors were encountered: