web3-react icon indicating copy to clipboard operation
web3-react copied to clipboard

Module not found: Can't resolve 'evenemitter3'

Open Ryong-E opened this issue 2 years ago • 4 comments

wait compiling...
- error ./node_modules/@web3-react/core/dist/mocks.js:4:0
Module not found: Can't resolve 'eventemitter3'

I get an error when running yarn dev. I'm wondering what the reason might be. If I install eventemitter3 in my pakage.json, it works fine. Please let me know the answer

Ryong-E avatar May 12 '23 10:05 Ryong-E

If you run npm run dev with this state, it should work fine. Could it be a problem with yarn?

Ryong-E avatar May 12 '23 10:05 Ryong-E

the same issue using pnpm

0xUniko avatar May 18 '23 05:05 0xUniko

Same. Downgraded packages versions to 8.0.[version] and everything runs well

CopsLikeDonuts avatar May 26 '23 19:05 CopsLikeDonuts

Installing eventemitter3 seems to work 🤷

siawyoung avatar Jul 09 '23 09:07 siawyoung