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.
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

workaround : yarn add ethers@latest
Closed it because of: https://github.com/ethereum/web3.js/pull/2000#issuecomment-455178856
Most helpful comment
I have the same issue, making my app unbuildable
workaround :
yarn add ethers@latest