fix(ci): Loosen required npm version to 10.x in package.json#engines#28926
Merged
colbywhite merged 1 commit intocloudflare:productionfrom Mar 11, 2026
Merged
fix(ci): Loosen required npm version to 10.x in package.json#engines#28926colbywhite merged 1 commit intocloudflare:productionfrom
colbywhite merged 1 commit intocloudflare:productionfrom
Conversation
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
colbywhite
approved these changes
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Node v22.9.0 installs NPM v10.8.3
Because NPM isn't explicitly installed at the required version in Workers Builds,
engine-strictthrows an error:cloudflare-docs/.npmrc
Line 3 in d9226fd
This loosens the
npmrestriction that was introduced in #27530Screenshots (optional)
Before
After
Documentation checklist