You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently os.platform() reports "browser", and os.arch() reports "javascript". These functions are used for determining the appropriate binary build to load, but these values don't actually represent the real os/arch. os.platform() should report "linux" (or "darwin" or hopefully someday "win32"), and os.arch() should report "x64" or "arm64" (or anything else you support).
The text was updated successfully, but these errors were encountered:
(said this over DM but repeating for other readers)
The issue is bun doesn't implement the "os" module right now – it's using a browserify polyfill. Will fix this at least partially in teh next release, though will probably not implement all of "os" next release. Just enough to make it work a little better
Currently
os.platform()
reports "browser", andos.arch()
reports "javascript". These functions are used for determining the appropriate binary build to load, but these values don't actually represent the real os/arch.os.platform()
should report "linux" (or "darwin" or hopefully someday "win32"), andos.arch()
should report "x64" or "arm64" (or anything else you support).The text was updated successfully, but these errors were encountered: