Skip to content

fix(deploy): pin Node 24.x so Vercel installs better-sqlite3 from its prebuilt binary - #76

Merged
thebenignhacker merged 1 commit into
mainfrom
integrate/2026-11-08-a
Nov 8, 2026
Merged

thebenignhacker merged 1 commit into
mainfrom
integrate/2026-11-08-a

Conversation

@thebenignhacker

Copy link
Copy Markdown
Contributor

This pull request lands 1 commit in package.json.

Included

  • fix(deploy): pin Node 24.x so Vercel installs better-sqlite3 from its prebuilt binary

Verified on this exact tree

  • npm ci --no-audit --no-fund (Node v24.22.1, npm 11.19.1): added 205 packages in 15s
  • npm run build (next build, Next.js 16.4.2, Node v24.22.1): Compiled successfully in 3.4s; Generating static pages (3/3); Finished TypeScript in 1ms; exit 0
  • node --test --test-concurrency=4 test/*.test.js (Node v24.22.1): tests 271, pass 271, fail 0, cancelled 0, skipped 0, todo 0; exit 0
  • git ls-files | grep -c '\.test\.js$': 19
  • git status --porcelain after the build and after the test run: no output
  • ls tsconfig.json: No such file or directory
  • node -e "console.log(require('./package.json').scripts.lint || 'no lint script')": no lint script
  • ls CHANGELOG.md: No such file or directory
  • git ls-files | grep -ci changelog: 0

Not included

None

Closes

None

How to merge

Rebase and merge, so that each change stays its own commit on main.

… prebuilt binary

Vercel's build image moved to Node 26, for which better-sqlite3 12.6.2 ships no
prebuilt binary; node-gyp then compiles it against the Node 26 V8 headers and
fails, so every production deploy since 2026-11-04 ended in Error while the
daily collector kept committing data the site could not pick up. The workflows
already run on Node 24; this pins the Vercel build to the same line.
@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
github-analytics-tracker Ready Ready Preview Nov 8, 2026 8:13am UTC

Request Review

@thebenignhacker
thebenignhacker merged commit 9455c69 into main Nov 8, 2026
3 checks passed
@thebenignhacker
thebenignhacker deleted the integrate/2026-11-08-a branch November 8, 2026 08:16

This branch was successfully deployed

1 active deployment
Preview — dfd44956 Deployed Nov 8, 2026 by vercel[bot]
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