Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
597 stars 117 forks source link

deploy command not working on Apple Silicon #742

Open alexweininger opened 1 year ago

alexweininger commented 1 year ago

Using version 1.1.4

Describe the bug

When running swa deploy on my Apple Silicon Macbook I get the following error:

✖ Deployment Failed :(
✖ Deployment Failure Reason: spawn Unknown system error -86

Desktop (please complete the following information):

Additional context

Are there plans for the deploy command to support Apple Silicon based Macbooks?

jpmartinez-polstudios commented 7 months ago

I'm having the same issue

kimdane commented 6 months ago

Same issue here

dennitorf commented 6 months ago

Same issue here .. there is any workaround or resolution?

tjduarte commented 4 months ago

Good morning all!

-86 usually means a mismatch between the binary architecture and your system CPU architecture. I was having the same issue on my M3 and solved it by installing Rosetta.

softwareupdate --install-rosetta

Hope it helps!