Hi, got following error after updating to 5.0.8:
ERROR in node_modules/ethers/lib/utils.d.ts:21:10 - error TS2305: Module '"../../@ethersproject/web/lib"' has no exported member '_fetchData'.
To fix this had to deletenode_modules & also yarn.lock file. but I think Its not the best solution.
So if ethers 5.0.8 requires at least 5.0.3 of '@ethersproject/web' & then ethers package.json(https://github.com/ethers-io/ethers.js/blob/master/packages/ethers/package.json) should have ^5.0.3 version for @ethersproject/web, instead ^5.0.0, as it is incompatible with older 5.x versions.
Oh! Apologies for the inconvenience. Yes, if you reinstall the modules from scratch (remove the lock and node_modules files), things will work out.
I will be running the lock-versions script to fix this in the next release. I will also try adding some tests to better catch these mismatch issues during the CI.
This should be fixed now in 5.0.9.
I'll be updating the lock-versions script next time I make a change like this to prevent this from happening again. Let me know if you still have any issues.
Thanks! :)