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

Add support for non-Intel architectures #19

Open
ilg-ul opened this issue Jun 27, 2020 · 6 comments
Open

Add support for non-Intel architectures #19

ilg-ul opened this issue Jun 27, 2020 · 6 comments

Comments

@ilg-ul
Copy link

ilg-ul commented Jun 27, 2020

I have a CLI tool that installs different binaries depending on the system architecture, and it worked fine so far for Windows, macOS and Intel GNU/Linux, but when I tried it on a Raspberry Pi, it installed the x86 binary, which obviously is not the desired effect.

Since Node.js is available on non-Intel architectures too, it would be recommended to support them too, and by all means avoid converting from one architecture to another.

@feross
Copy link
Owner

feross commented Nov 18, 2020

It looks like the possible values for os.arch() are 'arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32', and 'x64' based on https://nodejs.org/api/os.html#os_os_arch so we should attempt to return similar values.

I would accept a PR to add support for these additional values.

@ilg-ul

This comment has been minimized.

@MatthewFagan
Copy link

This one is also an issue for me. I can provide code for my case, but I see you have an exsting PR that is 6 months old and still sitting there. Is this repo still active?

@Leonewu
Copy link

Leonewu commented Jan 21, 2024

same problem. It will misleading other packages depend on this
74f7aae3-9685-4b3f-83e5-8bba8c900771

@ilg-ul
Copy link
Author

ilg-ul commented Jan 21, 2024

Is this repo still active?

The most recent commit is from Oct 28, 2020.

@XhmikosR
Copy link

Could someone try v3.0.0? It has #22 merged which should fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants