You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I depend on the process.env.STORYBOOK being true to to setup the environment properly for Storybook. After upgrading from 6.4.9 to 6.4.18 the value is no longer true and Storybook fails to run for my setup.
To Reproduce
Please create a reproduction by running npx sb@next repro and following the instructions. Read our documentation to learn more about creating reproductions.
Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
Turns out it's a Webpack 5 issue. We upgraded to Webpack 5 which no longer includes a polyfill for destructuring multiple values from process.env. See webpack/webpack#14800.
Describe the bug
I depend on the process.env.STORYBOOK being true to to setup the environment properly for Storybook. After upgrading from 6.4.9 to 6.4.18 the value is no longer true and Storybook fails to run for my setup.
To Reproduce
Please create a reproduction by running
npx sb@next repro
and following the instructions. Read our documentation to learn more about creating reproductions.Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
System
System:
OS: macOS 12.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.0/bin/yarn
npm: 8.1.4 - ~/.nvm/versions/node/v16.13.0/bin/npm
Browsers:
Chrome: 98.0.4758.80
Firefox: 96.0.3
Safari: 15.2
npmPackages:
@storybook/addon-actions: 6.4.18 => 6.4.18
@storybook/addon-essentials: 6.4.18 => 6.4.18
@storybook/addon-interactions: ^6.4.18 => 6.4.18
@storybook/addon-links: 6.4.18 => 6.4.18
@storybook/addon-storyshots: 6.4.18 => 6.4.18
@storybook/addons: 6.4.18 => 6.4.18
@storybook/node-logger: 6.4.18 => 6.4.18
@storybook/preset-create-react-app: ^3.1.5 => 3.2.0
@storybook/react: 6.4.18 => 6.4.18
@storybook/testing-library: ^0.0.9 => 0.0.9
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: