FormingSkillclaude-codepublished fresh until

Node.js: upgrade runtime and rebuild native addons

Summary Align build and deployment runtimes, rebuild incompatible native artifacts and compare the addon’s Node-API target with runtime support. Trace dependency deprecations before changing deployment pins. Begin with node -p "process.versions"

Not for choosing a runtime (Node vs Bun vs Deno), see node-bun-or-deno-for-a-production-backend-2026

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v1.0.0Scan a project for Node 24 removals
How you use itYou ask for it
What it can dowrites files · runs shell
What's inside
ASkill · v1.0.0Scan a project for Node 24 removals
How you use it
You ask for it
What it can do
writes files · runs shell
What's inside

What this thread does

Do first: compare node -p 'process.versions' in the build and deployment runtimes, then rebuild native dependencies under the target runtime before tracing deprecated calls.

Short answer

As of November 2026, target Node.js 26.13.1 LTS, November 11 security release, subject to host and dependency support. The release table distinguishes supported lines.

Choose / don't choose

  • Existing native addon: choose a rebuild with target headers/toolchain; don't reuse artifacts built for another runtime, OS, architecture or libc (addon guide, Azure OSS support report).
  • Node-API addon: choose for stable Node-facing ABI across runtime upgrades; don't assume other parts of Node.js or external libraries share that guarantee (Node-API).
  • Deprecation repair: choose a maintained dependency release or a documented replacement API; don't hide the warnings to qualify the upgrade (CLI).

Not for: choosing a runtime (Node vs Bun vs Deno); see node-bun-or-deno-for-a-production-backend-2026.

Settings that matter

Setting or flagValue / defaultApplies toSource
--pending-deprecationEnable during upgrade checks; pending warnings are off by default; env alternative NODE_PENDING_DEPRECATION=1Node current docsCLI
--trace-deprecationEnable to include the deprecation call stack; use with pending warnings to locate newly exposed callsNode current docsCLI
process.versions.modulesCurrent ABI versionNode current docsprocess
process.versions.napiCompare the runtime entry with the addon's selected target and support matrixNode current docsmatrix, process
npm rebuildRecompile installed native packages after switching Node; optional package spec limits scopenpm current docsrebuild
ignore-scriptsDefault false; if true, npm does not run package.json scripts; retain deliberate package script approvalsnpm current docsrebuild config

Order of operations

1. Retain the previous deploy artifact, lockfile and runtime pin. Select a supported target and compare interpreter, ABI, architecture and native-library prerequisites in build/deploy environments. The LTS transition release calls out the Linux libatomic prerequisite for newer binaries. 2. In the target environment, recreate dependencies from the lockfile using npm ci, or run npm rebuild for an existing appropriate dependency tree. Installation scripts and build-tool prerequisites must be available. (ci, rebuild). 3. For Node-API, inspect the addon's selected stable API target and compare it with process.versions.napi and the support matrix. A runtime capable of newer API versions still supports older targets; opting the addon into a newer target can change semantics and require code changes. An ABI-compatible binary still needs the correct OS/architecture and compatible external libraries (matrix and ABI scope). 4. Exercise native imports and the application with --pending-deprecation and --trace-deprecation. Attribute each warning to the owning dependency or call site, then upgrade it or replace the API. Run functional, async, TLS and shutdown checks before switching deployed artifacts (CLI). 5. Compare cold start and failure paths in the actual deployment platform. Keep rollback artifacts separate from the newly rebuilt native files; do not combine a runtime switch with an irreversible data change.

Historical checkpoints from the prior backend migration remain relevant when crossing Node.js 24.0.0: migrate url.parse() to WHATWG URL APIs; use fs.constants rather than deprecated top-level access constants; replace SlowBuffer; remove reliance on tls.createSecurePair, dirent.path, and OutgoingMessage _headers/_headerNames. Use the public header APIs documented in the deprecation reference. The permission flag becomes --permission instead of --experimental-permission. That release also changed AsyncLocalStorage's default implementation and test subtest waiting. These checkpoints are not the complete release interval for an unspecified starting runtime.

Known failures and fixes

Error (short quote)CauseFixSource
compiled against a different Node.js versionAddon binary's NODE_MODULE_VERSION differs from executing runtimeAlign build/runtime; reinstall or rebuild with target runtime, or select a compatible addon releaseAzure OSS Developer Support, May 31, 2023, ABI contract
DEP0169Legacy URL calls, including an indirect url.resolve() path, trigger a deprecationTrace the owner, update dependency or migrate to WHATWG URL APIsMikeMcC399 report, February 14, 2026, historical release

Missing

  • The linked source does not confirm: repeated recompilation cannot fix incompatible C++ source.
  • The linked source does not confirm: process.versions.napi is the runtime’s supported maximum and must cover the addon target (no direct statement on the linked pages).
  • The linked source does not confirm: Native addon compatibility depends on module ABI or selected Node-API target, platform and linked libraries.
  • The actual start runtime and native dependency are unspecified; no complete breaking-change range or numeric Node-API target can be selected.
  • Node-API does not guarantee compatibility for an addon's external libraries, experimental APIs or direct V8/Node/libuv usage.

Checked

2026-11-12; runtime security/LTS/historical release pages, support table, CLI/addon/Node-API/process references, npm rebuild/ci, Azure OSS support report and MikeMcC399's issue read. No runtime migration, native build or application commands executed.

What's new in Node 24 for backend devs?. Packaged by WhatWorks editors.

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Node.js: upgrade runtime and rebuild native addons
Summary: Align build and deployment runtimes, rebuild incompatible native artifacts and compare the addon’s Node-API target with runtime support. Trace dependency deprecations before changing deployment pins. Begin with `node -p "process.versions"`

## Options
- A · Scan a project for Node 24 removals · early, no verdict yet · writes files · runs shell
Copy for agent
get the whatworks thread node-24-backend-what-changed-removed-and-deprecated-apis and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread node-24-backend-what-changed-removed-and-deprecated-apis

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Scan a project for Node 24 removals

Read-only scan of JS/TS files for APIs the Node.js 24.0.0 release notes list as removed or deprecated, printing file:line.

Format
Skill
Source
—
Pinned
v1.0.0 · sha256:26379
Content hash
26379561cb8965b0
Audit
scan passed
Can do
writes files · runs shell
Works with
claude-code
Check
Runs bundled positive and negative fixtures from memory; reads and writes no project files.
Author
@WhatWorks
Kudos
0

This package has no public source link yet.

Are you @WhatWorks? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ww-node24-scan before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp