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
Look inside console to the error message provided.
To fix the problem, include brackets inside the mapState statement on line 97 in the HelloWorld.vue file.
What is expected?
It was expected that an error message would state that the parameter for the mapState function was invalid in 'HelloWorld.vue'.
What is actually happening?
This error message is returned:
[Vue warn]: Failed to resolve async component: function HelloWorld() {
return _promise2.default.resolve().then(function () {
return require("./components/HelloWorld");
});
}
Reason: TypeError: Cannot convert undefined or null to object
I just thought that this was a difficult error to track, because the error message provided did not point towards the actual error. If it is possible to make the error message more precise, it would be great.
The text was updated successfully, but these errors were encountered:
@ktsn Current implementation is confident that either an array or object is always passed, which explains the cryptic error & message: it's not stop earlier. What would you expect to be the behavior when you pass something other than that?
Version
3.0.1
Reproduction link
https://codesandbox.io/s/048lw4q59n
Steps to reproduce
To fix the problem, include brackets inside the mapState statement on line 97 in the HelloWorld.vue file.
What is expected?
It was expected that an error message would state that the parameter for the mapState function was invalid in 'HelloWorld.vue'.
What is actually happening?
This error message is returned:
I just thought that this was a difficult error to track, because the error message provided did not point towards the actual error. If it is possible to make the error message more precise, it would be great.
The text was updated successfully, but these errors were encountered: