-
-
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
Storybook 5.1.0-beta.1 is not showing all stories and has a TypeError in the console #6813
Comments
Still an issue in 5.1.0-rc.2. |
@kaiyoma I missed this one somehow. We'll try to get it figured out before the 5.1 release. Do you have a repro available? |
@shilman No, not easily. We use Storybook in our project for our internally developed components. |
I glanced again at the error in the Chrome debugger and if I set a breakpoint on the line I mentioned above, I see |
rc3 behaving the same. |
Thanks guys. Looks like it's due to this change: #6767 I'll put together a fix this weekend. |
hmmm. Shall we remove the readable-stream dependency once for all ? |
@libetl I don't understand the dependency and what it has to do with this bug. Can you elaborate? |
I mean the readable-stream npm dependency, indirectly pulled from the crypto module (to calculate hashes) contains the line of code responsible for crashing (or degrading) the application. If we find another solution for hashing values, we remove that dependency. Do you have another solution ? |
Attempted to fix this in #6946 which was released in https://github.com/storybookjs/storybook/releases/tag/v5.1.0-rc.4 @kaiyoma @djMax can you try it out and let me know if that worked? |
I had the same issue - v5.1.0-rc.4 resolves the issue for me - thanks! |
@shilman Yup, fixed our issue too. Thanks! |
Describe the bug
After upgrading from 5.1.0-alpha.39 to 5.1.0-beta.1, most of my stories are missing from the sidebar. There's also a JavaScript error in the console:
Here's the line in question (in Chrome devtools):
System:
The text was updated successfully, but these errors were encountered: