ngx-logger is not compatible with Ivy
See original GitHub issueWe need to make ngx-logger compatible with Ivy
Documentation is here : https://angular.io/guide/creating-libraries#ivy-libraries
Some errors that were sent :
ngx-logger [es2015/esm2015] (git+https://github.com/dbfannin/ngx-logger.git) Encourage the library authors to publish an Ivy distribution.
and
Error: Failed to compile entry-point ngx-logger (
es2015
as esm2015) due to compilation errors: …/…/…/node_modules/@angular/common/common.d.ts:114:22 - error NG6002: Appears in the NgModule.imports of LoggerModule, but could not be resolved to an NgModule class.This likely means that the library (@angular/common) which declares CommonModule 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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top GitHub Comments
Just published 5.0.4 that fixes the issue
I think you should remove enableIvy and then the partial should be all it needs