You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @ngrx/* package(s) are the source of the bug?
store
Minimal reproduction of the bug/regression with instructions
Used "ng update" to update Angular 18 to 19, and NGRX from 18 to 19.
Still working in dev mode, but breaks in prod mode.
(Also breaks when changing "optimization": false to "optimazation": true in angular.sjon.)
Our logging shows us the following error:
{"name":"NullInjectorError","ngTempTokenPath":["InjectionToken @ngrx/store Root Store Provider","_2","c8","c8"]}
Unfortunately, after fighting with this a couple of days, I haven't been able to find the cause.
Expected behavior
ng update 18 -> 19 should not break the app.
Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
sebsoftpak
changed the title
Angular 19: NullInjectorError - InjectionToken @ngrx/store Root Store Provider
After ng upgrade 18->19: NullInjectorError - InjectionToken @ngrx/store Root Store Provider
Dec 24, 2024
Which @ngrx/* package(s) are the source of the bug?
store
Minimal reproduction of the bug/regression with instructions
Used "ng update" to update Angular 18 to 19, and NGRX from 18 to 19.
Still working in dev mode, but breaks in prod mode.
(Also breaks when changing "optimization": false to "optimazation": true in angular.sjon.)
Our logging shows us the following error:
{"name":"NullInjectorError","ngTempTokenPath":["InjectionToken @ngrx/store Root Store Provider","_2","c8","c8"]}
Unfortunately, after fighting with this a couple of days, I haven't been able to find the cause.
Expected behavior
ng update 18 -> 19 should not break the app.
Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)
Chrome, MacOS 15.1.1, Node 22.12.0, NPM 11.0.0
├── @angular-devkit/[email protected]
├── @angular-eslint/[email protected]
├── @angular-eslint/[email protected]
├── @angular-eslint/[email protected]
├── @angular-eslint/[email protected]
├── @angular-eslint/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @angular/[email protected]
├── @capacitor-community/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capacitor/[email protected]
├── @capawesome/[email protected]
├── @fortawesome/[email protected]
├── @fortawesome/[email protected]
├── @fortawesome/[email protected]
├── @fortawesome/[email protected]
├── @fortawesome/[email protected]
├── @ionic/[email protected]
├── @ionic/[email protected]
├── @ngrx/[email protected]
├── @ngrx/[email protected]
├── @ngrx/[email protected]
├── @ngrx/[email protected]
├── @ngrx/[email protected]
├── @ngrx/[email protected]
├── @ngrx/[email protected]
├── @ngx-translate/[email protected]
├── @sentry/[email protected]
├── @softpak/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @typescript-eslint/[email protected]
├── @typescript-eslint/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Other information
No response
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: