Skip to content

Conversation

@LeonMueller-OneAndOnly
Copy link

@LeonMueller-OneAndOnly LeonMueller-OneAndOnly commented Sep 6, 2025

since "javascript to json" and "json to zod" are already supported, this is a shortcut I would like to have

Vercel only supports node v20 & v22, therefore i bumped the engine version and solved some conflicts too in order for a successfull prwview branch

@vercel
Copy link

vercel bot commented Sep 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
transform Ready Ready Preview Comment Sep 6, 2025 0:49am

@LeonMueller-OneAndOnly
Copy link
Author

The error message says that the prescribed node js version of 16 is incompatible with vercel build, which wants to have v18.

@LeonMueller-OneAndOnly
Copy link
Author

Since node v16 isnt supported by vercel anymore i bumped the node version to v22 (current long term support version).

I added the node option for legacy openssl support via te NODE_OPTIONS env variable to the relevant dev and build scripts, so they do work. Since node v18 some hash functions used by webpack internally are not supported anymore without this.

Security wise this is not a problem, since as far as i am aware these hash functions are only used by webpack to name the generated chunks.

…th node 18+ (no legacy providers anymore)

this allows us to remove the node optiosn for legacy support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant