Storybook 5.1.0-beta.1 is not showing all stories and has a TypeError in the console
See original GitHub issueDescribe 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:
TypeError: Cannot read property 'slice' of undefined
at Object.<anonymous> (vendors~main.1802bec481c24205c53d.bundle.js:380134)
at Object../node_modules/readable-stream/lib/_stream_writable.js (vendors~main.1802bec481c24205c53d.bundle.js:380765)
at __webpack_require__ (runtime~main.1802bec481c24205c53d.bundle.js:787)
at fn (runtime~main.1802bec481c24205c53d.bundle.js:150)
at Object../node_modules/readable-stream/readable-browser.js (vendors~main.1802bec481c24205c53d.bundle.js:381034)
at __webpack_require__ (runtime~main.1802bec481c24205c53d.bundle.js:787)
at fn (runtime~main.1802bec481c24205c53d.bundle.js:150)
at Object../node_modules/stream-browserify/index.js (vendors~main.1802bec481c24205c53d.bundle.js:395418)
at __webpack_require__ (runtime~main.1802bec481c24205c53d.bundle.js:787)
at fn (runtime~main.1802bec481c24205c53d.bundle.js:150)
Here’s the line in question (in Chrome devtools):
var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;
System:
- OS: Windows 10
- Browser: Chrome 74
- Framework: React
- Version: 5.1.0-beta.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
How to troubleshoot storybook not loading stories?
Check the console of the chrome window running localhost. You should see errors there. I had a component not showing ...
Read more >storybook/addon-docs - npm
DocsPage is a zero-config aggregation of your component stories, text descriptions, docgen comments, props tables, and code examples into clean, ...
Read more >storybookjs/storybook (Raised $170.00) - Issuehunt
Props not showing up in docs when slot with same name is defined (Vue). Unfunded#12224created bypuyt ... Storybook 6.x Scripting: Get URLs of...
Read more >Using Storybook with Vue js - Auth0
Learn how to build a component library with Vue and Storybook to create ... When loadStories is run, Storybook will import all the...
Read more >@storybook/react: Versions | Openbase
Build: ui/.storybook should not import from dist #20284 ... 7.0.0-beta.1 ... Beta means that we don't have any more major changes on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shilman Yup, fixed our issue too. Thanks!
I had the same issue - v5.1.0-rc.4 resolves the issue for me - thanks!