Open heyAyushh opened 2 months ago
Can you give a minimal reproducible example please?
Try this codesandbox link to the nodejs project
pnpm i anchor-bankrun solana-bankrun
is just did npx create-solana-dapp and added bankrun now i get :
npm install anchor-bankrun
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: anchor-bankrun@0.4.1 npm ERR! Found: @solana/web3.js@1.95.3 npm ERR! node_modules/@solana/web3.js npm ERR! @solana/web3.js@"^1.95.1" from the root project npm ERR! @solana/web3.js@"^1.68.0" from @coral-xyz/anchor@0.30.1 npm ERR! node_modules/@coral-xyz/anchor
i redid it using pnpm i and it works go figure
This happens when you install solana-bankrun and anchor-bankrun at the same time.