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

Wrong Version of Windows #209

Closed
stanleyowen opened this issue Sep 22, 2021 · 2 comments · Fixed by #242 · May be fixed by #214
Closed

Wrong Version of Windows #209

stanleyowen opened this issue Sep 22, 2021 · 2 comments · Fixed by #242 · May be fixed by #214

Comments

@stanleyowen
Copy link

It seems like running the npx envinfo command, it returns the wrong operating system (since I recently upgraded it to Windows 11).

Here is the output:

System:
    OS: Windows 10 10.0.22000 // It is expected to be Windows 11 instead of Windows 10
    CPU: (4) x64 AMD Ryzen 3 4300U with Radeon Graphics
    Memory: 1.33 GB / 7.37 GB
...

Steps to Reproduce

  1. Open terminal
  2. Type npx envinfo
  3. See the error
@gengjiawen
Copy link
Collaborator

It's using os.release() ,you should report to Node.js.

version = Promise.resolve(os.release());

@stanleyowen
Copy link
Author

stanleyowen commented Sep 24, 2021

Additionally, os.release() only returns the OS's version number, which is 10.0.22000.

The version number is appropriate with the system settings, however the command returns Windows 10 10.0.22000 instead of Windows 11 10.0.22000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants