Qovery / qovery-cli

Qovery Command Line Interface
https://www.qovery.com
Apache License 2.0
77 stars 25 forks source link

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

Open jmeiss opened 7 months ago

jmeiss commented 7 months ago

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:

jmeiss commented 7 months ago

Temporary fix: use Rosetta

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

benjaminch commented 4 months ago

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