[BUG] TypeScript LSP Plugin Not Spawning Language Server

Resolved 💬 2 comments Opened Dec 30, 2025 by ivan-rivera-projects Closed Dec 30, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Bug Report: TypeScript LSP Plugin Not Spawning Language Server

Claude Code Version: 2.0.76

Environment:

  • macOS Darwin 25.2.0 (Apple Silicon)
  • Node.js: v20.19.5 (via nvm)
  • typescript-language-server: v5.1.3

Issue:
The TypeScript LSP plugin is enabled and the language server is installed, but the LSP tool returns "No LSP server available for file type: .ts". The language server process is never spawned.

Steps to Reproduce:

  1. Install typescript-language-server globally: npm install -g typescript-language-server typescript
  2. Enable plugin: typescript-lsp@claude-plugins-official: true in settings
  3. Start Claude Code in a project with TypeScript files
  4. Use LSP tool on any .ts file

Expected Behavior:
Plugin should spawn typescript-language-server --stdio process and LSP tool should return code intelligence results.

Actual Behavior:

  • ps aux | grep typescript-language-server shows no process running
  • LSP tool returns: "No LSP server available for file type: .ts"

Diagnostic Information:
# Plugin enabled in ~/.claude/settings.json
"typescript-lsp@claude-plugins-official": true

# Language server installed and in PATH
$ which typescript-language-server
/Users/riveraix/.nvm/versions/node/v20.19.5/bin/typescript-language-server

$ typescript-language-server --version
5.1.3

# Plugin installed
~/.claude/plugins/cache/claude-plugins-official/typescript-lsp/1.0.0/

# But no process running
$ pgrep -fl "typescript-language-server"
No typescript-language-server process found

Additional Context:

  • Project has multiple tsconfig.json files in subdirectories
  • Issue persists across fresh sessions

What Should Happen?

I tried to install this using the /plugin functionality a couple of days ago to no avail. SO I uninstalled it. Last night an automated message from claude code suggested to install it and I agreed and it looks like everything is correct, yet I can't use it because the LSP server isn't being spawned. Thanks so much. Love you guys!!

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

  1. Ensure typescript-language-server is installed globally:

```bash
npm install -g typescript-language-server typescript

  1. Verify installation:

typescript-language-server --version
# Returns: 5.1.3

  1. Enable the TypeScript LSP plugin in Claude Code settings:

"typescript-lsp@claude-plugins-official": true

  1. Start a new Claude Code session in a project containing TypeScript files
  2. Ask Claude to use the LSP tool on any .ts file (e.g., "go to definition" or "find references")
  3. Observe that LSP returns: "No LSP server available for file type: .ts"
  4. Verify no language server process is running:

pgrep -fl "typescript-language-server"
# Returns nothing - process was never spawned

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code v2.0.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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