-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
react storybook v4.1.14 is broken in new/existing projects #6248
Comments
And if you use sb@v5, problem still remains? |
No, a newly generated project with the cli and newest storybook works just fine |
Use v5. Problem solved! 😃 |
Still using react 15 in the project. Migration is planned but it’s not an easy change in our library |
@shlomitc thanks for raising this, we'll def fix for everybody who's stuck on v4! I'm able to repro and will look at it today. Marked as high priority. Separately, I want to clarify that v5 should be react 15 compatible since it sounds like that's what's preventing you from upgrading. And if it doesn't that's a bug and we'll do our best to fix it. |
@shlomitc I'm able to repro this. Almost certain that this is related to something changing in the underlying dependencies and us using
What I did:
Pretty sure that NOTES:
|
UPDATE: False alarm about Babel / core-js. This error is related to Pretty sure it's due to this issue: storybook-eol/react-treebeard#155 The error goes away in |
Whoopee!! I just released https://github.com/storybooks/storybook/releases/tag/v4.1.16 containing PR #6249 that references this issue. Upgrade today to try it out! Closing this issue. Please re-open if you think there's still more to do. |
@shilman thanks for the super-quick response! |
Had to change the following configuration to false in order to make it work doesn't work: setOptions({
sidebarAnimations: true
}); works: setOptions({
sidebarAnimations: false
}); |
Zoinks!! I just released https://github.com/storybooks/storybook/releases/tag/v3.4.12 |
Suddenly having problem starting Storybook and need to bump the version to fix it according the following thread: storybookjs/storybook#6248
* Updated headshots * Proper handling of Redux state in localStorage * Remove truncation of barcode that caused the BIDs all look the same on dashboard's historical upload table * 💅 Increment y axis scale to be 1 or greater than the highest upload number (regardless of statues) on bar chart * 💬 Updated comment * Reset form values upon successful upload * No need for visual cues if form field is validated * Changed data type shortname * Updated import component name and removed unused component * 🐛 Bump Storybook version 4.1.x to its latest Suddenly having problem starting Storybook and need to bump the version to fix it according the following thread: storybookjs/storybook#6248 * 💅 Modified particle.js animation config settings * 💅 Added background color to make text more readable against blue background color * Added 'profile' prop to both Sidebar and Footer components * Added 'profile' state * Added 'profile' prop to Sidebar component * Added 'profile' prop to Sidebar component * Directly import JSON data for d3 to use instead of importing .csv files to be converted to JSON using d3 * No longer using .csv files for d3 * Refactor code with 'if' statement wrapper that works for Storybook as well * Added 'profile' prop to Sidebar and Footer components; added stories for animal sub analysis and phenotype data analysis * 🎉 Initial commit for animal phenotype data visualization story * Added 'profile' prop * 🐛 Fixed console errors caused by missing properties in test data * Added <React.Fragment> wrapper to fix issue in which footer is not aligned at bottom * 🎉 Initial commit for error page story * Updated test assertions due to the addition of animal phenotype data visualization component * 🎉 Initial commit for unit test of animal phenotype data plot component * 💅 Re-enabled the visual cue for form field validation on blur event * Added handling to clear upload form values and recently upload file list if user navigates away from and returns to the upload screen * Revert previous implementation of setting 'formValues' to default on 'types.SET_ALL_SUCCESS' Also added/edited various comments and formatting * Added mock 'clearForm' action * Added action for upload button * Added 'previousUploads' prop * 🎉 Initial commit for helper function to sort timestamp in numeric format * Added 'recentUploadList' module * 💅 Styling changes to upload file list UI * 🎉 Initial commit for recent file upload activity UI styling * Added 'previousUploads' prop to be passed down to 'UploadList' child component * Added 'previousUploads' prop to be passed down to 'RecentUploadList' child component Also updated the UI for the upload file list and appended the recent upload activity list to it. * 🎉 Initial commit for component rendering recent upload activity * 🎉 Initial commit for recent upload activity story * Fixed test assertion due to UI changes * Added @Class to DOM element and reformatted code * 🎉 Initial commit for recent upload activity unit test * Initial commit for sample JSON data files used by d3 * Added mock data * Added 'react-ga' module dependency * Initialize Google Analytics * Implemented Google Analytics with React Router via HOC * Mocking 'react-ga' in jest * 🎉 Initial commit for Google Analytics implementation * 🐛 Allow flexibility matching the hostname * Added action to reset depth on Analysis page * Allow clicking on the Animal/Human analysis nav links on the sidebar to reset the main analysis UIs * Added mock 'resetDepth' function * Added 'resetDepth' action * Added sidebar actions for the <Sidebar> component * Revert the addition of 'previousUploads' prop * Enable raw data and pre-processed data checkboxes in upload edit mode; add 'editUpload' to upload's default state * Revert the implementation of showing 'all' previous uploads at all times Also changed the UIs of the upload file list table to accommodate the need to show both new uploads and previous uploads. * Revert the addition of 'previousUploads' prop * Update story due to UI changes * Update test upload data for the addition of 'Previously Uploaded' user story * Add story for 'Previously Uploaded' UI * Revert the addition of 'editUpload' state; add 'addition' property to the 'upload' object to resolve duplicate files when user adds a new file to existing upload transaction. * Increase timeout to allow the cancel upload modal to be dismissed
Describe the bug
Starting from yesterady afternoon, a new installation and load of storybook@4 throws the following errors in the console while a blank page is loaded.
terminal doesn't show any warning besides issues related to
core-js
To Reproduce
Steps to reproduce the behavior:
npm run storybook
Expected behavior
To work of course.
Screenshots
just a blank page with the above console error.
Code snippets
System:
Additional context
I tried digging in but done have a concrete issue, however, I noticed the following:
@storybook/ui
havereact@16
dependency since 4.1.5.When I tried installing strictly
v4.1.4
.With
react@16
- same error as above.with
react@15
- the following errorThe text was updated successfully, but these errors were encountered: