Sublime Text LSP Not Working: Server Not Found or Not Starting

Share
Workaround available Windows, macOS, Linux Updated November 14, 2026How we research

Quick answer

Most LSP failures are a PATH mismatch between Sublime and your shell, a scope that does not match the server, or a disabled server. Use the LSP log panel to see which.

Most likely fix: Check logs

How to fix it

Try these in order — the most common fix is first.

  1. 1. Check logs

    1. Run LSP: Toggle Log Panel from the Command Palette
    2. Enable log_debug in Preferences: LSP Settings and open View > Show Console
    3. Run LSP: Troubleshoot server on the file
    Did this fix it?
  2. 2. Fix PATH

    1. In the console run import os; os.environ["PATH"]
    2. Add export PATH="/usr/local/bin:$PATH" to ~/.zprofile (macOS) or ~/.profile (Linux); Windows: edit the Path variable
    3. Restart Sublime Text on macOS; log out and in on other platforms
    Did this fix it?
  3. 3. Check scope and disabled state

    1. Tools > Developer > Show Scope Name and match it to the server scope
    2. Make sure the server is not disabled in its settings, LSP Settings or the project settings
    Did this fix it?

Symptoms

LSP shows "Failed to start" or "No such file or directory", or no completions or diagnostics appear.

Why it happens

  • Sublime Text PATH differs from shell PATH
  • File scope does not match the server scope
  • Server disabled in settings or project
  • Completion Rules.tmPreferences suppressing completions

This guide also covers

  • sublime text lsp not working
  • lsp failed to start sublime
  • sublime lsp no completions

Still not working?

If Sublime Text keeps failing, you're not alone. See every Sublime Text problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other Sublime Text errors

All 10 Sublime Text errors and fixes →