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
Running pnpm storybook:dev locally fails due to the following error:
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: @storybook/react-webpack5/preset.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
Error: Cannot find module '@storybook/react-webpack5/preset'
Require stack:
- /Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/@storybook[email protected]/node_modules/@storybook/core/dist/common/index.cjs
- /Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/[email protected]/node_modules/storybook/dist/proxy.cjs
- /Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/[email protected]/node_modules/storybook/bin/index.cjs
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._resolveFilename (/Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4794:36)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at interopRequireDefault (/Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/@storybook[email protected]/node_modules/@storybook/core/dist/common/index.cjs:11666:11)
at getContent (/Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/@storybook[email protected]/node_modules/@storybook/core/dist/common/index.cjs:16436:10)
at loadPreset (/Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/@storybook[email protected]/node_modules/@storybook/core/dist/common/index.cjs:16442:51)
at /Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/@storybook[email protected]/node_modules/@storybook/core/dist/common/index.cjs:16488:24
at Array.map (<anonymous>)
More info:
at loadPreset (/Users/djm/Library/Caches/pnpm/dlx/x6lev33jaseh2jcerd6yyuj4ly/193887ba168-8f6c/node_modules/.pnpm/@[email protected]/node_modules/@storybook/core/dist/common/index.cjs:16477:13)
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
Is there an existing issue for this?
Code of Conduct
Victory version
latest
Code Sandbox link
No response
Bug report
Running
pnpm storybook:dev
locally fails due to the following error:Steps to reproduce
Expected behavior
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: