cli icon indicating copy to clipboard operation
cli copied to clipboard

Newer versions of windows can't run `npx react-native info` because of the missing wmic

Open jonthysell opened this issue 4 years ago • 1 comments

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

jonthysell avatar Nov 19 '21 01:11 jonthysell

@thymikee can you please reopen this, since the change was backed out

asklar avatar Dec 09 '21 15:12 asklar

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.

github-actions[bot] avatar Nov 26 '22 03:11 github-actions[bot]