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
10:58:47 AM [vite] error while updating dependencies:
Error: Build failed with 1 error:
../../node_modules/vite/node_modules/esbuild/lib/main.js:1225:21: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "fs". The package may have incorrect main/module/exports specified in its package.json.
at failureErrorWithLog (/Users/x/code/xx/xxx/xxxx/node_modules/vite/node_modules/esbuild/lib/main.js:1472:15)
at /Users/x/xx/xxx/xxxx/xxxxx/node_modules/vite/node_modules/esbuild/lib/main.js:945:25
at /Users/x/xx/xxx/xxxx/xxxxx/node_modules/vite/node_modules/esbuild/lib/main.js:1353:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Describe the bug
I am trying to update my storybook setup in my next.js project to use the new experimental vite. using version 8.3.6 . I'm getting this error
10:58:47 AM [vite] error while updating dependencies:
Error: Build failed with 1 error:
../../node_modules/vite/node_modules/esbuild/lib/main.js:1225:21: ERROR: [plugin: vite:dep-pre-bundle] Failed to resolve entry for package "fs". The package may have incorrect main/module/exports specified in its package.json.
at failureErrorWithLog (/Users/x/code/xx/xxx/xxxx/node_modules/vite/node_modules/esbuild/lib/main.js:1472:15)
at /Users/x/xx/xxx/xxxx/xxxxx/node_modules/vite/node_modules/esbuild/lib/main.js:945:25
at /Users/x/xx/xxx/xxxx/xxxxx/node_modules/vite/node_modules/esbuild/lib/main.js:1353:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Reproduction link
Reproduction steps
No response
System
[email protected]
Additional context
No response
The text was updated successfully, but these errors were encountered: