Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envinfo command in issue template fails on Windows 11 #10259

Open
Conduitry opened this issue Jun 26, 2023 · 0 comments
Open

envinfo command in issue template fails on Windows 11 #10259

Conduitry opened this issue Jun 26, 2023 · 0 comments
Labels

Comments

@Conduitry
Copy link
Member

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?

@Conduitry Conduitry added the meta label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant