-
Notifications
You must be signed in to change notification settings - Fork 37
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 TypeError: web3_1.default is not a constructor #22
Comments
This seemed to solve my issue for now: |
@agrofcsik the solution at https://github.com/ethereum/web3.js/issues/1155
|
I ended up giving up and going with: angular4-truffle-starter-dapp which seems to work better. |
when changing from: to: I get a different error afterwards:
Which seems to be fixed by changing the line: to: |
ERROR TypeError: web3_1.default is not a constructor It works correctly for me. |
On:
this.web3 = new Web3(window.web3.currentProvider);
in web3.service.ts
I'm getting the following:
ERROR TypeError: web3_1.default is not a constructor
The text was updated successfully, but these errors were encountered: