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

[@mui/envinfo] Wrong Version of Windows #28532

Closed
2 tasks done
stanleyowen opened this issue Sep 22, 2021 · 3 comments
Closed
2 tasks done

[@mui/envinfo] Wrong Version of Windows #28532

stanleyowen opened this issue Sep 22, 2021 · 3 comments
Labels
bug 🐛 Something doesn't work external dependency Blocked by external dependency, we can’t do anything about it

Comments

@stanleyowen
Copy link

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

I noticed that while running the npx @mui/envinfo, it returns the wrong operating system (since I recently upgraded it to Windows 11).

Saw:

System:
    OS: Windows 10 10.0.22000 // It displays Windows 10 instead of Windows 11
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.15.0 - C:\Program Files\nodejs\npm.CMD
...

Expected Behavior 🤔

System:
    OS: Windows 11 10.0.22000
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.15.0 - C:\Program Files\nodejs\npm.CMD

Steps to Reproduce 🕹

Steps:

  1. Open terminal
  2. Type npx @mui/envinfo
  3. See the error

Your Environment 🌎

`npx @mui/envinfo`
  System:
    OS: Windows 10 10.0.22000
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.15.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 94.0.4606.54
    Edge: Spartan (44.22000.120.0), Chromium (93.0.961.52)
  npmPackages:
    @emotion/react: ^11.4.1 => 11.4.1 
    @emotion/styled: ^11.3.0 => 11.3.0 
    @mui/core:  5.0.0-alpha.47
    @mui/lab: ^5.0.0-alpha.47 => 5.0.0-alpha.47
    @mui/material: ^5.0.0 => 5.0.0
    @mui/private-theming:  5.0.0
    @mui/styled-engine:  5.0.0
    @mui/system:  5.0.0
    @mui/types:  7.0.0
    @mui/utils:  5.0.0
    @types/react: ^17.0.22 => 17.0.22
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript: ^4.4.3 => 4.4.3
@stanleyowen stanleyowen added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 22, 2021
@eps1lon
Copy link
Member

eps1lon commented Sep 22, 2021

We get this information from the envinfo package. Does npx envinfo produce the same wrong OS version?

@stanleyowen
Copy link
Author

Yep, it also returns the false OS version.
Here is some of the outputs:

System:
    OS: Windows 10 10.0.22000
    CPU: (4) x64 AMD Ryzen 3 4300U with Radeon Graphics
    Memory: 1.57 GB / 7.37 GB
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.15.0 - C:\Program Files\nodejs\npm.CMD
  Managers:
    pip3: 21.2.3 - ~\AppData\Local\Programs\Python\Python39\Scripts\pip3.EXE
  Utilities:
    Git: 2.33.0.

@mnajdova mnajdova added bug 🐛 Something doesn't work external dependency Blocked by external dependency, we can’t do anything about it and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 24, 2021
@eps1lon
Copy link
Member

eps1lon commented Oct 2, 2021

Thanks for the report.

However, this is not actionable for us since we rely on another dependency. I also don't have Windows 11 so I can't investigate this issue further.

We haven't seen any issues between Windows 10 and 11 so we may not need such a granular information.

Closing in favor of tabrindle/envinfo#209

@eps1lon eps1lon closed this as completed Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work external dependency Blocked by external dependency, we can’t do anything about it
Projects
None yet
Development

No branches or pull requests

3 participants