From b81d18284155caa489e91686e4dfd3fd8950f618 Mon Sep 17 00:00:00 2001 From: Sabrina Coy <13890648+sabrinabuckets@users.noreply.github.com> Date: Wed, 14 Jun 2023 19:42:12 -0400 Subject: [PATCH] Update Building-Fleet.md (#12345) Added instructions for installing dependency - Rosetta 2. --- docs/Contributing/Building-Fleet.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Contributing/Building-Fleet.md b/docs/Contributing/Building-Fleet.md index 63ac75aec4..bc1caa19c4 100644 --- a/docs/Contributing/Building-Fleet.md +++ b/docs/Contributing/Building-Fleet.md @@ -93,6 +93,12 @@ To generate all necessary code (bundling JavaScript into Go, etc.), run the foll make generate ``` +If you are using a Mac computer with Apple Silicon and have not installed Rosetta 2, you will need to do so before running `make generate`. + +``` +/usr/sbin/softwareupdate --install-rosetta --agree-to-license +``` + #### Automatic rebuilding of the JavaScript bundle Usually, `make generate` takes the JavaScript code, bundles it into a single bundle via Webpack, and inlines that bundle into a generated Go source file so that all of the frontend code can be statically compiled into the binary. When you build the code after running `make generate`, include all of that JavaScript in the binary.