-
Notifications
You must be signed in to change notification settings - Fork 5k
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
error TS2305: Module ''bn.js'' has no exported member 'BigNumber' #1596
Comments
Looks like this was solved here: 0xProject/0x-starter-project#11 (comment) |
@freeatnet It isn't clear to me what the resolution is besides trying to change web3 version or delete some relative folder. Can you elaborate? I am using |
Following up, it looks like the suggestion is to delete the type definitions from |
@emkman There are now proper type definitions available through DefinitelyTyped (DefinitelyTyped/DefinitelyTyped#26031), along with an guide to using them here: #1658 (comment). There's also a request to remove type definitions from web3.js itself: #1658. |
Version 0.20.x got his last maintenance release with v0.20.7. Please update your code to the latest 1.0 version of Web3.js. Further details about the current project state are explained in the release announcement of version 1.0.0-beta.38. |
I am following this tutorial: https://0xproject.com/wiki#Create,-Validate,-Fill-Order
When I run
I get this error
package.json
The text was updated successfully, but these errors were encountered: