Storybook 6 opens wrong browser
See original GitHub issueDescribe the bug
Running BROWSER=chromium yarn storybook
still opens default browser.
To Reproduce Steps to reproduce the behavior:
- Set up new CRA typescript project
- Run
npx sb init
- Running
BROWSER=chromium yarn start
opens Chromium - Running
BROWSER=chromium yarn storybook
opens default browser
Expected behavior Should open storybook URL in Chromium. See #11014.
Screenshots N/A
Code snippets N/A
System:
Environment Info:
System: OS: macOS 11.0 CPU: (4) x64 Intel® Core™ i5-8210Y CPU @ 1.60GHz Binaries: Node: 14.5.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.6 - /usr/local/bin/npm Browsers: Chrome: 84.0.4147.135 Safari: 14.0 npmPackages: @storybook/addon-actions: ^6.0.16 => 6.0.16 @storybook/addon-essentials: ^6.0.16 => 6.0.16 @storybook/addon-links: ^6.0.16 => 6.0.16 @storybook/node-logger: ^6.0.16 => 6.0.16 @storybook/preset-create-react-app: ^3.1.4 => 3.1.4 @storybook/react: ^6.0.16 => 6.0.16
Additional context
Issue occurs with BROWSER=safari
as well.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
@yannbf can you help with this?
also happening to me, always opens Chrome, my default is also Firefox. My system is: macOS 11.5.2 and node v14.16.0