Skip to content

Fix rnw-dependencies.ps1 Node.js installation failures#1132

Merged
vineethkuttan merged 3 commits intomicrosoft:mainfrom
HariniMalothu17:user/harinimalothu/updatenodeversion
Feb 13, 2026
Merged

Fix rnw-dependencies.ps1 Node.js installation failures#1132
vineethkuttan merged 3 commits intomicrosoft:mainfrom
HariniMalothu17:user/harinimalothu/updatenodeversion

Conversation

@HariniMalothu17
Copy link
Contributor

@HariniMalothu17 HariniMalothu17 commented Jan 19, 2026

Description

The rnw-dependencies.ps1 script fails to install Node.js with the error:

WARNING: There was a problem trying to install Node.js (LTS, >= 22.0)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

  • The script requests version 22.14.0 from OpenJS.NodeJS.LTS, but this is a rolling package that now only contains 24.x versions (22.14.0 exists in OpenJS.NodeJS.22, not .LTS)

Resolves [Add Relevant Issue Here]

What

  • Removed hardcoded Node.js version - Now installs latest LTS instead of a specific version that may not exist

Screenshots

image

Testing

tested on a new vm .Worked as expected

Changelog

Should this change be included in the release notes: no

Add a brief summary of the change to use in the release notes for the next release.

Microsoft Reviewers: Open in CodeFlow
Microsoft Reviewers: Open in CodeFlow

@vineethkuttan vineethkuttan enabled auto-merge (squash) February 13, 2026 05:39
@vineethkuttan vineethkuttan merged commit d5ca7fa into microsoft:main Feb 13, 2026
21 checks passed
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