OpenClaw Version: 2026.4.22 (00bd2cf)
Environment: Ubuntu 22.04, Node v24.14.1, npm-installed OpenClaw
Plugin: tokenjuice (bundled extension)
Problem:
tokenjuice plugin fails to load on gateway start with:
[plugins] tokenjuice failed to load from /path/to/openclaw/dist/extensions/tokenjuice/index.js:
Error: Cannot find module 'tokenjuice/openclaw'
Require stack:
- /path/to/openclaw/dist/extensions/tokenjuice/runtime-api.js
Config:
plugins.allow includes "tokenjuice" and plugins.entries.tokenjuice.enabled: true
What we found:
• Extension directory exists at dist/extensions/tokenjuice/
• package.json has "tokenjuice": "0.6.1" in dependencies
• But node_modules/tokenjuice/ was NOT installed
• Running npm install manually in the extension directory fixed it
Question:
Should the bundled extension dependencies be auto-installed during OpenClaw install/update? Or is there a config step we missed?
Workaround that worked:
cd $(openclaw --prefix)/lib/node_modules/openclaw/dist/extensions/tokenjuice
npm install