-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Uncaught TypeError: Cannot set property 'itx' of undefined #929
Labels
Comments
yep. same here |
@znck Working re-producible example: https://3yn2988r01.codesandbox.io/ If you want to see the code: https://codesandbox.io/s/3yn2988r01?fontsize=14 |
Problem is with module with state returned form function: OK
NOK:
Result: state representation in devtools is missing modules. When I'm trying to load state:
I thinik is realated to #922 Another case, when module has no state defined:
|
sp1ker
pushed a commit
to sp1ker/vue-devtools
that referenced
this issue
Aug 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
5.0.3
Browser and OS info
Chrome 73 / macOS 10.14.3
Steps to reproduce
On the Chrome, it throws an error "Uncaught TypeError: Cannot set property 'itx' of undefined" when I use "registerModule" to dynamically register a nested VUEX module.
Here is our code:
The position of error code and stack is here:
https://www.dropbox.com/s/kqlahuin84820ay/stacktrace_1.png?dl=0
https://www.dropbox.com/s/howoq8zbrk9da56/stacktrace_2.png?dl=0
What is expected?
The 'object' should not be undefined.
What is actually happening?
Initially the 'object' is the parentState but after the 'while' loop it becomes obviously undefined, because property 'itx' is not a property of parentState.
The text was updated successfully, but these errors were encountered: