Backbase / api-simulator

A service that's capable of registering itself in a service registry and simulate request handling based solely on an API specification and the examples it contains.
4 stars 1 forks source link

Prism linux doesn't run in Apple Silicon #23

Open uesleilima opened 2 years ago

uesleilima commented 2 years ago

Although the prism mac cli runs fine on Mac M1 laptops, the Prism Linux CLI doesn't run on Linux VMs using the ARM architecture.

Reference: https://github.com/stoplightio/prism/issues/2055

uesleilima commented 2 years ago

A workaround would be to set the platform when running the api-simulator API: --platform=linux/amd64 to leverage the x86 architecture emulation (QEMU/Colima or Rosetta/Docker4Desktop)

lehphyro commented 2 years ago

I don't use a Mac so can't really help you, perhaps @ugurkaya88 can.

uesleilima commented 2 years ago

It is most likely to be fixed by the prism team first @lehphyro, I created this issue mainly for us to track their issue status and take action once we have a new version there.

lehphyro commented 2 years ago

Yeah, I figured that much, just wanted make you and @ugurkaya88 aware of the fact I won't be able to help (I'm usually the main maintainer of this project).