You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportdesktopDesktop app, install, update, packagingpluginsPlugin SDK, runtime, marketplace
bb plugin update <id> fails for git-sourced plugins that require npm install (e.g. cloud-sandbox), because the npm CLI bundled inside bb.app is missing most of its own dependencies.
Steps to reproduce
Install bb.app 0.43.0 on macOS.
Run bb plugin update <git-sourced-plugin-id> --yes for a plugin that needs npm install.
Checked app.asar.unpacked/node_modules/npm/package.json's dependencies against what's actually present in app.asar.unpacked/node_modules/. Of npm's 65 declared dependencies, 58 are absent from the bundle (@npmcli/arborist, @npmcli/redact, cacache, pacote, tar, glob, chalk, etc. — full list available on request). Only 7 happened to be present, which is why the CLI got as far as loading npm-cli.js before failing on the first missing transitive require.
This is a packaging issue on bb's release build for 0.43.0, not user-side corruption — reinstalling bb.app from scratch reproduces the exact same missing set.
Workaround used
Manually npm install-ed the 58 missing top-level deps (151 packages incl. transitives) into a scratch dir and copied them into app.asar.unpacked/node_modules/. This fixed the immediate npm install failure and the plugin update succeeded. This is a local, throwaway fix that will be wiped by the next real bb.app update — the actual fix needs to happen in the release packaging step so the bundled npm ships complete.
Bug · High priority · Medium effort — desktop, plugins, confirmed-repro.
Reproduction and root-cause report: REPRODUCED, high confidence, on trusted main 31d1771b9 in two clean checkouts; both source builds passed.
The pnpm collector omits npm’s bundled dependencies, and the package copier excludes nested node_modules. Running npm from the selected package files exits 7 with missing proc-log; source npm succeeds. Current main lacks 60 of 65 top-level dependencies. The signed release’s exact count and a real plugin update were not tested. Related: #3566.
No PR: the root-cause fix requires packaging changes, which this rule excludes from simple fixes.
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportdesktopDesktop app, install, update, packagingpluginsPlugin SDK, runtime, marketplace
Activity
bb-slop-cop commentedon Sep 12, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotBug · High priority · Medium effort —
desktop,plugins,confirmed-repro.Reproduction and root-cause report: REPRODUCED, high confidence, on trusted main
31d1771b9in two clean checkouts; both source builds passed.The pnpm collector omits npm’s bundled dependencies, and the package copier excludes nested
node_modules. Running npm from the selected package files exits 7 with missingproc-log; source npm succeeds. Current main lacks 60 of 65 top-level dependencies. The signed release’s exact count and a real plugin update were not tested. Related: #3566.No PR: the root-cause fix requires packaging changes, which this rule excludes from simple fixes.
Preserve bundled npm dependencies in desktop artifacts (get-bb#3590)