Unsupported Node.js version: v22.17.1

node.js ver.18 works ok.
if i change to 20, or 22, , I get a error
Unsupported Node.js version: v22.17.1. Please use Node 16 or Node 18 to build your project, or explicitly specify a runtime in your adapter configuration.

project/settings/build and deployment , set node.js version

Could you share more about your project? :smiley:

Sharing this thread for viz:

1 Like

I also wanted to cross-post this announcement from yesterday:

In response to a email about END OF LIFE, I changed node.js to a higher version.

see picture

Why did the deploy fail ?

I gave link to failed deploy ment, what more details can I provide ?

Are you able to look at my issue ? I assume it is related to VERCEL build process, not my code right?

I tried to change package.json with this code but get the same error in project giskard

"engines": {
  "node": "22.x"
}

I checked the logs for the project you shared. This build threw Unsupported Node.js version: v22.17.1. Please use Node 16 or Node 18 to build your project, or explicitly specify a runtime in your adapter configuration from @sveltejs/adapter-vercel. Based on that, it sounds like you need to update some packages to newer versions compatible with Node.js 22.

Thanks for sharing the project build link to make it easier for us to find! I removed the link from your post, just to be safe.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.