Open omarihab99 opened 1 day ago
Bump this. I know vite 6 is VERY new but this would be a cool add.
Hey everyone, we appreciate the report! As you know Vite 6 was released yesterday, but we already have code to support it prepared for our upcoming release. However, the ecosystem is still catching up (given Vite 6 was just released), so it's not a straightforward release. Support is coming really soon 🤞
Describe the bug
Hi, I tried running
npx storybook@latest init
afternpm create vite@latest
(using react + typescript) . I got the following from storybook.log:npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: storybook-vitev6@0.0.0 npm error Found: vite@6.0.0 npm error node_modules/vite npm error dev vite@"^6.0.0" from the root project npm error npm error Could not resolve dependency: npm error peer vite@"^4.0.0 || ^5.0.0" from @storybook/react-vite@8.4.5 npm error node_modules/@storybook/react-vite npm error dev @storybook/react-vite@"^8.4.5" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /Users/omarihab/.npm/_logs/2024-11-26T20_17_48_529Z-eresolve-report.txt npm error A complete log of this run can be found in: /Users/omarihab/.npm/_logs/2024-11-26T20_17_48_529Z-debug-0.log
Reproduction link
https://github.com/omarihab99/storybook-vitev6
Reproduction steps
npm create vite@latest
. using react + ts template.npm install
npx storybook@latest init
System
Additional context
No response