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
Hi, I'm getting this error on the console when doing npm run storybook on my local after doing npx storybook@latest upgrade
import { preprocessCSS, resolveConfig, transformWithEsbuild } from 'vite';
^^^^^^^^^^^^^
SyntaxError: The requested module 'vite' does not provide an export named 'preprocessCSS'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
And this is the error I get on the browser:
Error: Unable to index files:
at async Object.init (/sb-manager/chunk-T3KZBRD
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working using Svelte and Vite.
Hi, I'm getting this error on the console when doing npm run storybook on my local after doing
npx storybook@latest upgrade
And this is the error I get on the browser:
My main looks like this:
My package.json dependencies look like this:
Any ideas? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions