You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Command failed: wmic os get Caption
'wmic' is not recognized as an internal or external command,
operable program or batch file.
Severity
annoyance
Additional Information
There's a PR tabrindle/envinfo#214 that's been open for a year and a half that I have not really looked into. Part of the reason it has been hanging around so long is that it is a huge change, presumably because it is also rewriting the tool from CJS to ESM. I don't know what made that a necessary change to do at the same time. Apparently, even before then, the command was misreporting Windows 11 as Windows 10, which isn't ideal, but is better than crashing.
Do we want to fork this and/or provide our own tool to use in the issue template for this repo?
The text was updated successfully, but these errors were encountered:
Describe the bug
The
envinfo
command that is part of the issue template instructions fails on Windows 11 (or at least on more recent builds of it).Reproduction
npx envinfo --system --binaries --browsers --npmPackages "{svelte,@sveltejs/*,vite}"
Logs
No response
System Info
Error: Command failed: wmic os get Caption 'wmic' is not recognized as an internal or external command, operable program or batch file.
Severity
annoyance
Additional Information
There's a PR tabrindle/envinfo#214 that's been open for a year and a half that I have not really looked into. Part of the reason it has been hanging around so long is that it is a huge change, presumably because it is also rewriting the tool from CJS to ESM. I don't know what made that a necessary change to do at the same time. Apparently, even before then, the command was misreporting Windows 11 as Windows 10, which isn't ideal, but is better than crashing.
Do we want to fork this and/or provide our own tool to use in the issue template for this repo?
The text was updated successfully, but these errors were encountered: