Skip to content

systeminformation stopped working on Windows 7 after version 5.27.10 #1009

@cmclient

Description

@cmclient

Describe the bug
systeminformation stopped working on Windows 7 after version 5.27.10.

Using [email protected] or [email protected] on Windows 7 causes it to hang indefinitely when retrieving system info.

Some of my users are still using Windows 7 with my app.

To Reproduce
Steps to reproduce the behavior:

  1. install [email protected] or [email protected]
  2. use the function si.osInfo() or run npx systeminformation info
  3. code snippet
import si from "systeminformation";

async function main() {
    console.log("Getting system information...")
    const system = await si.osInfo();
    console.log(system);
}

main();

Current Output
Process hangs when trying to retrieve system information.

Expected behavior
It should return OS information without getting stuck.

Environment (please complete the following information):

  • systeminformation package version: 5.27.10 or 5.27.11
  • OS: Windows 7 (VM)
  • Hardware: R9 5950X | RTX 4070

Additional informations:
YouTube video demonstrating the issue: https://youtu.be/kSlTdf4ApZM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions