-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class extends value undefined is not a constructor or null (@stricahq/cbors/dist/Decoder.js) #267
Comments
Any repo can be shared / specific way to reproduce? |
@sennykalidien install version |
@HinsonSIDAN I'll create a repo that will reproduce this error later today. |
I also encountered this problem and don't know how to solve it |
@HinsonSIDAN I've created a small repo with React, Webpack 5, Babel and Storybook. in ./storybook/main.js you can find the additional Webpack config needed to work with MeshJS. @jinglescode I've made sure all dependencies are up to date and installed Link to repo to reproduce issue: https://github.com/sennykalidien/meshjs-react-example Packages:
Hope this helps. |
Just done basic investigation, it should be something around package compilation in the strica dependency, so it might not be a quick fix. we will continue investigating workaround and see if there is a more universally clean fix for this. |
When using React w/ Webpack with the latest versions of meshsdk:
"@meshsdk/core": "1.6.8",
"@meshsdk/react": "1.6.8",
I get the following TypeError:
Class extends value undefined is not a constructor or null
Full error message:
TypeError: Class extends value undefined is not a constructor or null at ../../node_modules/@stricahq/cbors/dist/Decoder.js (http://localhost:6006/vendors-node_modules_meshsdk_core_dist_core_-0c8d45.iframe.bundle.js:144431:30) at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33) at fn (http://localhost:6006/runtime~main.iframe.bundle.js:434:21) at ../../node_modules/@stricahq/cbors/dist/index.js (http://localhost:6006/vendors-node_modules_meshsdk_core_dist_core_-0c8d45.iframe.bundle.js:145094:17) at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33) at fn (http://localhost:6006/runtime~main.iframe.bundle.js:434:21) at ../../node_modules/@meshsdk/core-cst/dist/index.js (http://localhost:6006/vendors-node_modules_meshsdk_core_dist_core_-0c8d45.iframe.bundle.js:40382:74) at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33) at fn (http://localhost:6006/runtime~main.iframe.bundle.js:434:21) at http://localhost:6006/vendors-node_modules_node_modules_meshsdk_core_dist_core_-0c8d45.iframe.bundle.js:76461:75
Last known versions when I didn't got this error:
"@meshsdk/core": "1.5.25",
"@meshsdk/react": "1.1.12",
The text was updated successfully, but these errors were encountered: