flashbots / ethers-provider-flashbots-bundle

Flashbots provider for ethers.js
546 stars 215 forks source link

Can not install ethers-provider-flashbots-bundle due to the version conflict #124

Open triplenick opened 3 months ago

triplenick commented 3 months ago

npm install --save @flashbots/ethers-provider-bundle

causes the error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: evm_dev@1.0.0
npm ERR! Found: ethers@6.13.1
npm ERR! node_modules/ethers
npm ERR!   ethers@"^6.13.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer ethers@"6.7.1" from @flashbots/ethers-provider-bundle@1.0.0   
npm ERR! node_modules/@flashbots/ethers-provider-bundle
npm ERR!   @flashbots/ethers-provider-bundle@"*" from the root project      
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resoluti
on.
triplenick commented 3 months ago

Reverted to ethers 6.7.1, but still wondering why it doesnt work with the newer versions