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
Got this build error when testing the webpack 5 release
> start-storybook -p 6006
info @storybook/react v6.2.0-alpha.31
info => Loading presets
WARN Failed to load preset: "/Users/chang/frontend/node_modules/@storybook/builder-webpack5/dist/cjs/presets/preview-preset.js"
ERR! Error: Cannot find module '@storybook/semver/package.json'
ERR! Require stack:
ERR! - /Users/chang/frontend/node_modules/@storybook/builder-webpack5/dist/cjs/preview/iframe-webpack.config.js
ERR! - /Users/chang/frontend/node_modules/@storybook/builder-webpack5/dist/cjs/presets/preview-preset.js
ERR! - /Users/chang/frontend/node_modules/@storybook/core-common/dist/cjs/presets.js
ERR! - /Users/chang/frontend/node_modules/@storybook/core-common/dist/cjs/index.js
ERR! - /Users/chang/frontend/node_modules/@storybook/core-server/dist/cjs/index.js
ERR! - /Users/chang/frontend/node_modules/@storybook/core/dist/cjs/server.js
ERR! - /Users/chang/frontend/node_modules/@storybook/core/server.js
ERR! - /Users/chang/frontend/node_modules/@storybook/react/dist/cjs/server/index.js
ERR! - /Users/chang/frontend/node_modules/@storybook/react/bin/index.js
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
Essentially @storybook/semver is not installed. After installing, this error disappears. Previous versions didn't require me manually installing the package. Perhaps @storybook/semver is missing as a dependency from @storybook/builder-webpack5?
Describe the bug
Got this build error when testing the webpack 5 release
Essentially
@storybook/semver
is not installed. After installing, this error disappears. Previous versions didn't require me manually installing the package. Perhaps@storybook/semver
is missing as a dependency from@storybook/builder-webpack5
?System
The text was updated successfully, but these errors were encountered: