ionic-team / ionic-team/ionic-storage

NullInjectorError: StaticInjectorError(AppModule)[Storage]

Offen
#255 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
456
Forks
97
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[Storage]:
StaticInjectorError(Platform: core)[Storage]:
NullInjectorError: No provider for Storage!
NullInjectorError: StaticInjectorError(AppModule)[Storage]:
StaticInjectorError(Platform: core)[Storage]:
NullInjectorError: No provider for Storage!
at NullInjector.get (core.js:855:1)
at resolveToken (core.js:17514:1)
at tryResolveToken (core.js:17440:1)
at StaticInjector.get (core.js:17266:1)
at resolveToken (core.js:17514:1)
at tryResolveToken (core.js:17440:1)
at StaticInjector.get (core.js:17266:1)
at resolveNgModuleDep (core.js:30393:1)
at NgModuleRef_.get (core.js:31578:1)
at injectInjectorOnly (core.js:734:1)
at resolvePromise (zone-evergreen.js:797:1)
at resolvePromise (zone-evergreen.js:754:1)
at zone-evergreen.js:858:1
at ZoneDelegate.invokeTask (zone-evergreen.js:391:1)
at Object.onInvokeTask (core.js:39680:1)
at ZoneDelegate.invokeTask (zone-evergreen.js:390:1)
at Zone.runTask (zone-evergreen.js:168:1)
at drainMicroTaskQueue (zone-evergreen.js:559:1)

i am face this error.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the NullInjectorError in the Angular AppModule context and inspect how Storage is provided and injected. Done means the application resolves Storage without the reported provider error; the issue does not name a source file or test to run.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.