Skip to content

Commit 4259606

Browse files
authored
chore: add corepack setup to HACKING.md (#468)
1 parent 59be850 commit 4259606

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

HACKING.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,19 @@ Please ensure that you have installed:
8282

8383
Run following commands to configure a just cloned project:
8484

85-
| Command | Purpose |
86-
|-------------------|----------------------------------------------------------|
87-
| `make preinstall` | Installs NPM packages for a web app. |
88-
| `make wasm` | Builds WebAssembly binaries used by the web app. |
89-
| `make go-index` | Generates Go packages index for autocomplete in web app. |
85+
| Command | Purpose |
86+
|-------------------|-------------------------------------------------------------------------------------------------------------|
87+
| `corepack enable` | Enables [Corepack](https://nodejs.org/api/corepack.html) to use package manager version from `package.json` |
88+
| `make preinstall` | Installs NPM packages for a web app. |
89+
| `make wasm` | Builds WebAssembly binaries used by the web app. |
90+
| `make go-index` | Generates Go packages index for autocomplete in web app. |
9091

9192
### Running Project
9293

94+
> [!IMPORTANT]
95+
> If you see `command not found: yarn` error, please ensure that Corepack is enabled.
96+
> See **First-time setup** section.
97+
9398
Front-end web app and Go API server are executed using separate make commands:
9499

95100
| Command | Purpose |

0 commit comments

Comments
 (0)