Dart - 1.24.2
Angular - 4.0.0
Chromium - 45.0.2454.104
name: Test description: A web app that uses AngularDart Components version: 0.0.1 #homepage: https://www.example.com #author: serhii <email@example.com> environment: sdk: '>=1.24.0 <2.0.0' dependencies: angular: ^4.0.0 angular_components: ^0.8.0 dev_dependencies: browser: ^0.10.0 dart_to_js_script_rewriter: ^1.0.1 transformers: - angular: entry_points: - web/applications/courier/courier.dart - dart_to_js_script_rewriter
package:angular/src/platform/bootstrap.dart:107 Exception: Unsupported operation: Using the 'angular2' transformer is required. Please see https://webdev.dartlang.org/angular/tutorial for setup instructions, and ensure your 'pubspec.yaml' file is configured to invoke the 'angular2' transformer on your application's entry point.
If i build this - all is ok, if i serve this (
pub serve) - all is ok but i need it to work in Chromium. Please help!
Make sure your entrypoint parameter is correct (path and file):
transformers: - angular: entry_points: - web/applications/courier/courier.dart
Had the very same error after renaming my entry_point file and didn't update pubspec.yaml.