Uniswap / web3-react

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
https://web3-react-mu.vercel.app/
GNU General Public License v3.0
5.54k stars 1.52k forks source link

Module not found: Can't resolve 'evenemitter3' #815

Open Ryong-E opened 1 year ago

Ryong-E commented 1 year ago
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 commented 1 year ago

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

0xUniko commented 1 year ago

the same issue using pnpm

CopsLikeDonuts commented 1 year ago

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

siawyoung commented 1 year ago

Installing eventemitter3 seems to work 🤷