cli
cli copied to clipboard
Newer versions of windows can't run `npx react-native info` because of the missing wmic
Environment
npx react-native info
info Fetching system and libraries information...
error Unable to print environment info.
Error: Command failed: wmic os get Caption
'wmic' is not recognized as an internal or external command,
operable program or batch file.
Description
See above
Reproducible Demo
This will repro on Windows 10 21H1 and above. See https://docs.microsoft.com/en-us/windows/win32/wmisdk/wmic
@thymikee can you please reopen this, since the change was backed out
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.