Skip to content

os.cpus() returns empty array. #38190

Closed
Closed
@ghost

Description

What steps will reproduce the bug?

const os = require("os");
console.log(os.cpus());

How often does it reproduce? Is there a required condition?

it happens whenever I run os.cpus()

What is the expected behavior?

it is supposed to print an Array of the CPUs of the phone.

What do you see instead?

I see an empty Array [] instead.

Additional Information

I made an web app that shows system information in the browser, it works on my pc but never worked on this device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidIssues and PRs related to the android platform.libuvIssues and PRs related to the libuv dependency or the uv binding.osIssues and PRs related to the os subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions