Skip to content

fix(deps): pin @types/node to 24.3.2 so the official build can restore - #1498

Merged
Jayanth Reddy Bujula (jbujula) merged 1 commit into
mainfrom
users/jbujula/pin-types-node-24.3.2
Oct 7, 2026
Merged

Jayanth Reddy Bujula (jbujula) merged 1 commit into
mainfrom
users/jbujula/pin-types-node-24.3.2

Conversation

@jbujula

@jbujula Jayanth Reddy Bujula (jbujula) commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Why

The official build (ADO BT-Official, pipeline 21491, build 22669950) fails in NPM: Pre-install cli-wrapper from DPX-Tools-Upstream:

npm error 404 Not Found - GET https://pkgs.dev.azure.com/dynamicscrm/OneCRM/_packaging/DPX-Tools-Upstream/npm/registry/@types/node/-/node-24.3.3.tgz
- Cannot find the package '@types/node' in feed

@types/node also exists in internal upstream feeds of DPX-Tools-Upstream. With the feed's default ("auto") upstream behavior, Azure Artifacts then hides the npmjs versions and serves only the copies those internal feeds already hold. 24.3.2 is the only 24.3.x it can serve. 24.3.3 restored fine on 2026-08-18 and 404s now.

Change

  • package.json: overrides."@types/node" ~24.3.0 -> 24.3.2. It has to be an exact pin, because ~24.3.2 would resolve back to 24.3.3.
  • package-lock.json: the single @types/node entry, 24.3.3 -> 24.3.2. Nothing else changes.

Same 24.3 line as before, dev-only type definitions, one patch lower.

Validation

  • I checked every package in the lockfile against DPX-Tools-Upstream; @types/node 24.3.3 was the only one the feed can't serve.
  • The 24.3.2 tarball downloads from DPX-Tools-Upstream (HTTP 200).
  • npm ci --dry-run passes, and every @types/node in the tree resolves to 24.3.2.
  • The build checks on this PR run the full npm ci + build + tests.

Notes

BT-Official (ADO 21491, build 22669950) fails in "NPM: Pre-install
cli-wrapper from DPX-Tools-Upstream":

  npm error 404 Not Found - GET .../DPX-Tools-Upstream/npm/registry/@types/node/-/node-24.3.3.tgz

@types/node also exists in internal upstreams of DPX-Tools-Upstream, so the
feed's default upstream behavior hides the npmjs versions and only serves the
copies those feeds already hold. 24.3.2 is the only 24.3.x it can serve.

Pin the override to exactly 24.3.2: same 24.3 line as before, dev-only type
definitions, one patch lower. A range like ~24.3.2 would resolve back to
24.3.3. Lockfile change is the single @types/node entry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jbujula
Jayanth Reddy Bujula (jbujula) merged commit 5c6d867 into main Oct 7, 2026
5 checks passed
@jbujula
Jayanth Reddy Bujula (jbujula) deleted the users/jbujula/pin-types-node-24.3.2 branch October 7, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants