Using build.dart for build Dart to Javascript is outdated.
use pub build
and pub serve
with a transformers configuration:
transformers:
- polymer:
entry_points:
- web/alarm.html
Configuring the Built-in dart2js Transformer
build.dart
and polymers builder.dart
are still supported.
I don't know why your installation can't find builder.dart
.
The file should be in your application directory packages/polmyer/builder.dart
(Polymer 0.10.0-pre.2)