kevinheavey / anchor-bankrun

An Anchor wrapper for solana-bankrun
MIT License
22 stars 5 forks source link

solana-bankrun dependency is mismatched and/or outdated. #20

Open heyAyushh opened 3 weeks ago

heyAyushh commented 3 weeks ago

This happens when you install solana-bankrun and anchor-bankrun at the same time.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @solana-developers/helpers@2.5.0
npm ERR! Found: solana-bankrun@0.3.0
npm ERR! node_modules/solana-bankrun
npm ERR!   solana-bankrun@"^0.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer solana-bankrun@"^0.2.0" from anchor-bankrun@0.4.0
npm ERR! node_modules/anchor-bankrun
npm ERR!   anchor-bankrun@"^0.4.0" from the root project
kevinheavey commented 3 weeks ago

Can you give a minimal reproducible example please?

heyAyushh commented 3 weeks ago

Try this codesandbox link to the nodejs project