Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- npm ls web3
- inbox@1.0.0 /home/mdvenkatesh/Desktop/etherium solidity programes/inbox
- +-- truffle-hdwallet-provider@0.0.6
- | `-- web3@0.18.4
- `-- web3@1.0.0-beta.26
- accounts = await web3.eth.getAccounts();
- ^^^^^
- SyntaxError: await is only valid in async function
- npm remove web3@0.18.4
- npm WARN truffle-hdwallet-provider@0.0.6 requires a peer of truffle@4.x but none is installed. You must install peer dependencies yourself.
- npm WARN inbox@1.0.0 No description
- npm WARN inbox@1.0.0 No repository field.
Add Comment
Please, Sign In to add comment