-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Description
Which @angular/* package(s) are the source of the bug?
language-service
Is this a regression?
No
Description
The Angular Language Service extension gets stuck initializing in our projects. There are no errors in the logs and it keeps showing the message that initialization is ongoing.
I've set angular.log to verbose to capture a log output. I see no obvious critical errors and no progress messages from a certain point onward. It seems the extension just does nothing - which I assume isn't actually the case. It's more likely something is happening in the background, but there is no insight into this and it's therefore difficult to debug.
This is the log: nglangvsc.log
The last entry in the log is from 14:7:50.922. As I write this, it is 14:20:00.000 and there have been no new logs but the language service is still not ready.
Note that the REDACTED.ts files are all different files. I've removed as much information as I deemed necessary, but I removed no lines from the log output and did not alter the tsconfig.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Initializing Angular language features
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 20.3.13
Node: 22.18.0
Package Manager: pnpm 10.14.0
OS: linux x64
Using Angular version 20.3.15.
[Info - 2:07:37 PM] Angular language server process ID: 886168
[Info - 2:07:37 PM] Imported typescript/lib/tsserverlibrary is version 5.9.3.
[Info - 2:07:37 PM] Using @angular/language-service v21.1.0-rc.0 from /usr/local/google/home/sbarfurth/.vscode-server/extensions/angular.ng-template-21.1.0/node_modules/@angular/language-service/index.js
Anything else?
This repository is a Bazel monorepo.