-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
npx react-native --version: 5.0.1-alpha.2npx react-native info: System:
OS: Windows 10 10.0.19041
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 25.46 GB / 31.95 GB
Binaries:
Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
Versions: 10.0.17763.0, 10.0.18362.0, 10.0.19041.0
IDEs:
Android Studio: Not Found
Visual Studio: 16.9.31112.23 (Visual Studio Community�2019)
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.0 => 0.64.0
react-native-windows: ^0.64.0-0 => 0.64.0
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Set-ExecutionPolicy Unrestricted -Scope Process -Force; iex (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/microsoft/react-native-windows/master/vnext/Scripts/rnw-dependencies.ps1')
2.npx react-native init --template react-native@^0.64.0
3.cd projectName
4.npx react-native-windows-init --overwrite
5.npx react-native run-windows
NuGet.targets(131,5): error MSB4181: The "RestoreTask" task returned false but did not log an error.
Expected Results
Sussesfull run
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\
Microsoft\NuGet\NuGet.targets(131,5): error MSB4181: The "RestoreTask" task returned false
but did not log an error. [C:\Users\---\development\projectName\windows\projectName
e.sln]
1>Done Building Project "C:\Users\----\development\projectName\windows\projectName.sl
n" (Restore target(s)) -- FAILED.