Closed ereztdev closed 6 years ago
Your global modules are irrelevant; global modules can't be require
d or import
ed.
What's your full package.json? (specifically, dev deps). Where are you getting the error? Can you share the test code that's causing this error? How are you running your tests?
I just shared my global packages, since if I missed something there it could be pointed out, but I got you on that. I abandoned this setup and reopened a new one with other dependencies. Thanks @ljharb
Posted as a new issue per request from @ljharb : Hey guys, I am experiencing an issue:
Error: Cannot find module 'react/addons'
this is my package local:and this is my global: