Skip to content

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

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.

1 participant