π Leave report in ANY language, and it will auto translate to English
π Collecting system diagnostics...
β Version information collected
β Platform details collected
β Worker status checked
β Logs extracted (last 0 lines)
β Configuration loaded
π System Summary:
Claude-mem: v9.0.0
Claude Code: not installed or not in PATH
Platform: macOS 26.2 (arm64)
Worker: Not running
Context
After installing the MCP plugin using the marketplace commands, multiple errors appeared when restarting the application.
Initial Errors
The first errors that appeared were:
SessionStart:startup says: Plugin hook error: /bin/sh: bun: command not found
This error repeated three times, indicating that the system is looking for the bun runtime but cannot find it installed in the system PATH.
Log Analysis
When reviewing the plugin logs at /Users/abkrim/.claude-mem/logs/claude-mem-2026-01-06.log, the following issues were identified:
-
Worker unavailable: The MCP server started correctly, but the associated Worker is not available:
[WARN] Worker not available {"workerUrl":"http://127.0.0.1:37777"}
[WARN] Tools will fail until Worker is started
-
Missing package.json: When trying to run npm run worker:restart, it was found that the package.json file does not exist in the configuration directory:
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory,
open '/Users/abkrim/.claude-mem/package.json'
Root Cause
The plugin claude-mem requires Bun as a dependency to run the worker, but:
- Bun is not installed automatically during plugin installation
- The error message
Plugin hook error: /bin/sh: bun: command not found is not clear about the missing dependency
- There is no visible documentation about this requirement in the installation process
Environment Details
- Claude-mem version: v9.0.0
- Platform: macOS 26.2 (arm64 / Apple Silicon)
- Node.js: v25.2.1
- NPM: v11.6.2
- Installation method: Claude Code marketplace
Solution Applied
The issue was resolved by manually installing Bun:
# Install Bun using Homebrew (recommended for macOS)
brew tap oven-sh/bun
brew install bun
# Restart the worker
cd ~/.claude/plugins/marketplaces/thedotmack
npm run worker:restart
After installing Bun, the worker started successfully:
Worker: Running (PID 97486, port 37777)
Suggestions for Improvement
- Auto-install Bun: Include Bun installation as part of the plugin setup process, or at least check for its presence and provide clear installation instructions
- Better error messages: Improve the error message to clearly indicate that Bun is missing and provide installation instructions
- Documentation: Add a prominent note in the README/installation docs that Bun is a prerequisite
- Installation check: Consider adding a pre-flight check during plugin installation that detects if Bun is installed and shows platform-specific installation commands if missing
Additional Notes
The plugin works perfectly after installing Bun. This is purely a UX/installation issue that could confuse users who are not familiar with the Bun runtime requirement.
π Leave report in ANY language, and it will auto translate to English
π Collecting system diagnostics...
β Version information collected
β Platform details collected
β Worker status checked
β Logs extracted (last 0 lines)
β Configuration loaded
π System Summary:
Claude-mem: v9.0.0
Claude Code: not installed or not in PATH
Platform: macOS 26.2 (arm64)
Worker: Not running
Context
After installing the MCP plugin using the marketplace commands, multiple errors appeared when restarting the application.
Initial Errors
The first errors that appeared were:
This error repeated three times, indicating that the system is looking for the
bunruntime but cannot find it installed in the system PATH.Log Analysis
When reviewing the plugin logs at
/Users/abkrim/.claude-mem/logs/claude-mem-2026-01-06.log, the following issues were identified:Worker unavailable: The MCP server started correctly, but the associated Worker is not available:
Missing package.json: When trying to run
npm run worker:restart, it was found that thepackage.jsonfile does not exist in the configuration directory:Root Cause
The plugin
claude-memrequires Bun as a dependency to run the worker, but:Plugin hook error: /bin/sh: bun: command not foundis not clear about the missing dependencyEnvironment Details
Solution Applied
The issue was resolved by manually installing Bun:
After installing Bun, the worker started successfully:
Suggestions for Improvement
Additional Notes
The plugin works perfectly after installing Bun. This is purely a UX/installation issue that could confuse users who are not familiar with the Bun runtime requirement.