claude-code - 💡(How to fix) Fix I am consistently getting this error API Error: 500... [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

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#48580Fetched 2026-04-16 06:56:16
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
1
Timeline (top)
labeled ×6commented ×1

Error Message

[{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/sanity.config.ts: Executable not found in $PATH: "typescript-language-server"\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:24:35.092Z"},{"error":"Error: Executable not found in $PATH: "typescript-language-server"\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:1806:20885)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n at call (/$bunfs/root/src/entrypoints/cli.js:2882:841)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:24:35.092Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: "typescript-language-server"\n at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.392Z"},{"error":"Error: Executable not found in $PATH: "typescript-language-server"\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:1806:20885)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/scripts/seed-articles.ts: Executable not found in $PATH: "typescript-language-server"\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: Executable not found in $PATH: "typescript-language-server"\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:1806:20885)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: "typescript-language-server"\n at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Executable not found in $PATH: "typescript-language-server"\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:1806:20885)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/scripts/seed-articles.ts: Executable not found in $PATH: "typescript-language-server"\n at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Executable not found in $PATH: "typescript-language-server"\n at spawn (unknown)\n at spawn (node:child_process:667:35)\n at spawn (node:child_process:14:39)\n at star…

Code Example

[{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/sanity.config.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:24:35.092Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:2882:841)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:24:35.092Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.392Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/scripts/seed-articles.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/scripts/seed-articles.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at star…
RAW_BUFFERClick to expand / collapse

Bug Description I am consistently getting this error API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca5jhS8PTyWe6ApYYkuVG"} · check
status.claude.com

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.109
  • Feedback ID: ba232574-8b3c-4344-8a98-68bf39aa0d8f

Errors

[{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/sanity.config.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:24:35.092Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:2882:841)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:24:35.092Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.392Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/scripts/seed-articles.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:09.393Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/src/entrypoints/cli.js:1806:22349)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\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:1806:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:24868)\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29940)\n    at w (/$bunfs/root/src/entrypoints/cli.js:1806:30277)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:1806:30823)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4198:1370)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Failed to start LSP server for file /Users/ziadadel/Desktop/stitch_scaleflow_ai_landing_page/scaleflow/scripts/seed-articles.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at $ (/$bunfs/root/src/entrypoints/cli.js:1806:29966)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T13:25:41.933Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at star…

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to install the typescript-language-server executable and ensure it is in the system's PATH.

Guidance

  1. Install typescript-language-server: Run the command npm install -g typescript-language-server or yarn global add typescript-language-server to install the typescript-language-server package globally.
  2. Verify installation: Check if the typescript-language-server executable is installed correctly by running the command typescript-language-server --version in the terminal.
  3. Check PATH environment variable: Ensure that the directory where typescript-language-server is installed is included in the system's PATH environment variable.
  4. Restart VSCode: After installing typescript-language-server and updating the PATH, restart VSCode to apply the changes.

Example

No code snippet is provided as the issue is related to a missing executable.

Notes

The issue seems to be related to a missing typescript-language-server executable, which is required for the Language Server Protocol (LSP) to work. The provided errors suggest that the executable is not found in the system's PATH.

Recommendation

Apply workaround: Install typescript-language-server and ensure it is in the system's PATH, as this is the most straightforward solution to resolve the issue.

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