Angular: b21: dart:js_util dependecy exception

Created on 7 Sep 2016  路  10Comments  路  Source: angulardart/angular

After upgrading to b21, running the app in Dartium, the console reads:

The requested built-in library is not available on Dartium.'package:angular2/src/platform/browser/browser_adapter.dart': error: line 5 pos 1: library handler failed
import 'dart:js_util' as js_util;
^: package:angular2/src/platform/browser/browser_adapter.dart

syncing

Most helpful comment

After upgrading to the Dartium that comes with v1.20, I no longer get this issue.

Perhaps the release notes need to mention the minimum required version?

All 10 comments

After upgrading to the Dartium that comes with v1.20, I no longer get this issue.

Perhaps the release notes need to mention the minimum required version?

@kevmoo: Should we set an SDK constraint?

@matanlurey Yup. Already did it internally.

@matanlurey Yup. Already did it internally.

or not. We should.

This will be fixed when we land the commit corresponding to MOE=133018217

@frankpepermans where can i find Dartium from v1.20? I've set up dart and Dartium from dev channel but it doesn't work still 馃槶

Dartium v1.20 should be included in the latest dev channel release

What's your dart --version?

...or have you tried upgrading to Angular beta.22?

Dart VM version: 1.20.0-dev.10.1 (Thu Sep 29 09:47:27 2016) on "macos_x64"
Dartium version: 45.0.2454.104 (64-bit)

I've tried both beta.22 and beta.21

@kevmoo Thanks, i've fixed the problem. My shortcut was pointing on stable version still instead of dev.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

filiph picture filiph  路  4Comments

double11one picture double11one  路  6Comments

AndreyChernykh picture AndreyChernykh  路  4Comments

jrote1 picture jrote1  路  6Comments

Tomucha picture Tomucha  路  5Comments