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
While working using Vuex, I came across an error which took me quite a chunk of time to debug and I thought this deserves a better error messages.
While using map actions ...mapActions('select'Filter) - notice the mistake with no square brackets in Listings -> Filters -> SelectFilter component. The error went up to top level component and appears as below.
vue.runtime.esm.js:587 [Vue warn]: Failed to resolve async component: function Listings() {
return __webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, /*! @/pages/Listings/index.vue */ "./app/javascript/pages/Listings/index.vue"));
}
Reason: TypeError: Cannot convert undefined or null to object
What does the proposed API look like?
Show shows error message pointing to correct file and line.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
While working using Vuex, I came across an error which took me quite a chunk of time to debug and I thought this deserves a better error messages.
While using map actions
...mapActions('select'Filter)
- notice the mistake with no square brackets inListings -> Filters -> SelectFilter
component. The error went up to top level component and appears as below.What does the proposed API look like?
Show shows error message pointing to correct file and line.
The text was updated successfully, but these errors were encountered: