You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
When bundling with webpack, I keep getting this error:
TypeError: Bignumber is not a constructor
at eval (webpack:///./node_modules/borc/src/constants.js?:62:19)
at Object../node_modules/borc/src/constants.js
at __webpack_require__
at eval (webpack:///./node_modules/borc/src/utils.js?:5:19)
at Object../node_modules/borc/src/utils.js
at __webpack_require__
at eval (webpack:///./node_modules/borc/src/decoder.js?:7:15)
at Object../node_modules/borc/src/decoder.js
at __webpack_require__
at eval (webpack:///./node_modules/borc/src/diagnose.js?:3:17)
at Object../node_modules/borc/src/diagnose.js
at __webpack_require__
at eval (webpack:///./node_modules/borc/src/index.js?:4:20)
at Object../node_modules/borc/src/index.js
at __webpack_require__
at eval (webpack:///./node_modules/ipld-dag-cbor/src/util.js?:3:14)
at Object../node_modules/ipld-dag-cbor/src/util.js
at __webpack_require__
at eval (webpack:///./node_modules/ipld-dag-cbor/src/index.js?:3:16)
at Object../node_modules/ipld-dag-cbor/src/index.js
at __webpack_require__
at eval (webpack:///./node_modules/ipld/src/index.js?:6:21)
Likely related to how default exports are handled in the dependency: dignifiedquire/borc#41
Any possible workarounds?
The text was updated successfully, but these errors were encountered:
When bundling with webpack, I keep getting this error:
Likely related to how default exports are handled in the dependency:
dignifiedquire/borc#41
Any possible workarounds?
The text was updated successfully, but these errors were encountered: