TypeScript LSP fails to start when typescript-language-server is not found in PATH
Resolved 💬 3 comments Opened May 6, 2026 by TKMD Closed May 10, 2026
Bug Description
Environment Info
- Platform: linux
- Terminal: tmux
- Version: 2.1.123
- Feedback ID: f7963bd8-6ed0-4581-b0f9-18fcdcc4ab15
Errors
[{"error":"Error: Failed to start LSP server for file /home/owner/Files/Reftrix/apps/mcp-server/src/services/worker-supervisor-failure-path.service.ts: Executable not found in $PATH: \"typescript-language-server\"\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:53:52.446Z"},{"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:3203:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3203:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3203:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3203:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:4921:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:53:52.446Z"},{"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:3203:22359)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:03.010Z"},{"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:3203:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3203:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3203:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3203:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:4921:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:03.010Z"},{"error":"Error: Failed to start LSP server for file /home/owner/Files/Reftrix/apps/mcp-server/src/services/worker-supervisor-failure-path.service.ts: Executable not found in $PATH: \"typescript-language-server\"\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:03.010Z"},{"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:3203:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3203:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3203:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3203:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:4921:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:03.010Z"},{"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:3203:22359)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:40.789Z"},{"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:3203:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3203:24878)\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30118)\n at w (/$bunfs/root/src/entrypoints/cli.js:3203:30503)\n at j (/$bunfs/root/src/entrypoints/cli.js:3203:31062)\n at call (/$bunfs/root/src/entrypoints/cli.js:4921:1412)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:40.790Z"},{"error":"Error: Failed to start LSP server for file /home/owner/Files/Reftrix/apps/mcp-server/src/services/worker-supervisor-failure-path.service.ts: Executable not found in $PATH: \"typescript-language-server\"\n at Y (/$bunfs/root/src/entrypoints/cli.js:3203:30144)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T14:54:40.790Z"},{"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:3203:20895)\n at O (/$bunfs/root/src/entrypoints/cli.js:3203:24878)\n at Y (/$bunfs…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗