"Unexpected value 'TranslateModule' imported by the module 'SharedModule'" Universal Starter
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
Please tell us about your environment:
-
ng2-translate version: 6.0.0-beta.1
-
Angular version: 2.4.6
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Unexpected value 'TranslateModule' imported by the module ...
I got the same issue. I was missing the below config in jest.config.js file. globalSetup: 'jest-preset-angular/global-setup'.
Read more >"Unexpected value 'TranslateModule' imported by the module ...
"Unexpected value 'TranslateModule' imported by the module 'SharedModule'" Universal Starter.
Read more >@ngx-translate/core NPM | npm.io
1. Import the TranslateModule : Finally, you can use ngx-translate in your Angular project. You have to import TranslateModule.forRoot() in the root NgModule...
Read more >Unexpected value 'TranslateModule' imported by the module ...
But I get this error: Unexpected value 'TranslateModule' imported by the module 'DynamicTestModule'. Please add an @NgModule annotation.
Read more >angular/angular - Gitter
@losorio2015_twitter https://github.com/angular/universal-starter ... Error: Unexpected value '[object Object]' imported by the module ...
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
I solve it just add @ngx- to includeClientPackages
like in this repo https://github.com/angular/universal-starter/blob/master/webpack.config.ts#L88
@markelarizaga cant have service side code for client side render.