Skip to content
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

Beta start-storybook hangs #14146

Closed
larsenwork opened this issue Mar 5, 2021 · 2 comments
Closed

Beta start-storybook hangs #14146

larsenwork opened this issue Mar 5, 2021 · 2 comments

Comments

@larsenwork
Copy link

larsenwork commented Mar 5, 2021

Describe the bug
Start-storybook doesn't complete for me on beta version.

To Reproduce

  1. Have beta version installed
  2. npm run storybook

Current behaviour
It hangs without completing the build and if I ctrl+c it actually completes for a split second but then closes

Expected behavior
It completes building and I can see my storybook

Code snippets
(note the ^C)

🦁 npm run storybook

> @ storybook /Users/andreaslarsen/Git/omhu-com-web
> start-storybook -p 6006

info @storybook/react v6.2.0-beta.6
info 
info => Loading presets
info => Loading 1 config file in "/Users/andreaslarsen/Git/omhu-com-web/.storybook"
info => Loading 8 other files in "/Users/andreaslarsen/Git/omhu-com-web/.storybook"
info => Adding stories defined in "/Users/andreaslarsen/Git/omhu-com-web/.storybook/main.js"
info => Using PostCSS preset with postcss@8.2.6
info => Using default Webpack4 setup
10% building 1/1 modules 0 activeinfo => Using cached manager
webpack built preview 3738e1363425067d3ecd in 11356ms
^C╭───────────────────────────────────────────────────╮
│                                                   │
│   Storybook 6.2.0-beta.6 started                  │
│   12 s for preview                                │
│                                                   │
│    Local:            http://localhost:6006/       │
│    On your network:  http://192.168.1.14:6006/    │
│                                                   │
╰───────────────────────────────────────────────────╯

System

Environment Info:

  System:
    OS: macOS 11.2.2
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 14.16.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.11 - /usr/local/bin/npm
  Browsers:
    Chrome: 89.0.4389.72
    Firefox: 85.0.2
    Safari: 14.0.3
  npmPackages:
    @storybook/addon-actions: ^6.2.0-beta.6 => 6.2.0-beta.6 
    @storybook/addon-essentials: ^6.2.0-beta.6 => 6.2.0-beta.6 
    @storybook/addon-links: ^6.2.0-beta.6 => 6.2.0-beta.6 
    @storybook/addon-postcss: ^2.0.0 => 2.0.0 
    @storybook/react: ^6.2.0-beta.6 => 6.2.0-beta.6 

Additional context
I tried clearing the /node_modules/.cache and also starting this in a new terminal without luck.

@larsenwork
Copy link
Author

larsenwork commented Mar 5, 2021

FWIW the issue persists on v6.2.0-beta.10

@larsenwork
Copy link
Author

Hmm... a machine restart resolved the issue. Closing this until I can repro consistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant