We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite@6 and vitest@3 is conflicting as peer dependency with nx/vite
support of vite@6 and vitest@3 by nx/vite
No response
npm i
Node : 22.12.0 OS : darwin-arm64 Native Target : aarch64-macos npm : 10.9.0 nx : 20.3.1 @nx/js : 20.3.1 @nx/jest : 20.3.1 @nx/eslint : 20.3.1 @nx/workspace : 20.3.1 @nx/cypress : 20.3.1 @nx/devkit : 20.3.1 @nx/eslint-plugin : 20.3.1 @nx/module-federation : 20.3.1 @nx/plugin : 20.3.1 @nx/react : 20.3.1 @nx/storybook : 20.3.1 @nx/vite : 20.3.1 @nx/web : 20.3.1 typescript : 5.6.2 --------------------------------------- Registered Plugins: @nx/vite/plugin --------------------------------------- Local workspace plugins: cli
npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @nx/[email protected] npm error Found: [email protected] npm error node_modules/vite npm error dev vite@"6.0.9" from the root project npm error peer vite@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" from @joshwooding/[email protected] npm error node_modules/@joshwooding/vite-plugin-react-docgen-typescript npm error @joshwooding/vite-plugin-react-docgen-typescript@"0.4.2" from @storybook/[email protected] npm error node_modules/@storybook/react-vite npm error dev @storybook/react-vite@"8.4.7" from the root project npm error 12 more (@storybook/builder-vite, @storybook/react-vite, ...) npm error npm error Could not resolve dependency: npm error peer vite@"^5.0.0" from @nx/[email protected] npm error node_modules/@nx/vite npm error dev @nx/vite@"20.3.1" from the root project npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/vite npm error peer vite@"^5.0.0" from @nx/[email protected] npm error node_modules/@nx/vite npm error dev @nx/vite@"20.3.1" 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.
migration guides: https://vitest.dev/guide/migration.html https://vite.dev/guide/migration
The text was updated successfully, but these errors were encountered:
#29364
Sorry, something went wrong.
jaysoo
No branches or pull requests
Current Behavior
vite@6 and vitest@3 is conflicting as peer dependency with nx/vite
Expected Behavior
support of vite@6 and vitest@3 by nx/vite
GitHub Repo
No response
Steps to Reproduce
npm i
without --force or --legacy-peer-deps flagsNx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
migration guides:
https://vitest.dev/guide/migration.html
https://vite.dev/guide/migration
The text was updated successfully, but these errors were encountered: