Added instructions to docs for running Wasp on Mac arm64 (install rosetta)

* Add MacOS Rosetta info to docs

* remove caution

* fix copy

* wrap in code box

* Update note title

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Add info on Mx chip

---------

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
This commit is contained in:
Kristian Djaković 2023-11-20 12:11:28 +01:00 committed by GitHub
parent 3a5bba9b39
commit 4c03042636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,15 @@ Open your terminal and run:
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
```
:::note Running Wasp on Mac with Mx chip (arm64)
**Experiencing the 'Bad CPU type in executable' issue on a device with arm64 (Apple Silicon)?**
Given that the wasp binary is built for x86 and not for arm64 (Apple Silicon), you'll need to install [Rosetta on your Mac](https://support.apple.com/en-us/HT211861) if you are using a Mac with Mx (M1, M2, ...). Rosetta is a translation process that enables users to run applications designed for x86 on arm64 (Apple Silicon). To install Rosetta, run the following command in your terminal
```bash
softwareupdate --install-rosetta
```
Once Rosetta is installed, you should be able to run Wasp without any issues.
:::
</TabItem>
<TabItem value='win'>