Sometimes it will refuse to connect to VSCode

Resolved 💬 4 comments Opened Jul 23, 2025 by tylerlaprade Closed Aug 19, 2025

(Reported with /bug but ran into a bug when submitting)

Bug Description
Sometimes it will refuse to connect to VSCode even if I do /ide. It shows the running process, but insists those are not the right ones.

<img width="616" height="380" alt="Image" src="https://github.com/user-attachments/assets/b9367add-5b89-407e-8bae-83e48df26e69" />

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.58
  • Feedback ID:

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:child_process:959:22)\n    at checkExecSyncError (node:child_process:458:27)\n    at execSync (node:child_process:278:31)\n    at eY (/$bunfs/root/claude:687:5945)\n    at <anonymous> (/$bunfs/root/claude:583:5727)\n    at W (/$bunfs/root/claude:435:14413)\n    at f3 (/$bunfs/root/claude:583:3474)\n    at xK (/$bunfs/root/claude:583:2341)\n    at X2 (/$bunfs/root/claude:583:8262)\n    at sHZ (/$bunfs/root/claude:583:8420)","timestamp":"2025-07-23T18:27:34.840Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"Not found\"}}\n    at new M2 (unknown:1:28)\n    at new hB (/$bunfs/root/claude:1151:5968)\n    at new Z00 (unknown:1:28)\n    at generate (/$bunfs/root/claude:1151:6526)\n    at makeRequest (/$bunfs/root/claude:1168:5327)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-07-23T18:32:04.075Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:562:9962)\n    at W (/$bunfs/root/claude:435:14413)\n    at PyG (/$bunfs/root/claude:1197:10262)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-07-23T18:32:04.092Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at Zv1 (/$bunfs/root/claude:541:7172)\n    at call (/$bunfs/root/claude:1270:6312)\n    at DnB (/$bunfs/root/claude:2208:9794)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-07-23T18:32:26.375Z"},{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n    npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n    See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n    npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n    See https://sharp.pixelplumbing.com/install\n    at <anonymous> (/$bunfs/root/claude:311:53540)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:312:77)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:312:79818)\n    at <anonymous> (/$bunfs/root/claude:12:838)\n    at <anonymous> (/$bunfs/root/claude:1130:1731)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-07-23T18:36:21.193Z"},{"error":"Error: 404 {\"type\":\"error\",\"error\":{\"type\":\"not_found_error\",\"message\":\"Not found\"}}\n    at new M2 (unknown:1:28)\n    at new hB (/$bunfs/root/claude:1151:5968)\n    at new Z00 (unknown:1:28)\n    at generate (/$bunfs/root/claude:1151:6526)\n    at makeRequest (/$bunfs/root/claude:1168:5327)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-07-23T18:37:04.180Z"},{"error":"Error\n    at Hq (/$bunfs/root/claude:466:1076)\n    at B1 (/$bunfs/root/claude:467:9963)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:862:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:469:2098)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-07-23T18:37:04.192Z"}]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗