aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-client/README.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-22 11:09:22 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-22 11:09:22 +0200
commit4a350362a4819e8acf2bd85149c42703b0af0b37 (patch)
tree6874a3065ac03da753e569e3be5490152864f061 /packages/meshbay-client/README.md
parent3b677af830672759198a0bb8167b4929a9afd997 (diff)
downloadmeshbay-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/README.md')
-rw-r--r--packages/meshbay-client/README.md9
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