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

**Where it appears:** Vercel build logs

**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+.

## Message for your agent

```text
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.
```

**Prevention:** Use the current Node.js LTS (22.x) both on your computer and in Vercel.

---
Source: [Agentic Makers](https://agenticmakers.app/en/help/errors/vercel-invalid-nodejs-version) · License: CC BY 4.0
