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

Install fails on Apple M1 processors #611

Open
jzalger opened this issue Jun 2, 2021 · 4 comments
Open

Install fails on Apple M1 processors #611

jzalger opened this issue Jun 2, 2021 · 4 comments

Comments

@jzalger
Copy link

jzalger commented Jun 2, 2021

Description

Installer does not recognize the new arm architecture for the Apple M1

Steps to reproduce

When using the bash command line install on an M1 Mac

bash <( curl -sL https://particle.io/install-cli )

get the following traceback:

:::: Installing the Particle CLI for darwin to "/Users/.../bin/particle"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
KeyError: 'arm'
gunzip: (stdin): unexpected end of file

Expected result

Install should proceed.

Actual result

Install fails with above traceback.

Environment

Tell us about your setup:

  • OS: Mac OS 11.3 with M1 Chip
  • Node (run node -v): v16.1.0
  • NPM (run npm -v): 7.11.2
  • Particle CLI (run particle version):
@busticated
Copy link
Contributor

can you try again with your terminal's "open using rosetta" option checked?

open using rosetta

@jzalger
Copy link
Author

jzalger commented Jun 3, 2021

That did resolve it. Any plans to have a build for the M1 ?
Can I help at all?

@busticated
Copy link
Contributor

Any plans to have a build for the M1?

yes, in time. we're basically downstream of Node.js (which added support as of v16), node-usb (which seems to have added support as of v1.7.1), and node-serialport (where things seem a bit more complicated) so it may be a while.

Can I help at all?

thanks for the offer 🙏 i'd point you at those upstream project(s) as they're far more in need of help than us in some regards. ultimately once our dependencies have full and stable support, we'll need to update to the latest / greatest over here, test, and release.

@edalquist
Copy link

Any updates here? I tried installing using rosetta but particle-cli depends on brew and I already have a LARGE brew install of M1 compiled dependencies

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

3 participants