-
Notifications
You must be signed in to change notification settings - Fork 92
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
Apple silicon not working? #916
Comments
Hey @dborstelmann thanks for the report - very strange you're running into this error! I'm unable to reproduce this on my own M1 machine. Could you perhaps attempt to install with the curl installer instead of npm with |
New M1 Max/M1 Pro different than M1? I'm out of my depth here |
Hmmmm - after doing some research it looks like Apple may be removing Rosetta 2 from some regions? https://www.macrumors.com/2021/03/02/rosetta-macos-11-3-strings/ We only build Rover for x86_64 Apple machines since (afaik) there isn't a good way to create native ARM binaries with CircleCI, and the new M1 machines come with Rosetta 2 which should allow you to run x86_64 binaries on an ARM device. This page has instructions on installing Rosetta 2 manually, but it kinda sucks you have to do this on your own. If installation doesn't work,the easiest way for you to get unblocked here is going to be to build and install from source: # install rustup
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# clone the repo
$ git clone [email protected]:apollographql/rover.git
# change directories to the repo
$ cd rover
# compile rover from source for your architecture and run the installation command
$ cargo run --release -- install Sorry for the inconvenience here - we may need to do some investigation into building native ARM binaries if this affects a ton of new mac users. EDIT: fixed some links to Rosetta 2 stuff |
Thanks for the quick response. I did this workaround and I'm back up and running. Is the long term solution here to wait on CircleCI to allow you to build for ARM? |
Yeah I think so - I've reopened #260 since we want the experience for newer machines to work smoothly, going to close this since you're unblocked and you can track the longer term solution there. For now you should be able to just |
npm install -g @apollo/rover
Installs fine. Then run
rover --version
New M1 Max Macbook Pro running Montery 12.0.1.
The text was updated successfully, but these errors were encountered: