Skip to content

System Requirements Script Didn't Work #13882

Closed
@stmoy

Description

@stmoy

Problem Description

I ran the script: https://microsoft.github.io/react-native-windows/docs/rnw-dependencies#install-the-development-dependencies on a totally fresh machine (incl. no VS installed). It didn't work -- every step after attempting to install VS through Node.js, Yarn, and .NET SDK failed.

I suspect the issue was that the VS installation didn't complete which caused the other dependencies to fail. Once I manually finished installing Visual Studio, the other dependencies were installed successfully.

Steps To Reproduce

  1. On a fresh computer, run the scripts located here: https://microsoft.github.io/react-native-windows/docs/rnw-dependencies#install-the-development-dependencies

A few other notes:

  1. For non-installation dependencies (ie. Developer mode, long path support), it's a bit confusing that the script prompts "do you want to install?" -- it should probably state "do you want to turn on Developer Mode"
  2. The script suggest running with flags -debug or -verbose, but it's unclear how to do that when the command is:
    iex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-vs2022-deps.ps1');
    Attempting to do iex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-vs2022-deps.ps1 -verbose'); did not work.

Expected Results

  1. Dependencies are installed correctly

CLI version

N/A

Environment

Admin powershell

Community Modules

No response

Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe issue/PR needs activity from its author (label drives bot activity)Needs: Environment InfoIssue lacks proper environment issue (label drives bot activity)Workstream: Developer ExperienceSupport the RNW developer inner-loop.bugno-recent-activityIssue/PR has gone stale and may be closed (label applied by bot)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions