mcfly
mcfly copied to clipboard
getting a hard to track 'undefined is not a function' thrown from Action.js
I'm having difficulty figuring out where I've gone wrong as the stack trace doesn't contain any of my files, and none of my files are mentioned in the error.
Can I see a code sample to help diagnose?
I'm having trouble making a minimal amount of code that demonstrates the problem, as I don't know which bit is causing it - I've been able to use mcfly elsewhere without the problem.
So it becomes a problem of trying to cut bits out of the rather large codebase I have and see when the problem begins. I'll try and figure out where the error is coming from and provide some sample code if I can
Have you tried catching the error from the action call directly?
MyActions.createAction(data)
.catch(e => console.error(e))
?
I'll give that a go