I am using Angular-Dart 4.0 with the "dart_to_js_script_rewriter" and angular transformers configured in pubspec.yaml
, but testing with Dartium. pub serve
works well except that:
I have found out that an error message such as
Failed to load source asset my_project|lib/src/foo_component.html___jb_tmp___:
Could not find asset my_project|lib/src/foo_component.html___jb_tmp___.
means that I have some kind of error in that file and it could not be compiled.
However the actual error in my template (like a tag which angular doesn't know...) or in the CSS (bad selector) is not reported in pub's output (not even with -v
switch) and also not in Dartium console (which makes sense, since the file isn't served to the Browser).
Is there a way to view such errors or do a validity check on the Angular templates and CSS?