-
Notifications
You must be signed in to change notification settings - Fork 417
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
Big is not a function #95
Comments
I can confirm that using package.json to go back to 5.0.3 works. |
I am assuming that for some reason your I have removed the named export from big.mjs to 'fix' it in v5.1.1. If that is not what caused the issue it must be the fact that I changed the |
I'm not totally sure, I'm importing ipfs which imports ipfs-bitswap which is doing the I don't know why webpack gets the big.mjs file (we are using |
Also using webpack. I'm importing big using |
Okay guys, let me know if the version I've just published works, v5.1.1. If not, the problem must be with the change I made to the package.json, and I'll probably roll it back. |
giving it a shot! |
@MikeMcl still seeing the issue in v5.1.1. |
I've published v5.1.2 with the Memo: |
btw, I had the same issue with webpack, even with version 5.2.2. the solution was to change the module resolve order: resolve: {
mainFields: ['main', 'module'],
extensions: ['.wasm', '.js', '.mjs', '.json'],
}, see: |
I'm seeing a new bug
fails with Big is not a function.
This is in a webpacked environment, it appears Big.Big(0) works, which combined with an update 10 hours ago that says it changed the exports, suggests the exports are not working with webpack.
The text was updated successfully, but these errors were encountered: