Hello, everyone:
I’m trying to serve my Angular application, which has routing and Firebase authentication, but I’m getting this error:
Error: node_modules/@angular/fire/auth/auth.d.ts:15: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 (@angular/fire/auth) which declares AngularFireAuth 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.
I don’t know how to solve this, since I have tried updating the library (actually, I tried updating all of them) without success. (sudo npm update).
Do you have any ideas?
Thank you very much in advance.