From aecd6e468012b67ce4d17b77fb1641aa7aa24851 Mon Sep 17 00:00:00 2001 From: jvcalderon Date: Thu, 20 Apr 2023 11:40:37 +0200 Subject: [PATCH 1/2] Include troubleshoot for arm64 CPU in DEV-SETUP-MACOSX.md --- docs/DEV-SETUP-MACOSX.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/DEV-SETUP-MACOSX.md b/docs/DEV-SETUP-MACOSX.md index 13a47a736d..94ed3fc1ee 100644 --- a/docs/DEV-SETUP-MACOSX.md +++ b/docs/DEV-SETUP-MACOSX.md @@ -67,6 +67,18 @@ http://127.0.0.1:10000/builder/admin | **NOTE**: If you are working on a M1 Apple Silicon, you will need to uncomment `# platform: linux/amd64` line in [hosting/docker-compose-dev.yaml](../hosting/docker-compose.dev.yaml) -### Troubleshooting +### Troubleshootings + +#### Yarn setup errors If there are errors with the `yarn setup` command, you can try installing nvm and node 14. This is the same as the instructions for Debian 11. + +#### Node 14.20.1 not supported for arm64 + +If you are working with M1 or M2 Mac and trying the Node installation via `nvm`, probably you will find the error `curl: (22) The requested URL returned error: 404`. + +Version `v14.20.1` is not supported for arm64; in order to use it, you can switch the CPU architecture for this by the following command: + +```shell +arch -x86_64 zsh #Run this before nvm install +``` From 3235628fffaf5f7752d6bf3f2ffc8c46d2591d66 Mon Sep 17 00:00:00 2001 From: jvcalderon Date: Thu, 20 Apr 2023 11:49:41 +0200 Subject: [PATCH 2/2] I have read the CLA Document and I hereby sign the CLA