Skip to content

fix(ci): Loosen required npm version to 10.x in package.json#engines#28926

Merged
colbywhite merged 1 commit intocloudflare:productionfrom
ericclemmons:patch-2
Mar 11, 2026
Merged

fix(ci): Loosen required npm version to 10.x in package.json#engines#28926
colbywhite merged 1 commit intocloudflare:productionfrom
ericclemmons:patch-2

Conversation

@ericclemmons
Copy link
Member

@ericclemmons ericclemmons commented Mar 11, 2026

Summary

Node v22.9.0 installs NPM v10.8.3

Because NPM isn't explicitly installed at the required version in Workers Builds, engine-strict throws an error:

engine-strict=true

This loosens the npm restriction that was introduced in #27530

Screenshots (optional)

Before

Screenshot 2026-03-10 at 5 02 27 PM

After

Screenshot 2026-03-11 at 11 51 22 AM

Documentation checklist

Node v22.9.0 installs NPM v10.8.3

Because NPM isn't explicitly installed at the required version in Workers Builds, `engine-strict` throws an error:
https://github.com/cloudflare/cloudflare-docs/blob/d9226fdc9569605eae696477c7f257ecefdea007/.npmrc#L3

This loosens the `npm` restriction that was introduced in cloudflare#27530
@ericclemmons ericclemmons changed the title Loosen required npm version to 10.x in package.json#engines fix(ci): Loosen required npm version to 10.x in package.json#engines Mar 11, 2026
@ericclemmons ericclemmons marked this pull request as ready for review March 11, 2026 17:17
@ericclemmons ericclemmons requested a review from a team as a code owner March 11, 2026 17:17
@colbywhite colbywhite merged commit 80ac005 into cloudflare:production Mar 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants