yarn icon indicating copy to clipboard operation
yarn copied to clipboard

fix: pin [email protected] and [email protected] for Node 18 compatibility

Open SunderSingh27 opened this issue 1 year ago • 0 comments

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.

SunderSingh27 avatar Sep 22 '25 20:09 SunderSingh27