Storybook is not opening the browser tab by default
See original GitHub issueDescribe the bug
When running start-storybook
it does not automatically open the browser tab anymore.
To Reproduce
yarn start-storybook -p 6006
Expected behavior
When compilation is complete, a browser tab would open to http://localhost:6006/
System
Environment Info:
System:
OS: Linux 4.19 Ubuntu 18.04.5 LTS (Bionic Beaver)
CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
Binaries:
Node: 14.15.4 - ~/.nvm/versions/node/v14.15.4/bin/node
Yarn: 1.22.4 - ~/.nvm/versions/node/v14.15.4/bin/yarn
npm: 6.14.10 - ~/.nvm/versions/node/v14.15.4/bin/npm
npmPackages:
@storybook/addon-actions: 6.1.17 => 6.1.17
@storybook/addon-essentials: 6.1.17 => 6.1.17
@storybook/addon-graphql: 6.1.17 => 6.1.17
@storybook/addon-knobs: 6.1.17 => 6.1.17
@storybook/addon-links: 6.1.17 => 6.1.17
@storybook/addon-storysource: 6.1.17 => 6.1.17
@storybook/addons: 6.1.17 => 6.1.17
@storybook/react: 6.1.17 => 6.1.17
Additional context
This issue happened after migrating from 5.3.x
to 6.1.17
I don’t know if this is related to #13812
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CLI option for start-storybook to not open the browser #6201
Opening the browser with start-storybook should be disabled by default and can be enabled by using --open . Webpack supports the --open /...
Read more >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 >Links Addon | Storybook: Frontend workshop for UI development
... use default browser methods to open link in new tab. A React implementation of such a component can be imported from @storybook/addon-links...
Read more >Zeplin Addon | Storybook: Frontend workshop for UI ...
If you find a case that the addon does not work, please open an issue. ... Run following commands in separate tabs to...
Read more >Storybook: Frontend workshop for UI development
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
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
Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.2.0-beta.2 containing PR #14032 that references this issue. Upgrade today to the
@next
NPM tag to try it out!Closing this issue. Please re-open if you think there’s still more to do.
I managed to upgrade, but it didn’t resolve the issue. I’m wondering if it’s because I’m running it in WSL? Perhaps that interferes with the process used to automatically launch the browser. I’ve seen a similar issue where using a linux command to copy to clipboard fails unless I pipe it to
clip.exe
. Will do some more experimentation, but I think my issue could be my local dev environment.