Closed wojcikiewiczm closed 6 years ago
This issue report is invalid. Please open issues by providing full error message only and relevant excerpts of your code.
I provided full error. Nothing else to show. But I manage to fix it by updating spinjs from 0.4.53 to latest 0.4.95 don't know why it works only with the newest version it's weird..
@wojcikiewiczm Oh, I'm very sorry, I misread the error in your message. Glad it works for you now
@wojcikiewiczm I think it started to work for you because it might be related to this issue: https://github.com/sysgears/spinjs/issues/32
Hello, I don't know if it is bug or something else but I'm using redux-forms and I encountered weir error. I'm trying to throw error with redux-form (https://redux-form.com/7.2.3/docs/api/submissionerror.md/) but it doesnt work. So I deeply investigated it and found weird error. So as you know redux-form uses handleSubmit function. There is this line
So this submitError instanceof SubmissionError should be true but it's not. The reason why is when I inspect instanceof SubmissionError the SubmissionError throws error
message : "SubmissionError is not defined" stack : "ReferenceError: SubmissionError is not defined↵ at eval (eval at <anonymous> (http://localhost:3000/vendor_web.b9018b4e54577a2861f8_dll.js:447053:23), <anonymous>:1:1)↵ at http://localhost:3000/vendor_web.b9018b4e54577a2861f8_dll.js:447053:23↵ at <anonymous>"
SubmissionError is imported in same file like that
import SubmissionError from './SubmissionError';
And also other imports in this file are not defined. So I'm not sure but it look like webpack error or something like that.
Sorry if this error is not related to this starter kit but I think that it is webpack error.
Package.json