openclaw - ✅(Solved) Fix SECURITY.md references Node.js >=22.12.0 but runtime enforces >=22.14.0 [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59476Fetched 2026-04-08 02:25:25
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
cross-referenced ×1referenced ×1

Fix Action

Fix / Workaround

const MIN_NODE: Semver = { major: 22, minor: 14, patch: 0 };
// ...
"openclaw requires Node >=22.14.0."

PR fix notes

PR #59478: docs: fix Node.js minimum version in SECURITY.md (22.12.0 → 22.14.0)

Description (problem / solution / changelog)

Fixes #59476

SECURITY.md § "Node.js Version" (lines 266, 274) referenced 22.12.0 but src/infra/runtime-guard.ts enforces 22.14.0 (MIN_NODE = { major: 22, minor: 14, patch: 0 }).

A user following the documented guidance with Node 22.12.0 would pass the SECURITY.md check but fail at startup.

Changes

  • Line 266: 22.12.0 → 22.14.0
  • Line 274: v22.12.0 → v22.14.0

Changed files

  • SECURITY.md (modified, +2/-2)

Code Example

const MIN_NODE: Semver = { major: 22, minor: 14, patch: 0 };
// ...
"openclaw requires Node >=22.14.0."
RAW_BUFFERClick to expand / collapse

SECURITY.md § "Node.js Version" (lines 266, 274) states the minimum required version is 22.12.0, but src/infra/runtime-guard.ts enforces 22.14.0:

const MIN_NODE: Semver = { major: 22, minor: 14, patch: 0 };
// ...
"openclaw requires Node >=22.14.0."

A user following SECURITY.md guidance with Node 22.12.0 would pass the documented check but fail at startup with:

openclaw requires Node >=22.14.0.

Suggested fix

Update SECURITY.md lines 266 and 274:

  • OpenClaw requires **Node.js 22.14.0 or later** (LTS).
  • node --version # Should be v22.14.0 or later

extent analysis

TL;DR

Update SECURITY.md to reflect the minimum required Node.js version as 22.14.0 to match the runtime guard in src/infra/runtime-guard.ts.

Guidance

  • Review src/infra/runtime-guard.ts to understand the current Node.js version enforcement.
  • Update SECURITY.md lines 266 and 274 to reflect the correct minimum required Node.js version (22.14.0).
  • Verify the change by checking the SECURITY.md file for the updated version requirement.
  • Consider adding a note to the commit message explaining the reason for the update to help with future maintenance.

Example

// Updated SECURITY.md
OpenClaw requires Node.js 22.14.0 or later (LTS).
node --version  # Should be v22.14.0 or later

Notes

This fix assumes that the minimum required Node.js version is indeed 22.14.0. If this version requirement changes in the future, the SECURITY.md file should be updated accordingly.

Recommendation

Apply workaround: Update SECURITY.md to reflect the correct minimum required Node.js version, as this will ensure consistency between the documented requirements and the actual runtime checks.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING