microsoft / microsoft/winget-pkgs

[Package Issue]: OpenJS.NodeJS

Open
#347,574 5 comments 0 reactions 0 assignees View on GitHub
Issue-Bug Needs-Triage
Dominant language
No language data
Stars
11.1k
Forks
9.7k
PR merge metrics
PR metrics pending

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.

### Category of the issue

No applicable update found.

### Brief description of your issue

Having OpenJS.NodeJS version 18.10.0 installed when attempting to upgrade no appropiate package can be determined.
Strong matches found for id's OpenJS.Node.JS.18 and OpenJS.Node.JS.22 but not for OpenJS.Node.JS. Unable to upgrade via automated means.

### Steps to reproduce

Have OpenJS.NodeJS version 18.10.0 installed.
Run winget upgrade, no matches found for OpenJS.NodeJS

### Actual behavior

Logs show:
Found multiple packages with strong match fields.
Appropiate available package could not be determined.

### Expected behavior

Expected to find OpenJS.NodeJS 25.8.0 (or higher if released) as an available upgrade.

### Environment

```raw
winget --info
Windows Package Manager v1.12.470
Windows: Windows.Desktop v10.0.26100.7628
Package: Microsoft.DesktopAppInstaller v1.27.470.0
```

### Screenshots and Logs

2026-03-11 10:18:26.142 [REPO] Found multiple matches for installed package [ARP\Machine\X64\{44544FD4-7FF9-4316-A5E8-15788C995247}] in source [Microsoft.Winget.Source_8wekyb3d8bbwe] when searching for [Query:[none] Include:ProductCode='{44544fd4-7ff9-4316-a5e8-15788c995247}'[Exact] Include:UpgradeCode='{47c07a3a-42ef-4213-a85d-8f5a59077c28}'[Exact] Include:NormalizedNameAndPublisher='nodejs'+'nodejsfoundation'[Exact]]
2026-03-11 10:18:26.143 [REPO] Checking match with package id: OpenJS.NodeJS.18
2026-03-11 10:18:26.143 [REPO] Checking match with package id: OpenJS.NodeJS.22
2026-03-11 10:18:26.143 [REPO] Found multiple packages with strong match fields
2026-03-11 10:18:26.143 [REPO] Appropriate available package could not be determined

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `winget upgrade` with OpenJS.NodeJS 18.10.0 and review the provided logs showing matches for OpenJS.NodeJS.18 and OpenJS.NodeJS.22. Trace how the installed package identity is matched to available packages. Done when the unversioned OpenJS.NodeJS installation is assigned an appropriate upgrade, such as 25.8.0 or newer.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.