I'm suddnely getting an error when running yarn storybook
on my project. Storybook was working fine before, but suddenly stopped working giving me the errors:
This appears to be associated with Babel: ``No "exports" main resolved /node_modules/@babel/helper-compilation-targets/package.json`
I've tried the following:
node_modules
and package.json.lock
and reinstalledBut the issue keeps happening.
Would anyone know what I could do?
(ps I am on MacOs Mojave)
This turned out to be my local version of node.js conflicting with the packages in the project. I changed version to that indicated in the package and it seems to be working now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With