Can't compile with angular i18n
See original GitHub issueHello,
I tried to implement the native i18n module in my application, but when I run ng xi18n
in the terminal, I get this error:
ERROR in Unexpected value ‘NgxWigModule in C:/workspace/testApp/node_modules/ngx-wig/lib/ngx-wig.module.d.ts’ imported by the module ‘AappModule’ in C:/workspace/testApp/src/app/app.mdule.ts’. Please add a @NgModule annotation.
Any tips? thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
angular i18n translation in production not working
To instruct the AOT compiler to use your translation configuration, set the three "i18n" build configuration options in your angular.json ...
Read more >Can't use translation file for en-US: "An i18n locale ... - GitHub
I know that there are several workarounds. For example we could provide a non-existent source locale "sourceLocale": "aa-aa" and delete the ...
Read more >Angular i18n: internationalization & localization with examples
In this article you will learn with examples how to get started with Angular I18n using the built-in internationalization module.
Read more >$localize Global Import Migration - Angular
In the new i18n system, the Angular compiler tags i18n messages in the compiled code with a global $localize handler. The inlining of...
Read more >NG0201: No provider for {token} found! - Angular
To fix the error ensure that your service is registered in the list of providers of an NgModule or has the @Injectable decorator...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stevermeister I face also the same issue in this repository that I prepare for my talk https://github.com/bampakoa/ngx-wig-electron 😃
I will check it out later today and let you know on the outcome 😉
@veteran1 please update to ngx-wig@10.0.1, now it should work