Repository navigation
Build the examples on Node.js 24 - #113
Merged
Merged
Conversation
Vercel stopped building Node.js 20 and older on October 1, 2026. Pin the examples app (the Vercel project's root directory) to 24.x via "engines",\nwhich overrides the Vercel project setting. The library itself is untouched.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Claude here [Opus 5.5])
What
Pin the examples app to Node.js 24:
"engines": { "node": "24.x" }inexamples/package.json. The library itself is untouched (its.nvmrcalready says 24), so no changeset is needed.Why
Vercel stopped building on Node.js 20 and older on October 1, 2026 (changelog). The
vue-datocms-exampleVercel project builds fromexamples/and is set to 22.x, which reaches end of life in April 2027.enginesoverrides that setting, so the example builds on 24 without a dashboard change.Testing
npm run setupandnpm run buildinexamples/pass on Node 24.12, and the build produces the same bundle hash as production./returns 200. It logs the sameresponsiveImageconsole error as production, so that error predates this change.Production (before) vs preview (Node 24)
After merging
Optionally set the Vercel project's Node.js version to 24.x to silence the override warning.
enginesalready takes precedence.🤖 Generated with Claude Code