Sublime Text LSP Not Working: Server Not Found or Not Starting
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. Check logs
- Run LSP: Toggle Log Panel from the Command Palette
- Enable log_debug in Preferences: LSP Settings and open View > Show Console
- Run LSP: Troubleshoot server on the file
Did this fix it?2. Fix PATH
- In the console run import os; os.environ["PATH"]
- Add export PATH="/usr/local/bin:$PATH" to ~/.zprofile (macOS) or ~/.profile (Linux); Windows: edit the Path variable
- Restart Sublime Text on macOS; log out and in on other platforms
Did this fix it?3. Check scope and disabled state
- Tools > Developer > Show Scope Name and match it to the server scope
- 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 usThe same problem in other apps
All not loading, error messages & connection guides →
VS Code Python Interpreter Not Found (VS Code)
Cursor High Load Error (ERROR_RESOURCE_EXHAUSTED) (Cursor)
Vim Requires Python 3 Support Error (YouCompleteMe) (Vim)
IntelliJ IDEA JDK Not Found or Invalid (JetBrains IntelliJ)
Other Sublime Text errors
- Sublime Text "There are no packages available for installation" (Package Control)
- Sublime Text Package Control Not Working: Purge and Reinstall
- Sublime Text Package Control Error 12029 and 12057 on Windows
- Sublime Text "subl: command not found" Fix
- Sublime Text Crashing or Misbehaving: Use Safe Mode
- Sublime Text "UNREGISTERED" Still Showing After Entering License
- Sublime Text License Expired? How the 3-Year Update Period Works
- Sublime Text Refund and Cancel: How to Get Your Money Back