Open mulander opened 10 years ago
I have the same problem. Some getters are found and others not. It seems it depends on the getter name somehow.
@rkirov can you please point to more info on transformers and why this issue happens for folks? This seems to be a common area of confusion.
Here is a quick overview of the angular transformer - https://github.com/angular/angular.dart/wiki/The-Angular-Transformer.
Sounds like the expression extractor transformer is not successful for you. Do you see errors of the type Unable to find ... at ...
during pub build
or pub serve
?
Try rewriting your templateUrls to package absolute ones like this packages/my_package/path_to_my_template
.
Deploying an angular app as a statically served set of files from anywhere except the root url (http://host/ vs http://host/appname/) causes AngularDart to spew exceptions both when run from Dartium & from dart2js - both in debug and release modes).
The application uses:
None of the listed exceptions occur if the application is run from the root URL (in all modes, including dart2js).
I noticed that 'Missing getter: (o) => o.myapp' the part o.myapp will always match the folder name so:
Even with the exceptions:
The following exceptions are raised in case of my app: