-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Upgrading to @storybook/react@3.2.11 throws configuration error #2122
Comments
Try clearing your node_modules and lock files and reinstall all the dependencies. Also, take a look at your webpack and babel config if you have custom ones. We upgraded to webpack 2 in storybook v3 and some of those configs might need to be updated. |
@danielduan Cleared both Is there any more information I can provide you to make debugging perhaps a little easier? |
What does |
@appearhere/bloom@0.28.0
└─┬ @storybook/react@3.2.11
├── babel-preset-env@1.6.1
└─┬ babel-preset-react-app@3.0.3
└── babel-preset-env@1.5.2 |
And |
@appearhere/bloom@0.28.0
├─┬ @storybook/react@3.2.11
│ └── babel-core@6.26.0
├─┬ babel-core@6.14.0
│ └─┬ babel-register@6.26.0
│ └── babel-core@6.26.0
├─┬ babel-jest@15.0.0
│ └── babel-core@6.26.0
├─┬ babel-plugin-transform-regenerator@6.14.0
│ └── babel-core@6.26.0
└─┬ jest@18.1.0
└─┬ jest-cli@18.1.0
└─┬ jest-runtime@18.1.0
├── babel-core@6.26.0
└─┬ babel-jest@18.0.0
└── babel-core@6.26.0 deduped |
Is updating |
@Hypnosphi seems to fix the issue. Thanks for all help 👌 |
After upgrading
@kadira/storybook": "^2.14.0"
using thegetstorybook
cli (to3.2.11
), now when I build storybook, the following error is thrown:It looks like it's these lines that are the cause of the issue, but I'm assuming it'll likely be something else, given the fact no one else seems to be suffering the same issue. https://github.com/storybooks/storybook/blob/e86a615c6450ef57b5965851ee7a9930a04e2b38/app/react/src/server/config/babel.prod.js#L4-L13
The text was updated successfully, but these errors were encountered: