Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

The built-in library 'dart:html' is not available on the stand-alone VM. #613

@LSMetag

Description

@LSMetag

I recently migrated from Polymer 0.16+3 to 1.0.0-rc.2 in my Dart project.
I am using Dart 1.13.0-dev.5.0.

When I try to build the project I get these errors in various polymer, polymer_interop and webcomponent files.

"The built-in library 'dart:html' is not available on the stand-alone VM.'
"The built-in library 'dart:js' is not available on the stand-alone VM."

It seems to compile when I remove these references.

Here is my pubspec.yaml file :

name: CVWebkit
description: An online jobboard for employers and contestants
dependencies:
dart_config: any
browser_detect: any
sass : any
polymer:
git:
url: https://github.com/dart-lang/polymer-dart.git
ref: 1.0.0-rc.2
reflectable: 0.2.1
web_components: ^0.12.0

dependency_overrides:
polymer_interop:
git:
ref: 0.2.0-rc1
url: https://github.com/dart-lang/polymer_interop.git
reflectable: 0.2.1

transformers:

  • polymer:
    entry_points: web/cvwebkit.html
  • reflectable:
    entry_points: web/cvwebkit.html
  • $dart2js:
    minify: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions