diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-22 11:09:22 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-22 11:09:22 +0200 |
| commit | 4a350362a4819e8acf2bd85149c42703b0af0b37 (patch) | |
| tree | 6874a3065ac03da753e569e3be5490152864f061 /packages/meshbay-client | |
| parent | 3b677af830672759198a0bb8167b4929a9afd997 (diff) | |
| download | meshbay-4a350362a4819e8acf2bd85149c42703b0af0b37.tar.gz | |
docs: add npm 11 Electron setup steps to meshbay-client README
npm >= 11 blocks install scripts by default. Document the
approve-scripts + manual install + chrome-sandbox SUID steps.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-client')
| -rw-r--r-- | packages/meshbay-client/README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-client/README.md b/packages/meshbay-client/README.md index 46be72b..2c2fb27 100644 --- a/packages/meshbay-client/README.md +++ b/packages/meshbay-client/README.md @@ -18,6 +18,15 @@ at all: the download script `require()`s an ESM module, which Node gained only i export PATH=/opt/nodejs/bin:$PATH npm ci # not `npm install` — the lockfile is the build input + + # npm ≥ 11 blocks install scripts by default; Electron needs them + npm approve-scripts electron + node node_modules/electron/install.js + + # Chromium's namespace sandbox requires SUID on chrome-sandbox + sudo chown root:root node_modules/electron/dist/chrome-sandbox + sudo chmod 4755 node_modules/electron/dist/chrome-sandbox + npm run sync-ui # copy the interface from the hub package npm start |