fix(deploy): fix Vercel deployments by upgrading Node and adding config#1011
Merged
fix(deploy): fix Vercel deployments by upgrading Node and adding config#1011
Conversation
Vercel dropped Node 14 support, causing all Production and Preview deployments to fail. Upgrades website engine to Node 18 and adds vercel.json to explicitly configure the docs site build. Closes #1006 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Moves vercel.json into website/ so Vercel reads the website's package.json engines field instead of the root (which is for the library). Sets Node engine to 24.x per Vercel deployment logs. Requires setting Root Directory to "website/" in Vercel project settings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
VuePress 1.x's cache-loader uses md4 hashing which OpenSSL 3.0 (bundled with Node 24) rejects. Adding --openssl-legacy-provider as suggested by Vercel's build logs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
14.xto24.xwebsite/vercel.jsonto explicitly configure the docs site buildNODE_OPTIONS=--openssl-legacy-providerto fix OpenSSL 3.0 incompatibility with VuePress 1.x'scache-loader(md4 hashing)deployscript from website package.jsonChanges
website/vercel.json— new file configuring build command, output directory, and framework overridewebsite/package.json— Node engine14.x→24.x, removed manualdeployscriptNotes
website/in project settings--openssl-legacy-providerflag is needed because VuePress 1.x'scache-loaderuses md4 hashing which OpenSSL 3.0 (Node 17+) rejectsCloses #1006