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

No ARM32 support #528

Closed
GoldenTK opened this issue Nov 13, 2020 · 2 comments
Closed

No ARM32 support #528

GoldenTK opened this issue Nov 13, 2020 · 2 comments

Comments

@GoldenTK
Copy link

GoldenTK commented Nov 13, 2020

Hi,
I have a small raspberryPi 4 with code-server on it and I decided to use snowpack in my new project but when I tried to install esbuild I'm getting:

Unsupported platform: linux arm LE

My linux version:

Linux raspberrypi 5.4.75-v8+ #1367 SMP PREEMPT Mon Nov 9 15:11:16 GMT 2020 aarch64 GNU/Linux

Could you please add support for ARM64 platform? I think it's crucial to have support for ARM's.

@rtsao
Copy link
Contributor

rtsao commented Nov 13, 2020

There is already support for ARM64, but it appears installation is failing because os.arch() is returning arm rather than arm64 which esbuild expects. Is it possible you are accidentally using the 32-bit Node.js ARM binary? My understanding is that os.arch() actually returns the architecture of the Node.js process, not the OS CPU architecture.

Maybe esbuild should use a heuristic like https://github.com/feross/arch to determine the actual CPU architecture.

@GoldenTK
Copy link
Author

Hmm I just upgraded raspbian to 64bit version, maybe that's the case.

@evanw evanw changed the title No ARM64 support No ARM32 support Nov 14, 2020
@evanw evanw closed this as completed in cef00bd Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants