-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Angular compiler-cli issue #68
Comments
+1 |
By the way this also prevents one from using any of angulars AoT features |
I have the same issue with ionic2-RC0 (using AoT). |
Released a fix in 1.0.0-beta.2 |
Thanks a lot ! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Bug description
I localized my app using the
i18n
attribute in a html tag. When I try to executeng-xi18n
, I get the following error:This seems to be strongly related: yabab-dev/ng2-ckeditor#36
Obviously
compiler-cli
expects a.metadata.json
or something. Would be great if you could take a look at this.To reproduce:
MomentModule
in the main modulenpm install --saveDev @angular/compiler-cli
package.json
:"extract": "ng-xi18n"
app.component.html
and add thei18n
attribute somewhere on some tag. E.g:<h1>App works!</h1>
to<h1 i18n>App works!</h1>
npm run extract
The text was updated successfully, but these errors were encountered: