update to 5.0.3 -- `Right-hand side of 'instanceof' is not callable`
See original GitHub issuehi there, the recent update from 5.0.2 to 5.0.3 broke the build on a project of mine.
here’s the error that we’re getting:
webpack-bundle-0674cf6….js:8 Uncaught TypeError: Right-hand side of 'instanceof' is not callable
at o (webpack-bundle-0674cf6….js:8)
at Object.run (webpack-bundle-0674cf6….js:8)
at c.initSelector (webpack-bundle-0674cf6….js:8)
at new c (webpack-bundle-0674cf6….js:8)
at f._constructComponentWithoutOwner (webpack-bundle-0674cf6….js:7)
at f._constructComponent (webpack-bundle-0674cf6….js:7)
at f.mountComponent (webpack-bundle-0674cf6….js:7)
at Object.mountComponent (webpack-bundle-0674cf6….js:5)
at f.performInitialMount (webpack-bundle-0674cf6….js:7)
at f.mountComponent (webpack-bundle-0674cf6….js:7)
apologies for the lack of detail, let me know if there’s anything i can do to clarify. thx!
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Right-hand side of instanceof is not callable - Stack Overflow
instanceof is used to see if an object is an instance of a specific constructor (ex: banned instanceof Array ). If you just...
Read more >TypeError: invalid 'instanceof' operand 'x' - JavaScript | MDN
The JavaScript exception "invalid 'instanceof' operand" occurs when the right-hand side operands of the instanceof operator isn't used with ...
Read more >TinyMCE 5.9 | Docs
“Right-hand side of 'instanceof' is not callable” or “Event is not a function. (evaluating 'e instanceof Event')” exceptions.
Read more >Right-hand side of 'instanceof' is not callable - Moralis Forum
I am getting a following error: TypeError: Right-hand side of 'instanceof' is not callable. My deps: "dependencies": { "moralis": "1.11.
Read more >Error: Right-hand side of 'instanceof' is not callable | Vue Forums
We are glad to announce that our weekly patch release (19.4.47v) is rolled out. The “Compilation issue while using the Vue-class-component with Vue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We just ran into this error, which appears to be from a bad minification of redux. In our case, it was the result of uglifying already minified code.
This piece of code:
minified to:
and then on the second pass of uglifying became:
…
r
invar n = r(t.getState(), e);
, which should have been the same variable ase
in the top-level function now pointed to this function:which is this function:
I don’t understand how the minifier could mangle this so badly, but it caused a completely random call into
_classCallCheck
which is what was throwing our error. Removing the second uglify fixed our problem.@okmttdhr
ey, we just locked react-redux to
5.0.2
and moved on.wish i could be more helpful!