Hi all - complete rookie here and going through the tutorials as thoroughly as possible. Had a weird issue arise - Storybook was running fine on my original tutorial install, then after I cloned a fresh install of the ‘prepped’ tutorial from Github (starting in the “Intermission” - in a separate file), Storybook stopped working in BOTH repositories and threw a “Broken build” error.
Both installs are running:
Redwood 6.3.1
Storybook 6.3.1
Original tutorial was setup using Postgres + Clerk as authentication.
“Prepped” tutorial was the vanilla SQlite with dbauth.
I see there are similar issues arising.
Tried yarn dedupe
and that didn’t do anything.
Here’s part of the error:
Error: Build failed with 9 errors:
../node_modules/@storybook/addon-a11y/dist/manager.mjs:7:34: ERROR: Could not resolve "react-resize-detector"
../node_modules/@storybook/addon-a11y/dist/manager.mjs:9:26: ERROR: Could not resolve "@storybook/addon-highlight"
../node_modules/@storybook/addon-essentials/dist/actions/manager.mjs:1:14: ERROR: Could not resolve "@storybook/addon-actions/manager"
../node_modules/@storybook/addon-essentials/dist/backgrounds/manager.mjs:1:14: ERROR: Could not resolve "@storybook/addon-backgrounds/manager"
../node_modules/@storybook/addon-essentials/dist/controls/manager.mjs:1:14: ERROR: Could not resolve "@storybook/addon-controls/manager"
Any help is appreciated!