Sitelet https://github.com/unlock-protocol/unlock/commit/c8f340edd9763fc1f6e5830ba5836c89f91ba112
Skip to content

Commit c8f340e

Browse files
julien51claude
andauthored
fix: pin Vercel CLI to v44.4.1 to fix upload regression (#16356)
fix: pin Vercel CLI to v44.4.1 to fix "File digest missing" upload bug Vercel CLI v53+ introduced a regression where uploading large SSR Next.js build output fails immediately with "File digest missing". v44.4.1 was the last known-working version (July 2025). Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1117453 commit c8f340e

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎paywall-app/scripts/deploy-vercel.sh‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ if [ -n "$VERCEL_PROJECT_ID" ] && [ -n "$VERCEL_TOKEN" ] && [ -n "$VERCEL_ORG_ID
3232
export NEXT_PUBLIC_UNLOCK_ENV="$DEPLOY_ENV"
3333
# move to root directory
3434
cd ..
35-
npx -y vercel build -y --cwd . --token $VERCEL_TOKEN $PROD
36-
npx -y vercel deploy --cwd . --prebuilt --token $VERCEL_TOKEN $PROD
35+
# Pinned: v53+ introduced a "File digest missing" upload bug for large SSR Next.js apps.
36+
# v44.4.1 was the last known-working version (July 2025). Verify before upgrading.
37+
npx -y vercel@44.4.1 build -y --cwd . --token $VERCEL_TOKEN $PROD
38+
npx -y vercel@44.4.1 deploy --cwd . --prebuilt --token $VERCEL_TOKEN $PROD
3739
else
3840
echo "Failed to deploy to Vercel because we're missing VERCEL_TOKEN, VERCEL_PROJECT_ID and/or VERCEL_ORG_ID"
3941
exit 1

‎unlock-app/scripts/deploy-vercel.sh‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ if [ -n "$VERCEL_PROJECT_ID" ] && [ -n "$VERCEL_TOKEN" ] && [ -n "$VERCEL_ORG_ID
3232
export NEXT_PUBLIC_UNLOCK_ENV="$DEPLOY_ENV"
3333
# move to root directory
3434
cd ..
35-
npx -y vercel build -y --cwd . --token $VERCEL_TOKEN $PROD
36-
npx -y vercel deploy --cwd . --prebuilt --token $VERCEL_TOKEN $PROD --env GOOGLE_CLIENT_SECRET=$GOOGLE_CLIENT_SECRET
35+
# Pinned: v53+ introduced a "File digest missing" upload bug for large SSR Next.js apps.
36+
# v44.4.1 was the last known-working version (July 2025). Verify before upgrading.
37+
npx -y vercel@44.4.1 build -y --cwd . --token $VERCEL_TOKEN $PROD
38+
npx -y vercel@44.4.1 deploy --cwd . --prebuilt --token $VERCEL_TOKEN $PROD --env GOOGLE_CLIENT_SECRET=$GOOGLE_CLIENT_SECRET
3739
else
3840
echo "Failed to deploy to Vercel because we're missing VERCEL_TOKEN, VERCEL_PROJECT_ID and/or VERCEL_ORG_ID"
3941
exit 1

0 commit comments

Comments
 (0)