deepseek-ai/deepseek-harness · error · LspError
LSP_UNAVAILABLE
LSP_UNAVAILABLE
Error message
no LSP provider handles "${request.filePath}" What it means
Error "no LSP provider handles "${request.filePath}"" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/lsp/lsp/src/index.ts:146
// All checks passed: reserve id and every extension in one lifecycle controller so disposal
// releases them together.
const dispose = this.ctx.effect(function* (this: Lsp) {
this.providerIds.add(id)
for (const [ext, route] of pending) this.routes.set(ext, route)
yield () => {
this.providerIds.delete(id)
for (const ext of pending.keys()) this.routes.delete(ext)
}
}.bind(this), 'lsp.registerProvider()')
// ctx.effect's disposer returns Promise<void>; our disposer API is synchronous
// fire-and-forget — discard the (always-resolved) promise.
return () => void dispose()
}
async query(request: LspQueryRequest, signal?: AbortSignal): Promise<LspQueryResult> {
const route = this.routes.get(finalExtension(request.filePath))
if (route === undefined) {
throw new LspError(`no LSP provider handles "${request.filePath}"`, 'LSP_UNAVAILABLE')
}
return route.provider.query({ ...request, languageId: route.languageId }, signal)
}
}
/** Lowercase an extension and ensure it carries a leading dot; `EXTENSION_PATTERN` rejects the rest. */
function normalizeExtension(ext: string): string {
const lower = ext.toLowerCase()
return lower.startsWith('.') ? lower : `.${lower}`
}
export default Lsp
View on GitHub (pinned to b150a551b8)
Solutions
- Register an LSP provider that handles this file's language, or fix the file path.
When it happens
Trigger: Thrown at packages/lsp/lsp/src/index.ts:146 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/6dfae48a6400ad51.
Report an issue: GitHub.