-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AOT: Unexpected value 'NativeScriptSvgModule'. Please add a @NgModule annotation. #46
Comments
@jnorkus same problem here |
I found how to fix it. Just build the plugin using |
@jnorkus im confused can u provide more details ? sample code |
To make it work you will have to build the plugin yourself instead of using
|
I'm afraid I don't have a solution for making it work with "@teammaestro/nativescript-svg" package unless the original developer makes changes and publishes a new version of the package. But you can always make a local copy of the plugin with the changes I have mentioned. |
@hitmacreed I have created a public package with the fix. Try this: |
Remove the |
@jnorkus works like a charm thanks |
@jnorkus PR are welcome |
@victorsosa I would submit a PR but the codebase in this repo is outdated, so I had to fork a different fork just to make it work. |
I am getting this error when building with AOT option.
The text was updated successfully, but these errors were encountered: