-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
[5.2.0-beta.x] babel-loader error: Cannot find module core-js/modules/web.immediate.js and others #7407
Comments
I have this exact same error when i clone the learn storybook repo and install this addon. |
Thanks for the report: Seems like Make sure core-js is ignored if you're passing |
Babel error was fixed 👍 , thank you! BUT now I have "Rendered more hooks than during the previous render." with exactly the same basic story from 5.1.1 I did the merge on https://github.com/orangeloops/public-ol-web-template/tree/storybook_5_2_0 |
@Hypnosphi 2 months ago you added the error; and migrated addon-knobs to use the new hooks api. What do you think might cause this behaviour? |
Will take a look There's a chance that I broke conditional knobs UPD: nope, they work: https://monorepo.storybook.now.sh/examples/official-storybook/?path=/story/addons-knobs-withknobs--dynamic-knobs |
Thanks for taking a look! I looked at the @orangeloops code for how they create stories, but it a bit more complex then I could digest at a glance. I'm unsure if they use conditional knobs, but it could also be something async they do that causes this. |
@ndelangen looks like the reason is https://github.com/gvaldambrini/storybook-router/blob/master/packages/react/react.js#L91-L97 |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
This is relevant to #7084 |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Should be fixed with #8287 |
After migration from 5.1.1 to 5.2.0-alpha.x (exactly the same config file) multiple babel-loader error arise.
Repo to reproduce (branch storybook_5_2_0):
https://github.com/orangeloops/public-ol-web-template/tree/storybook_5_2_0
npm install
npm run storybook
Modules:
es.symbol.iterator.js, es.symbol.js, es.symbol.to-string-tag.js, web.dom-collections.for-each.js
Error example:
ERROR in ./node_modules/@storybook/channels/dist/index.js
Module not found: Error: Cannot find module '/Users/daniel/Code/OrangeLoops/public-ol-web-template/node_modules/babel-loader/lib/index.js??ref--7-oneOf-6!/Users/daniel/Code/OrangeLoops/public-ol-web-template/node_modules/core-js/modules/web.immediate.js'
Require stack:
@ ./node_modules/@storybook/channels/dist/index.js 35:0-40
@ ./node_modules/@storybook/addons/dist/storybook-channel-mock.js
@ ./node_modules/@storybook/addons/dist/public_api.js
@ ./node_modules/@storybook/addon-knobs/dist/index.js
@ ./.storybook/config.js
The text was updated successfully, but these errors were encountered: