ngx-translate / http-loader

A loader for ngx-translate that loads translations with http calls
MIT License
191 stars 69 forks source link

Not working with Angular 9.1 #72

Closed koreem closed 4 years ago

koreem commented 4 years ago

ERROR in node_modules/@ngx-translate/http-loader/lib/http-loader.d.ts:4:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

This likely means that the library (@ngx-translate/http-loader) which declares TranslateHttpLoader has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

"@ngx-translate/core": "^12.1.2", "@ngx-translate/http-loader": "^4.0.0",

When will this be fixed?

koreem commented 4 years ago

I accidentally added TranslateHttpLoader to my imports, this was causing the error.