-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
There seems to be some sort of problem in Typescript, where LS at random times starts to churn out dozens/hundreds of error messages like these:
Glint: Error: Could not find source file: 'p:/Project/node_modules/ember-bootstrap/addon/components/bs-dropdown.js'. at getValidSourceFile (P:\Project\node_modules\.pnpm\[email protected]\node_modules\typescript\lib\typescript.js:152726:22) at Object.getDefinitionAtPosition2 [as getDefinitionAtPosition]
(P:\Project\node_modules\.pnpm\[email protected]\node_modules\typescript\lib\typescript.js:153262:71)
at GlintLanguageServer.getDefinition (file:///P:/Project/node_modules/.pnpm/@[email protected][email protected]/node_modules/@glint/core/lib/language-server/glint-language-server.js:313:40)
at file:///P:/Project/node_modules/.pnpm/@[email protected][email protected]/node_modules/@glint/core/lib/language-server/binding.js:123:79 at LanguageServerPool.runWithCapturedErrors (file:///P:/Project/node_modules/.pnpm/@[email protected][email protected]/node_modules/@glint/core/lib/language-server/pool.js:31:20)
at LanguageServerPool.withServerForURI (file:///P:/Project/node_modules/.pnpm/@[email protected][email protected]/node_modules/@glint/core/lib/language-server/pool.js:26:25)
at file:///P:/Project/node_modules/.pnpm/@[email protected][email protected]/node_modules/@glint/core/lib/language-server/binding.js:123:21
at P:\Project\node_modules\.pnpm\[email protected]\node_modules\vscode-languageserver\lib\common\server.js:603:20
at handleRequest (P:\Project\node_modules\.pnpm\[email protected]\node_modules\vscode-jsonrpc\lib\common\connection.js:493:41)
at handleMessage (P:\Project\node_modules\.pnpm\[email protected]\node_modules\vscode-jsonrpc\lib\common\connection.js:339:13)
Unfortunatelly the extension then floods the notifications with this error too, which slows the IDE down to a crawl.
Not sure if the extension has anything to do with this, TS/Glint started to do this lately, and I have no idea how to fix this error on TS/Glint side or what is going on there. But maybe it would be helpful to at least not flood the notifications with this getValidSourceFile error for now?
Thank you.
jhlibertyjhliberty
Metadata
Metadata
Assignees
Labels
No labels