0

With the latest version of dart (editor 24275) I keep getting an error re: dart:uri

This is placed in my built html:

import "dart:isolate" as FB;import "dart:uri" as MH;import "dart:json" as ............

Dart VM version: 0.5.20.4_r24275 (Fri Jun 21 05:02:35 2013) on "macos_ia32"

dart:uri is now in dart:core I recall.. but my html keeps getting built with this in it and so doesn't run in Chromium with the Dart VM

I've removed the out folder and rebuilt, does not resolve it.

4

2 回答 2

0

听起来您需要运行 pub update。

于 2013-06-22T01:01:43.167 回答
0

你是否已经从你的代码中删除了所有的实例import "dart:uri",无论它们是独立的 Dart 脚本还是嵌入在 HTML 模板/组件等中的脚本?

运行“重新分析源”总是好的。

于 2013-06-22T17:02:01.770 回答