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

"Failed to get cpu information" on supported architecture #10877

Closed
atbe opened this issue May 7, 2024 · 0 comments · Fixed by #10879
Closed

"Failed to get cpu information" on supported architecture #10877

atbe opened this issue May 7, 2024 · 0 comments · Fixed by #10879
Labels
bug Something isn't working

Comments

@atbe
Copy link

atbe commented May 7, 2024

What version of Bun is running?

bun-v1.1.7

What platform is your computer?

x86

What steps can reproduce the bug?

Spinning up a box on vast.ai, hard to pinpoint what about this specific distro/machine is triggering the exception.

I expect to be able to get cpu info. It doesn't include much more info beyond that. Seems like this exception is being thrown:

.message = bun.String.static("Failed to get cpu information"),

import si from "systeminformation";
console.log(si.cpu())

Here's the side-by-side of me running the same function call that bun runs internally.


I'm currently working try and get a proper stacktrace.

What is the expected behavior?

That the cpu info is returned.

What do you see instead?

An exception is thrown because the os cannot be identified.

Additional information

No response

@atbe atbe added the bug Something isn't working label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant