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
{{ message }}
This repository was archived by the owner on Dec 4, 2025. It is now read-only.
Claude Desktop cannot integrate with Claude Code - imports wrong package name
Problem
Claude Desktop cannot integrate with Claude Code due to a module not found error. The desktop app imports @anthropic-ai/claude-cli but the actual package is @anthropic-ai/claude-code.
Error
[ClaudeSDK] Failed to load SDK: Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@anthropic-ai/claude-cli' imported from /usr/lib64/claude-desktop/app.asar/.vite/build/index.js
Root Cause
Claude Code installs to /usr/local/lib/node_modules/@anthropic-ai/claude-code
Desktop app looks for /usr/lib64/node_modules/@anthropic-ai/claude-cli
Claude Desktop cannot integrate with Claude Code - imports wrong package name
Problem
Claude Desktop cannot integrate with Claude Code due to a module not found error. The desktop app imports
@anthropic-ai/claude-clibut the actual package is@anthropic-ai/claude-code.Error
Root Cause
/usr/local/lib/node_modules/@anthropic-ai/claude-code/usr/lib64/node_modules/@anthropic-ai/claude-cliEnvironment
Current Workaround
Fix Needed
Desktop app needs to:
@anthropic-ai/claude-cli→@anthropic-ai/claude-code/usr/lib64/node_modules/→/usr/local/lib/node_modules/