-
-
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
Error on upgrade to 5.0 in store-devtools #741
Comments
Seeing the same behavior here. |
Same here, seems it's trying to access an index that's out of bounds. Also, seems like a duplicate of #624 |
Update, I was able to fix this module by changing the order of my imports, as described here: Specifically, I got the error when I had I'm leaving this issue open, because I'm not certain this is not a bug, and because the visibility may help others who have the same issue upgrading. |
I can confirm it now works for me to! |
Unfortunately it does not work for me. The only way to not break is to put it like so:
which unfortunately does not connect the store to the dev tools at all. |
Same here. I have everything in the correct order yet still getting this error. And as @mwawrusch said. You can put it above the StoreModule however then it can't find the store at all... Could really do with a solution to this asap as I'm trying to learn how to use ngrx and the dev tools would be a great visual aid. |
@mwawrusch @WillPoulson Any of you guys importing other modules beforehand that are creating feature states? That'll make sure this breaks too. |
@wesselvdv Nope, I only have one feature module and that gets imported after the state and dev tools. |
Did someone find any solution? I'm having the same behavior in my project :-( |
This is not fixed right? any next releases have this one addressed. |
I'm submitting a...
What is the current behavior?
After upgrading to the new version of ngrx, I get the following error in my browser console:
that line in store-devtools corresponds to the second line of this function:
Expected behavior:
no Error.
Minimal reproduction of the problem with instructions:
I don't have a minimal repro yet. I assume it won't be trivial to reproduce, since it hasn't been seen before the release. I can say that our application makes extensive use of lazy loaded modules, including using
StoreModule.forFeature
in multiple modules.Without StoreDevtools, there are no problems upgrading, as far as I can tell.
Version of affected browser(s),operating system(s), npm, node and ngrx:
Chrome Version 63.0.3239.132
ngrx 5
node 9.3.0
The text was updated successfully, but these errors were encountered: