Closed ruchitp closed 4 years ago
I tried addressing the error message directly by adding the generic type argument, but I'm not sure if it'll fix Ivy compatibility or not. I don't really test it with Ivy since I never actually tried to get it to work with the minimal manually demo setup I have (rather than relying on the Angular CLI, which came around way later).
Let me know if v9.4.0 works.
I solved this by rm -rf node_modules
and then doing a fresh npm i
. When I recompiled and launched the app, the error was gone.
Hi @arkon ,
I am getting below error with Angular 9.1 (Ivy enabled).
Below Error with forRoot().
Below Error Without forRoot() This likely means that the library (ng-sidebar) which declares SidebarModule 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.