yarn
yarn copied to clipboard
fix: pin [email protected] and [email protected] for Node 18 compatibility
Problem
Vite v7 requires Node >= 20, but many developers use Node 18. Installing vite@latest with Node 18 fails with: error [email protected]: The engine "node" is incompatible with this module.
Solution
- Pinned vite to 6.3.5
- Pinned vitest to 0.34.6
- Set yarn to ignore engines
This allows the project to work on Node 18 without errors.