Closed
Description
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
- 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:
- 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"
- 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 doiex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-vs2022-deps.ps1 -verbose');
did not work.
Expected Results
- 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