Description
After running nemoclaw test333 channels remove whatsapp and rebuilding, any openclaw command inside the sandbox crashes during plugin registration with SyntaxError: Unexpected end of JSON input. The nemoclaw plugin fails to load, blocking all in-sandbox CLI operations including channels login, channels status, and tui.
Environment
Device: MacBook Pro (Apple Silicon)
OS: macOS 26.0.1 (Darwin 25.0.0, arm64)
Architecture: arm64
Node.js: v22.22.1
npm: 10.9.4
Docker: 29.2.1
OpenShell CLI: 0.0.39
NemoClaw: v0.0.48
OpenClaw: 2026.4.24 (cbcfdf6)
Steps to Reproduce
nemoclaw onboard --name test333 (complete onboard with NVIDIA Cloud API)
nemoclaw test333 channels add whatsapp (rebuild)
nemoclaw test333 connect → openclaw channels login --channel whatsapp (QR pair successfully)
- Exit sandbox
nemoclaw test333 channels remove whatsapp (answer y to rebuild)
nemoclaw test333 connect
openclaw channels login --channel whatsapp (or any openclaw command)
Expected Result
- Step 7:
openclaw CLI starts normally; channels login either shows QR prompt or reports that whatsapp channel is not configured.
Actual Result
- Step 7:
openclaw CLI crashes immediately with PluginLoadFailureError.
Post-remove state inside sandbox:
/sandbox/.openclaw/extensions/nemoclaw/package.json — valid JSON
/sandbox/.openclaw/extensions/nemoclaw/openclaw.plugin.json — valid JSON
/sandbox/.openclaw/whatsapp/ — does not exist (removed)
/sandbox/.openclaw/state/*.json — none exist
/sandbox/.openclaw/plugins.json — does not exist
The nemoclaw plugin reads a JSON file during register that was either truncated or deleted by the channels remove + rebuild sequence.
Logs
10:28:51 [plugins] plugins.allow is empty; discovered non-bundled plugins
may auto-load: nemoclaw (/sandbox/.openclaw/extensions/nemoclaw/dist/index.js).
Set plugins.allow to explicit trusted ids.
10:28:55 [plugins] nemoclaw failed during register from
/sandbox/.openclaw/extensions/nemoclaw/dist/index.js:
SyntaxError: Unexpected end of JSON input
[openclaw] Failed to start CLI: PluginLoadFailureError:
plugin load failed: nemoclaw: SyntaxError: Unexpected end of JSON input
at maybeThrowOnPluginLoadError
(file:///usr/local/lib/node_modules/openclaw/dist/loader-NucjcOgv.js:2712:8)
at loadOpenClawPlugins
(file:///usr/local/lib/node_modules/openclaw/dist/loader-NucjcOgv.js:3588:3)
at resolveRuntimePluginRegistry
(file:///usr/local/lib/node_modules/openclaw/dist/loader-NucjcOgv.js:2443:9)
at resolveOrLoadRuntimePluginRegistry
(file:///usr/local/lib/node_modules/openclaw/dist/runtime-registry-loader-CO1cck7F.js:37:7)
at ensurePluginRegistryLoaded
(file:///usr/local/lib/node_modules/openclaw/dist/runtime-registry-loader-CO1cck7F.js:68:2)
at ensureCliPluginRegistryLoaded
(file:///usr/local/lib/node_modules/openclaw/dist/command-execution-startup-Ch01qcCp.js:20:3)
at async ensureCliCommandBootstrap
(file:///usr/local/lib/node_modules/openclaw/dist/command-execution-startup-Ch01qcCp.js:47:2)
at async ensureCliExecutionBootstrap
(file:///usr/local/lib/node_modules/openclaw/dist/command-execution-startup-Ch01qcCp.js:295:2)
NVB#6200415
Description
After running
nemoclaw test333 channels remove whatsappand rebuilding, anyopenclawcommand inside the sandbox crashes during plugin registration withSyntaxError: Unexpected end of JSON input. The nemoclaw plugin fails to load, blocking all in-sandbox CLI operations includingchannels login,channels status, andtui.Environment
Steps to Reproduce
nemoclaw onboard --name test333(complete onboard with NVIDIA Cloud API)nemoclaw test333 channels add whatsapp(rebuild)nemoclaw test333 connect→openclaw channels login --channel whatsapp(QR pair successfully)nemoclaw test333 channels remove whatsapp(answer y to rebuild)nemoclaw test333 connectopenclaw channels login --channel whatsapp(or any openclaw command)Expected Result
openclawCLI starts normally;channels logineither shows QR prompt or reports that whatsapp channel is not configured.Actual Result
openclawCLI crashes immediately withPluginLoadFailureError.Post-remove state inside sandbox:
/sandbox/.openclaw/extensions/nemoclaw/package.json— valid JSON/sandbox/.openclaw/extensions/nemoclaw/openclaw.plugin.json— valid JSON/sandbox/.openclaw/whatsapp/— does not exist (removed)/sandbox/.openclaw/state/*.json— none exist/sandbox/.openclaw/plugins.json— does not existThe nemoclaw plugin reads a JSON file during register that was either truncated or deleted by the channels remove + rebuild sequence.
Logs
NVB#6200415