Skip to content

Node.js v24 support #1360

@chrisbloe-nhse

Description

@chrisbloe-nhse

Bug Report

What is the issue?

When building with Node.js v24, the following warning appears in the logs:

npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: undefined
npm error notsup Not compatible with your version of node/npm: undefined
npm error notsup Required: {"node":"^20.9.0 || ^22.11.0"}
npm error notsup Actual: {"npm":"11.3.0","node":"v24.1.0"}

What steps are required to reproduce the issue?

Clone the repo
Using Node.js 24.1.0, run npm install

What was the environment where this issue occurred?

  • NHS.UK frontend package version: 9.6.1
  • Node version: 24.1.0
  • npm version: 11.3.0

Is there anything else you think would be useful in recreating the issue?

Whilst not currently an LTS version (atow), v24 will become the next LTS, so it's understandable if v24 is not fully supported until it becomes LTS.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Ready to release

Relationships

None yet

Development

No branches or pull requests

Issue actions