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
When upgrading Next to 13.4.3 or higher, Storybook breaks with the following error:
WARN Force closed preview build
ModuleNotFoundError: Module not found: Error: Can't resolve 'fs' in '/Users/yannbraga/open-source/storybook/sandbox/nextjs-default-js/node_modules/next/dist/compiled/gzip-size'
at /Users/yannbraga/open-source/storybook/sandbox/nextjs-default-js/node_modules/webpack/lib/Compilation.js:1512:33
at /Users/yannbraga/open-source/storybook/sandbox/nextjs-default-js/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/Users/yannbraga/open-source/storybook/sandbox/nextjs-default-js/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
yannbf
changed the title
[Bug]: @storybook/nextjs incompatible with Next 13.4.3 and higher
[Bug]: @storybook/nextjs incompatible with Next 13.4.3
May 23, 2023
Describe the bug
When upgrading Next to 13.4.3 or higher, Storybook breaks with the following error:
To Reproduce
Run
yarn storybook
in this sandboxSystem
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: