Closed summerbasehart closed 1 year ago
Had the same error. I'm running Angular 11. Documentation says that the library supports 6+.
I was having the same problem here. Running Angular 11.2.3 and ngx-logger 5.0.9, so I installed the version 4.3.3 and the problem was solved.
P.S.: I chose the version 4.3.3 based on the number of the downloads on the npm page
Thanks for sharing your solution
Documentation might not be up to date about versions that are supported
Documentation (on github, npmjs will be updated when next publish happens) is updated with a warning about this topic, ideally we should have a "matching table" for versions
Closing this issue, we are now using #308 to list all dependencies, once we have the full list it will be included in the doc
Hello,
Trying to do a build in angular and I am getting some core dependency errors
Error: ./node_modules/ngx-logger/fesm2015/ngx-logger.mjs 900:58-80 Can't import the named export 'ɵɵngDeclareInjector' from non EcmaScript module (only default export is available)
Error: ./node_modules/ngx-logger/fesm2015/ngx-logger.mjs 899:58-80 Can't import the named export 'ɵɵngDeclareNgModule' from non EcmaScript module (only default export is available)
I tried updating core and angular cli, but I still have the errors