tools icon indicating copy to clipboard operation
tools copied to clipboard

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Open matthewlilley opened this issue 3 years ago • 9 comments

./node_modules/@0x/utils/node_modules/ethers/dist/ethers.min.js Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Started to see this on our Next.js project when moving from the umbrella package to the individual packages.

matthewlilley avatar Oct 28 '21 20:10 matthewlilley

same here

TrejGun avatar Nov 19 '21 11:11 TrejGun

this could be fixed by updating ethers

TrejGun avatar Dec 27 '21 10:12 TrejGun

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 05:04 stale[bot]

i'm still interested in fixing this

TrejGun avatar Apr 16 '22 07:04 TrejGun

same here

pingustar avatar Apr 22 '22 11:04 pingustar

I'm getting this same error.

jasonbiondo avatar May 06 '22 17:05 jasonbiondo

This error still exist, How can we resolve it?

yosoul93 avatar May 18 '22 18:05 yosoul93

I think just need to do yarn add ethers@latest in the base-contract directory...

jonknyc avatar May 25 '22 14:05 jonknyc

Any news for that?

borthdor avatar Oct 27 '22 22:10 borthdor