Web3.js: [web3-eth-abi] Update ethers to v4.0.20

Created on 8 Jan 2019  路  7Comments  路  Source: ChainSafe/web3.js

Package ethers (v4.0.0-beta.1) gets installed as a dependency of web3-eth-abi (v1.0.0-beta.37), which leads to the xmlhttprequest complaint and basically makes truffle-contract and other packages unusable.
This could probably be fixed with updating ethers to v4.0.20.

See trufflesuite/truffle#1614 and trufflesuite/truffle#1617.

bug

Most helpful comment

I have the same issue, making my app unbuildable

capture d ecran 2019-01-17 a 10 51 22

workaround : yarn add ethers@latest

All 7 comments

Hay @filips123, Just fixed this in the PR #2000. Thanks!

When will it be merged and released?

In the next 2-3 weeks, I'm currently testing anything against Geth and Parity.

I will probably need this fix before that. Is it possible to merge and release it faster in different PR?

@nivida Actually, ethers was recently updated to 4.0.21 so it is a bit outdated. Why not require it with ^4.0.0 or something like this so it will be always updated?

I have the same issue, making my app unbuildable

capture d ecran 2019-01-17 a 10 51 22

workaround : yarn add ethers@latest

Was this page helpful?
0 / 5 - 0 ratings