-
-
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: path.split is not a function #919
Labels
Comments
I am also having the same issue only component tree is working in the dev tools. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
5.0.1
Browser and OS info
Chrome 73
Steps to reproduce
on the chrome, throw a error is "Uncaught TypeError: path.split is not a function" when I use "registerModule" to register a nested module. Here is my code:
this.$store.registerModule(['activity', 'detail'], module);
The position of error code and stack is here:
I think the reason of this error is because of setting "path" param with a error type,
it want to get a string, but set array with slice
What is expected?
set path with a correct type
What is actually happening?
set "path" param with array, but it want to get string
The text was updated successfully, but these errors were encountered: