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
{{ message }}
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
Running the latest beta of Storybook 7 beta gives the following error:
WARN You (or an addon) are using the 'config' preset field. This has been replaced by 'previewAnnotations' and will be removed in 8.0
✘ [ERROR] Could not resolve "@storybook/addons"
node_modules/storybook-tailwind-dark-mode/dist/withGlobals.js:8:22:
8 │ var _addons = require("@storybook/addons");
╵ ~~~~~~~~~~~~~~~~~~~
You can mark the path "@storybook/addons" as external to exclude it from the bundle, which will
remove this error. You can also surround this "require" call with a try/catch block to handle this
failure at run-time instead of bundle-time.
12:17:43 PM [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/storybook-tailwind-dark-mode/dist/withGlobals.js:8:22: ERROR: Could not resolve "@storybook/addons"
at failureErrorWithLog (/Project/node_modules/esbuild/lib/main.js:1596:15)
at /Project/node_modules/esbuild/lib/main.js:1052:28
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Running the latest beta of Storybook 7 beta gives the following error:
This thread may be of interest:
The text was updated successfully, but these errors were encountered: