question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't compile with angular i18n

See original GitHub issue

Hello, 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:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bampakoacommented, Aug 3, 2020

@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 😉

0reactions
stevermeistercommented, Aug 4, 2020

@veteran1 please update to ngx-wig@10.0.1, now it should work

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found