-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V8 migration issue #614
Comments
Hey @AdamTyler I did what you have provided and added the babel plugin (as a dev dependancies) and things worked 🚀 |
@AdamTyler does adding the babel plugin in the error message resolve the issue you are having? |
In some of my examples I had config that would return an empty module for storybook when its not being used, maybe if you remove that it would fix this issue. Or maybe adding This type of stuff:
|
I had a few of those that I commented out. Let me add my current config to make this easier (you can see commented out parts from v7 config). Let me know if anything jumps out at you:
I thought maybe it was from using |
Hmm I guess you may just need package exports enabled its also added by withStorybook when enabled is true |
This fixed it! Thanks @dannyhw |
Describe the bug
After upgrading to storybook v8 and updating metro + running
storybook-generate
the app did not work I got this errorThe package at "node_modules/axios/dist/node/axios.cjs" attempted to import the Node standard library module "url". It failed because the native React runtime does not include the Node standard library.
To Reproduce
Steps to reproduce the behavior:
storybook-generate
EXPO_PUBLIC_STORYBOOK_ENABLED='true' expo start --dev-client
Expected behavior
our storybook project opens in the simolator
Screenshots
Code snippets
old metro config
new metro config
System:
Please paste the results of
npx -p @storybook/cli@next sb info
here.sh: @storybook/[email protected]: No such file or directory
Additional context
I only have this storybook deps
The text was updated successfully, but these errors were encountered: