Nx
Enterprise
Nx
chore(testing): pin vite resolution on yarn for vite 7 downgrade The cypress-legacy and vite e2e tests downgrade vite + plugin-react in package.json then run install. On yarn classic this trips a linker bug ("Invariant Violation: could not find a copy of vite to link in node_modules/vitest/node_modules") because vitest declares vite as both a regular dependency and a peerDependency, and yarn 1's hoisting algorithm fails when intersecting a top-level `^7.0.0` range with vitest's vite range. Add a yarn-specific `resolutions` entry pinning vite so yarn commits to a single version up front and skips the buggy code path. npm/pnpm don't have the bug and ignore the field.
nx-cloud record -- nx format:check
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
1 run failed
nx-cloud record -- nx format:check
Click to copy
Linux
4 CPU cores
9794d1e1
35586