Skip to content

make pub-build robust to accept transformer code with bugs or errors #675

Closed
@DartBot

Description

@DartBot

<img src="https://avatars.githubusercontent.com/u/2049220?v=3" align="left" width="96" height="96"hspace="10"> Issue by sigmundch
Originally opened as dart-lang/sdk#14206


I saw this error as a result of issue #674:

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&quot;;import 'dart:async';
^'

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-not-plannedClosed as we don't intend to take action on the reported issuetype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions