-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
I have a hard time understanding my issue. I already experienced it in the past but cannot exactly remember how I got rid of it. Now again, I get a [vuex] unknown action type: attributes/getAttributes
error out of the blue without even having touched any store related code. Potentially I re-added my npm packages/package-lock.json before it happened but that's just a guess as I don't know anything else that may have changed "fundamentally".
loadData() {
console.log(attributesDispatch) // #1
console.log(attributesDispatch.getAttributes()) // #2
attributesDispatch.getAttributes() // #3
}
resulting in
#1
{ getAttributes: ƒ }
getAttributes: ƒ (payload)
// contents:
arguments: (...)
caller: (...)
length: 1
name: ""
prototype: {constructor: ƒ}
__proto__: ƒ ()
[[FunctionLocation]]: index.js?fb46:86
[[Scopes]]: Scopes[5]
0: Closure (ModuleBuilderImpl.dispatch) {_this: ModuleBuilderImpl, namespacedKey: "attributes/getAttributes"}
1: Closure {ModuleBuilderImpl: ƒ}
2: Closure {__extends: ƒ, __assign: ƒ, vuex_1: Module, useRootNamespace: {…}, qualifyKey: ƒ, …}
3: Closure (./node_modules/vuex-typex/dist/index.js) {__webpack_require__: ƒ, exports: {…}, module: {…}, arguments: Arguments(3)}
4: Global {postMessage: ƒ, blur: ƒ, focus: ƒ, close: ƒ, parent: Window, …}
#2
[vuex] unknown action type: attributes/getAttributes
undefined
#3
[vuex] unknown action type: attributes/getAttributes
It worked before and everything still works for my other store modules that are set up in the same way.
Anyone experiencing similar issues?