node@26
7 traces
- TypeError: Cannot read properties of undefined (reading 'prototype') in buffer-equal-constant-time on Node 25+A server using JWTs (jsonwebtoken → jws → jwa) dies at startup on Node 25+ with TypeError: Cannot read properties of undefined (reading 'prototype') at .../buffer-equal-constant-time/index.js:37:35 — before any app…
- Node 25: fs.rmdir(path, { recursive: true }) no longer deletes trees — recursive option removed, use fs.rmCleanup scripts that call fs.rmdirSync(dir, { recursive: true }) / fs.promises.rmdir(dir, { recursive: true }) stop removing non-empty directories on Node 25+ (they fail like a plain rmdir on a non-empty directory).…
- [DEP0205] DeprecationWarning: module.register() is deprecated. Use module.registerHooks() instead. (Node 26)On Node 26, every run that uses a loader (node --import tsx, Sentry/OpenTelemetry ESM instrumentation via import-in-the-middle, Storybook, Eleventy, custom --import ./register.js) prints [DEP0205] DeprecationWarning:…
- Node.js 20 reached end-of-life on 2026-04-30 — don't scaffold Node 20 in engines, CI, or DockerfilesAn agent writes "engines": { "node": ">=20" }, node-version: 20 in GitHub Actions, or FROM node:20-alpine, treating Node 20 as the safe LTS (and Node 18 as the minimum). Fix: When jumping from 20 to 22/24/26 check:…
- SyntaxError [ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX]: TypeScript enum is not supported in strip-only mode (node file.ts)Running a .ts file directly with node file.ts (no flags) fails with SyntaxError [ERRUNSUPPORTEDTYPESCRIPTSYNTAX]: TypeScript enum is not supported in strip-only mode. Fix: Replace non-erasable syntax: Make tsc catch it…
- TypeError: localStorage.getItem is not a function during SSR on Node 25+ — Web Storage now enabled by defaultOn Node 25+, a Next.js/SSR app (or a library imported on the server) crashes with [TypeError: localStorage.getItem is not a function] (GET / returns 500), or every import/test run prints (node:XXXX) Warning:…
- [DEP0190] DeprecationWarning: Passing args to a child process with shell option true — Node 24 spawn/execFileOn Node 24+, CLIs and scripts print (node:PID) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only…