From 693d7057dcfd6349d0e5bf6b046585700ae97ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Sun, 5 Nov 2023 20:09:57 +0100 Subject: [PATCH 1/6] Add MacOS Rosetta info to docs --- web/docs/introduction/getting-started.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index a0138cfb6d..aaf0565659 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -107,6 +107,15 @@ Open your terminal and run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh ``` +:::note Apple Silicon +If you are using macOS on a device with Apple Silicon you might encounter `Bad CPU type in executable` issue. To fix that, please [install Rosetta on your Mac](https://support.apple.com/en-us/HT211861). + +```shell +softwareupdate --install-rosetta +``` +::: + + From c54909a94a693ef5b149fca3711ba353f89ac934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Sun, 5 Nov 2023 20:14:11 +0100 Subject: [PATCH 2/6] remove caution --- web/docs/introduction/getting-started.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index aaf0565659..242bb7c8b8 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -107,13 +107,11 @@ Open your terminal and run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh ``` -:::note Apple Silicon If you are using macOS on a device with Apple Silicon you might encounter `Bad CPU type in executable` issue. To fix that, please [install Rosetta on your Mac](https://support.apple.com/en-us/HT211861). ```shell softwareupdate --install-rosetta ``` -::: From 284b429ace4e42649bfc43ac70bc5768f504bdea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Sun, 19 Nov 2023 09:11:30 +0100 Subject: [PATCH 3/6] fix copy --- web/docs/introduction/getting-started.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index 242bb7c8b8..35ea7e5717 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -107,12 +107,11 @@ Open your terminal and run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh ``` -If you are using macOS on a device with Apple Silicon you might encounter `Bad CPU type in executable` issue. To fix that, please [install Rosetta on your Mac](https://support.apple.com/en-us/HT211861). - -```shell -softwareupdate --install-rosetta -``` +:::note Something Unclear? +**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). 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: `softwareupdate --install-rosetta`. Once Rosetta is installed, you should be able to run Wasp without any issues. +::: From e1c6a72700099bc1e50146528155f06460375c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Sun, 19 Nov 2023 09:16:18 +0100 Subject: [PATCH 4/6] wrap in code box --- web/docs/introduction/getting-started.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index 35ea7e5717..c9dea8a27d 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -109,8 +109,11 @@ curl -sSL https://get.wasp-lang.dev/installer.sh | sh :::note Something Unclear? **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). 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: `softwareupdate --install-rosetta`. Once Rosetta is installed, you should be able to run Wasp without any issues. +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). 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. ::: From 34b1e11c3087a5946128481eca08ab6e7c6f93c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Mon, 20 Nov 2023 12:00:30 +0100 Subject: [PATCH 5/6] Update note title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Šošić --- web/docs/introduction/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index c9dea8a27d..4c1df9a6a9 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -107,7 +107,7 @@ Open your terminal and run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh ``` -:::note Something Unclear? +:::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). 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 From b784347cf50bf7a7f4ac1b621c73e57fcc272fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Mon, 20 Nov 2023 12:01:09 +0100 Subject: [PATCH 6/6] Add info on Mx chip --- web/docs/introduction/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index 4c1df9a6a9..80c10cb7ba 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -109,7 +109,7 @@ 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). 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 +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 ```