-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No provider for Actions! #187
Comments
You need to do StoreModule.forRoot before you do EffectsModule - I think there's already a bug for it. 184 |
Closed as duplicate of #184 |
so huge efforts just to bootstrap properly effects with ngUpgrade, looks not very natural. |
Just as a notice for newcomers: https://ngrx.io/guide/effects
|
I confirm |
I'm submitting a...
What is the current behavior?
error in browser console:
Unhandled Promise rejection: No provider for Actions! ; Zone: <root> ; Task: Promise.then ; Value: Error: No provider for Actions!
Expected behavior:
It works
Minimal reproduction of the problem with instructions:
Version of affected browser(s),operating system(s), npm, node and ngrx:
ngrx/store 4.0.0
ngrx/effects 4.01
angular 4.1.3
rxjs 5.4.1
zone.js 0.8.14
Other information:
I have left out parts of the code that I felt were superfluous. If you need anything further I will do my best to provide without a wall of code.
💗 ngrx? Please consider supporting our collective: 👉 donate
The text was updated successfully, but these errors were encountered: