Vercel build logs

Error: Found invalid Node.js Version: "18.x". Please set Node.js Version to 22.x in Project Settings.

What it means
The Node.js version selected in Vercel doesn't match the modern Node.js LTS version your packages require.
Likely causes
  • The Vercel project settings or engines field in package.json specifies an older Node version.
  • A newly added package requires Node 20+ or 22+.
Prevention
Use the current Node.js LTS (22.x) both on your computer and in Vercel.

Copy for your agent

Vercel failed with a Node.js version error. Check the `engines` field in `package.json` and tell me if I need to select Node.js 22.x in Vercel Project Settings.

Full help articleThe Vercel build failed

Last reviewed Nov 8, 2026