Closed kukudedaxia closed 3 years ago
My local is normal, but the production environment is not working
I don't think you are using this library. There is no bignumber.ts file here or any error message which states "invalid BigNumber value".
From your link:
I assumed that it might happen if the bignumber.js version is deprecated to 5.0.14.
There isn't a bignumber.js version 5.0.14. Again, I don't think this library is being used.
I was normal in the test environment, but an error was reported in the production environment. I think it may be that babel did not use commonJS to transfer bignumber.
@kukudedaxia what was the issue and how did you resolve it??
should we try different ways to pass the number? https://ethereum.stackexchange.com/questions/59122/web3-js-1-0-is-throwing-big-number-error-while-transfering-tokens/59123
I don't think you are using this library. There is no bignumber.ts file here or any error message which states "invalid BigNumber value".
From your link:
I assumed that it might happen if the bignumber.js version is deprecated to 5.0.14.
There isn't a bignumber.js version 5.0.14. Again, I don't think this library is being used.
This error message is occurred from the web3.js. @MikeMcl
https://stackoverflow.com/questions/66193724/bignumber-js9-0-1-which-was-used-for-dapp-over-aws-s3-causes-an-invalid-big