claude-code - 💡(How to fix) Fix [Bug] Unexpected high token consumption rate [2 comments, 3 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#52434Fetched 2026-04-24 06:07:21
View on GitHub
Comments
2
Participants
3
Timeline
9
Reactions
1
Timeline (top)
labeled ×5commented ×2cross-referenced ×1subscribed ×1

Error Message

[{"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:3171:22359)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.249Z"},{"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:3171:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"error":"Error: Failed to start LSP server for file /workspaces/ShopBroker/scripts/playwright-work/email-migration-smoke.ts: Executable not found in $PATH: "typescript-language-server"\n at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"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:3171:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"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:3171:22359)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"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:3171:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"error":"Error: Failed to start LSP server for file /workspaces/ShopBroker/scripts/playwright-work/email-migration-smoke.ts: Executable not found in $PATH: "typescript-language-server"\n at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"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:3171:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"}]

Code Example

[{"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:3171:22359)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.249Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"error":"Error: Failed to start LSP server for file /workspaces/ShopBroker/scripts/playwright-work/email-migration-smoke.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"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:3171:22359)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"error":"Error: Failed to start LSP server for file /workspaces/ShopBroker/scripts/playwright-work/email-migration-smoke.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Why am i burning through my limits so fast the past few days? I can't afford this, but I need the work done!

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.118
  • Feedback ID: f02660ca-609f-496d-aeb1-bd6ef60077d6

Errors

[{"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:3171:22359)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.249Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"error":"Error: Failed to start LSP server for file /workspaces/ShopBroker/scripts/playwright-work/email-migration-smoke.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:35:16.250Z"},{"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:3171:22359)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"error":"Error: Failed to start LSP server for file /workspaces/ShopBroker/scripts/playwright-work/email-migration-smoke.ts: Executable not found in $PATH: \"typescript-language-server\"\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"},{"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:3171:20895)\n    at O (/$bunfs/root/src/entrypoints/cli.js:3171:24878)\n    at Y (/$bunfs/root/src/entrypoints/cli.js:3171:30118)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3171:30503)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3171:31062)\n    at call (/$bunfs/root/src/entrypoints/cli.js:3194:865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T12:36:56.443Z"}]

extent analysis

TL;DR

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

Guidance

  • Verify that typescript-language-server is installed by running the command typescript-language-server --version in the terminal. If it's not installed, install it using a package manager like npm with the command npm install -g typescript-language-server.
  • Check the system's PATH environment variable to ensure it includes the directory where typescript-language-server is installed. This can usually be done by running the command echo $PATH in the terminal.
  • If using a vscode workspace, try restarting the Language Server by clicking on the "Restart Language Server" button in the Command Palette (accessible by pressing Ctrl+Shift+P on Linux) or by reloading the vscode window.
  • Consider adding the installation directory of typescript-language-server to the system's PATH variable to prevent this issue in the future.

Example

No code snippet is necessary for this issue, as it's related to executable installation and PATH configuration.

Notes

The provided errors suggest that the typescript-language-server executable is not found in the system's PATH. This could be due to a missing installation or incorrect PATH configuration.

Recommendation

Apply the workaround by installing typescript-language-server and ensuring it's in the system's PATH, as this is the most direct solution to the problem described.

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