claude-code - 💡(How to fix) Fix [Bug] Claude fails to consider alternative sync methods despite available tools [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55965Fetched 2026-05-05 06:01:43
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×1subscribed ×1unsubscribed ×1

Error Message

[{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: "pyright-langserver"\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Executable not found in $PATH: "pyright-langserver"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Failed to start LSP server for file /Users/jacob/polymarket-prometheus-bot/prometheus_bot/main.py: Executable not found in $PATH: "pyright-langserver"\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30145)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Executable not found in $PATH: "pyright-langserver"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: "pyright-langserver"\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.233Z"},{"error":"Error: Executable not found in $PATH: "pyright-langserver"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: Failed to start LSP server for file /Users/jacob/polymarket-prometheus-bot/prometheus_bot/main.py: Executable not found in $PATH: "pyright-langserver"\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30145)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: Executable not found in $PATH: "pyright-langserver"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: "pyright-langserver"\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:38:42.741Z"},{"error":"Error: Executable not found in $PATH: "pyright-langserver"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n at j (/$bunfs/root/src/entrypoints/cli.js:3202:30…

Code Example

[{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Failed to start LSP server for file /Users/jacob/polymarket-prometheus-bot/prometheus_bot/main.py: Executable not found in $PATH: \"pyright-langserver\"\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.233Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: Failed to start LSP server for file /Users/jacob/polymarket-prometheus-bot/prometheus_bot/main.py: Executable not found in $PATH: \"pyright-langserver\"\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:38:42.741Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30
RAW_BUFFERClick to expand / collapse

Bug Description even though its using the maximum amount of thinking it got confused on a sync to google drie even though it can rclone, it did not think of other methods.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.126
  • Feedback ID: 4cb1511b-03cd-4ae1-ae1d-e3eae9f2d08e

Errors

[{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Failed to start LSP server for file /Users/jacob/polymarket-prometheus-bot/prometheus_bot/main.py: Executable not found in $PATH: \"pyright-langserver\"\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:13.288Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.233Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: Failed to start LSP server for file /Users/jacob/polymarket-prometheus-bot/prometheus_bot/main.py: Executable not found in $PATH: \"pyright-langserver\"\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30145)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30504)\n    at J (/$bunfs/root/src/entrypoints/cli.js:3202:31063)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4919:1412)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:37:19.234Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:22360)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-03T22:38:42.741Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3202:20896)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3202:24879)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3202:30119)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3202:30

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to ensure the pyright-langserver executable is installed and available in the system's PATH.

Guidance

  1. Verify pyright-langserver installation: Check if pyright-langserver is installed by running pyright-langserver --version in the terminal. If it's not installed, install it using the recommended method for your environment.
  2. Check PATH environment variable: Ensure the directory containing pyright-langserver is included in the system's PATH environment variable. This can usually be done by adding the installation directory to the PATH variable in your shell configuration file.
  3. Restart the application or service: After installing pyright-langserver and updating the PATH, restart the application or service that was attempting to use it to ensure the changes take effect.

Example

No specific code snippet is applicable here, but an example of how to add a directory to the PATH variable in a bash shell configuration file (~/.bashrc or ~/.zshrc) might look like: export PATH=$PATH:/path/to/pyright-langserver/installation/directory

Notes

The provided error messages consistently indicate that the pyright-langserver executable cannot be found in the system's PATH. This suggests a configuration or installation issue rather than a problem with the code itself. Ensure that any installation or configuration steps are followed carefully to avoid further issues.

Recommendation

Apply the workaround by installing pyright-langserver and ensuring it's in the system's PATH, as this directly addresses the error messages provided.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude fails to consider alternative sync methods despite available tools [1 comments, 2 participants]