Skip to content

Claude Code Agent Loading Issue on Remote Server #47362

Description

@Cyli00

Reproduction steps

  1. Established SSH connection with remote server
  2. Claude code has been installed on the remote server via curl -fsSL https://claude.ai/install.sh | bash
  3. The Claude code agent in the right panel shows loading status and fails to complete loading after a long time
  4. Multiple Claude processes are found running on the server when checking memory usage
    leahd      81394  5.0  4.1 10236932 249424 ?     Sl   18:16   0:02 claude
    leahd      80565  1.3  3.5 10236968 216316 ?     Sl   18:13   0:02 claude
    leahd      75881  0.1  3.5 10236452 215808 ?     Sl   17:46   0:03 claude
    

Zed version and system specs

Zed: v0.220.2+stable.125.bf99a017312d2325476557e590b9dfb4f71241cf (Zed)
OS: Windows 10.0.26200
Memory: 31.9 GiB
Architecture: x86_64
GPU: NVIDIA GeForce GTX 1060 6GB || NVIDIA Corporation || 566.36 r566_31

Attach Zed log file

Zed.log
2026-01-21T23:02:46+08:00 INFO  [remote_server::unix] (remote server) Got new node settings: NodeBinarySettings { path: None, npm_path: None, ignore_system_version: false }
2026-01-21T23:02:46+08:00 INFO  [project::prettier_store] (remote server) Initializing default prettier with plugins {}
2026-01-21T23:02:46+08:00 INFO  [node_runtime] (remote server) using Node.js found on PATH: SystemNodeRuntime { node: "/home/leahd/.nvm/versions/node/v24.12.0/bin/node", npm: "/home/leahd/.nvm/versions/node/v24.12.0/bin/npm", global_node_modules: "/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules\n", scratch_dir: "/home/leahd/.local/share/zed/node" }
2026-01-21T23:02:46+08:00 ERROR [remote::remote_client] (remote server) server:error handling message. type:GetAgentServerCommand, error:failed to execute npm install subcommand: stdout: "" stderr: "/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/lib/cli/validate-engines.js:29\n    throw err\n    ^\n\nError: ENOENT: no such file or directory, uv_cwd\n    at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:142:28)\n    at process.cwd (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:10:19)\n    at new Config (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:79:19)\n    at new Npm (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/lib/npm.js:67:19)\n    at module.exports (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/lib/cli/entry.js:14:15)\n    at module.exports (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/lib/cli/validate-engines.js:37:10)\n    at module.exports (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/lib/cli.js:12:31)\n    at Object.<anonymous> (/home/leahd/.nvm/versions/node/v24.12.0/lib/node_modules/npm/bin/npm-cli.js:2:25)\n    at Module._compile (node:internal/modules/cjs/loader:1761:14)\n    at Object..js (node:internal/modules/cjs/loader:1893:10) {\n  errno: -2,\n  code: 'ENOENT',\n  syscall: 'uv_cwd'\n}\n\nNode.js v24.12.0\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ai/agent threadFeedback for Zed's Agent Threadarea:ai/anthropicClaude Code or Anthropic specific issuesplatform:remoteRemote development, SSH and zed-remote-serverreach:many usersBugs that happen for at least a third of the users across all platforms and kinds of usageseverity:S2Average run-of-the-mill bugs; a feature is broken but only partiallystaleLabel used by `stale` actionstate:needs reproNeeds reproduction steps and/or someone to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions