按照以下说明操作后:
https://github.com/rikulo/bootjack
当我尝试从 Dart 编辑器“生成 js”时,我收到错误消息:
[Info from Dart2JS]:
Compiling StratoIde|web/ide.dart...
[Error from Dart2JS on StratoIde|web/ide.dart]:
packages\bootjack\bootjack.dart:8:8:
Can't read 'package:rikulo_commons/html.dart' (Could not find asset rikulo_commons|lib/html.dart.).
import 'package:rikulo_commons/html.dart';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:01.048060 to compile StratoIde|web/ide.dart.
[Info from Dart2JS]:
Compiling StratoIde|web/index.dart...
[Error from Dart2JS on StratoIde|web/index.dart]:
packages\bootjack\bootjack.dart:8:8:
Can't read 'package:rikulo_commons/html.dart' (Could not find asset rikulo_commons|lib/html.dart.).
import 'package:rikulo_commons/html.dart';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Info from Dart2JS]:
Took 0:00:00.414024 to compile StratoIde|web/index.dart.
Build failed.