ionic-team / ionic-team/ionic-storage
Angular 16 upgrading
- Vorherrschende Sprache
- TypeScript
- Sterne
- 456
- Forks
- 97
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
After Angular upgrading from 15 to 16.0.0 I'm getting the following error on app serve:
error NG6002: 'IonicStorageModule' does not appear to be an NgModule class. ... node_modules/@ionic/storage-angular/index.d.ts:6:22 [ng] 6 export declare class IonicStorageModule { [ng] ~~~~~~~~~~~~~~~~~~ [ng] This likely means that the library (@ionic/storage-angular) which declares IonicStorageModule 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
"@ionic/angular": "^7.0.5",
"@ionic/storage-angular": "^3.0.6",
"@capacitor/app": "5.0.0",
"@capacitor/browser": "5.0.0",
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0",
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
IonicModule.forRoot(),
IonicStorageModule.forRoot({
name: ...
}),
AppRoutingModule,
...
],
providers: [
...
],
bootstrap: [AppComponent],
})
even though version changed it didnt fix.
Beitragsleitfaden
Rechercherichtung
Reproduziere den app-serve-Fehler mit den aufgeführten Versionen von Angular 16, @ionic/angular und @ionic/storage-angular und untersuche anschließend node_modules/@ionic/storage-angular/index.d.ts sowie die gezeigten NgModule-Imports. Die Aufgabe ist abgeschlossen, wenn eine unterstützte Angular/Ivy-kompatible Abhängigkeit oder eine bestätigte Integrationskorrektur identifiziert und das Ergebnis dokumentiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100