-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
4.0.0-alpha.11 crashes storybook #3825
Comments
Good afternoon, here is my error when starting (also update 9 for 11) PS D:\KODING\ui_library> npm run storybook
module.js:557 Error: Cannot find module 'core-js/modules/es6.array.for-each' |
I will try to look at it asap |
Temporary workaround: when I upgraded More comments @ndelangen :
import React from 'react';
import { ThemeProvider } from 'emotion-theming';
import { configure, addDecorator } from '@storybook/react';
import { themes } from '@storybook/components';
import { setOptions } from '@storybook/addon-options';
setOptions({ theme: themes.dark });
addDecorator(story => <ThemeProvider theme={themes.normal}>{story()}</ThemeProvider>);
function loadStories() {
require('../src/stories');
}
configure(loadStories, module); When I hack render() {
const { isOpen, onClose, platform } = this.props;
const { overlayClass, modalClass } = this.state || {};
I tried to hack this in various ways (setting state in constructor, or statically) and it didn't fix the warning. I don't understand enough about |
This has been fixed and released in https://github.com/storybooks/storybook/releases/tag/v4.0.0-alpha.12 |
Bug or support request summary
Hello!
version
4.0.0-alpha.11
is crashing storybookSteps to reproduce
package.json
:start-storybook
Expected
storybook works as usual
Actual
storybook crashes before rendering any UI
we noticed this without any code changes on our side.
We had
^4.0.0-alpha.9
inpackage.json
which now resolves to4.0.0-alpha.11
.Please let me know if i should provide more specific details
Thanks!
The text was updated successfully, but these errors were encountered: