qovery-cli icon indicating copy to clipboard operation
qovery-cli copied to clipboard

Can't run `qovery auth` on a Mac M3

Open jmeiss opened this issue 1 year ago • 2 comments

What happened: zsh: bad CPU type in executable: qovery

What you expected to happen: Be connected to use Qovery CLI

How to reproduce it (as minimally and precisely as possible): Buy a MacBook Pro M3 :trollface: Then run qovery auth

Anything else we need to know?:

Environment:

  • Qovery version (use qovery version): latest (but I can't run qovery version)
  • OS and version: Sonoma 14.3
  • Others: Chip Apple M3 Pro

jmeiss avatar Feb 01 '24 14:02 jmeiss

Temporary fix: use Rosetta

https://medium.com/@jithmisha/fix-for-macbook-air-m1-m2-bad-cpu-type-in-executable-error-3719a0a1cb6

jmeiss avatar Feb 02 '24 09:02 jmeiss

Hey @jmeiss,

Sorry for the delay here. Do you still have the issue? Did you reinstall the CLI recently?

On my side I have a m3 air (sorry not a Pro :sweat_smile:), and I think it's properly running on Apple Silicon:

Runs qovery auth and let it hangs, then in a terminal or in activity monitor, you should be able to check:

$ qovery auth &

$ ps aux | grep qovery
benjaminch       28212   0.0  0.1 409931744  16800 s001  S+   11:42AM   0:00.03 qovery auth

$ lsof -p18510 -p18510 | grep /usr/libexec/rosetta/runtime

CleanShot 2024-04-22 at 11 59 02

Let me know ! Cheers

benjaminch avatar Apr 22 '24 10:04 benjaminch