Repository navigation
Closed as not planned
Labels
area: vscode-extensionIssues related to the Angular Language Service VsCode extensionIssues related to the Angular Language Service VsCode extensionneeds reproductionThis issue needs a reproduction in order for the team to investigate furtherThis issue needs a reproduction in order for the team to investigate further
Milestone
Description
Which @angular/* package(s) are the source of the bug?
language-service
Is this a regression?
Yes
Description
I have problems with the new version of the angular language service extension for VSCode.
I have only this extension running.
When i want to see all references VSCode indicates loading, which takes around 1-2 minutes.
I tried different versions of the extension, this issue first appeared with version 20.3.3.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
<--- Last few GCs --->
[58405:0x24800158000] 64415 ms: Scavenge (during sweeping) 3970.3 (3995.0) -> 3956.7 (3996.0) MB, pooled: 0.0 MB, 10.89 / 0.00 ms (average mu = 0.266, current mu = 0.254) allocation failure;
[58405:0x24800158000] 70665 ms: Mark-Compact (reduce) 3957.9 (3996.0) -> 3941.5 (3965.0) MB, pooled: 0.0 MB, 5586.49 / 0.00 ms (+ 89.3 ms in 20 steps since start of marking, biggest step 5.0 ms, walltime since start of marking 5702 ms) (average mu = 0.
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
[Info - 15:11:45] Connection to server got closed. Server will restart.
[Error - 15:11:45] Request textDocument/codeLens failed.
Error: Connection got disposed.
at Object.dispose (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:4665:25)
at Object.dispose (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:9450:35)
at LanguageClient.handleConnectionClosed (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:11658:38)
at LanguageClient.handleConnectionClosed (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:14102:15)
at closeHandler (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:11646:16)
at CallbackList.invoke (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2769:35)
at _Emitter.fire (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2828:34)
at closeHandler (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:3927:24)
at CallbackList.invoke (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2769:35)
at _Emitter.fire (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2828:34)
at IPCMessageReader.fireClose (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2970:27)
at ChildProcess.<anonymous> (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:4914:45)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:346:12)
[Error - 15:11:45] Request textDocument/codeLens failed.
Error: Connection got disposed.
at Object.dispose (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:4665:25)
at Object.dispose (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:9450:35)
at LanguageClient.handleConnectionClosed (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:11658:38)
at LanguageClient.handleConnectionClosed (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:14102:15)
at closeHandler (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:11646:16)
at CallbackList.invoke (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2769:35)
at _Emitter.fire (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2828:34)
at closeHandler (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:3927:24)
at CallbackList.invoke (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2769:35)
at _Emitter.fire (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2828:34)
at IPCMessageReader.fireClose (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:2970:27)
at ChildProcess.<anonymous> (/home/myname/.vscode/extensions/angular.ng-template-21.0.0/index.js:4914:45)
at ChildProcess.emit (node:events:531:35)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:346:12)
[Info - 15:11:46] Angular language server process ID: 59590
[Info - 15:11:46] Imported typescript/lib/tsserverlibrary is version 5.9.3.
[Info - 15:11:46] Using @angular/language-service v21.0.0-rc.3 from /home/myname/.vscode/extensions/angular.ng-template-21.0.0/node_modules/@angular/language-service/index.js
[Info - 15:11:46] Logging is turned off. To enable, run command 'Open Angular server log'.
[Info - 15:11:49] Enabling language service for /home/myname/git/myproj/proj/frontend/tsconfig.json.
Please provide the environment you discovered this bug in (run ng version)
"@angular/cli": "~19.1.7",
"@angular/compiler-cli": "^19.1.6",
"@angular/animations": "^19.1.6",
"@angular/cdk": "^19.1.4",
"@angular/common": "^19.1.6",
"@angular/compiler": "^19.1.6",
"@angular/core": "^19.1.6",
"@angular/forms": "^19.1.6",
"@angular/platform-browser": "^19.1.6",
"@angular/platform-browser-dynamic": "^19.1.6",
"@angular/router": "^19.1.6",
NodeVersion: v23.6.0,
"typescript": "~5.7.3",
OS: TUXEDO OS x86_64
VSCoder: 1.106.1
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area: vscode-extensionIssues related to the Angular Language Service VsCode extensionIssues related to the Angular Language Service VsCode extensionneeds reproductionThis issue needs a reproduction in order for the team to investigate furtherThis issue needs a reproduction in order for the team to investigate further
Activity
aparzi commentedon Nov 19, 2025
@JeanMeche
should be a potential
help wanted,GFIandarea: vscodelabelsatscott commentedon Nov 19, 2025
Really? Do you know what the issue is? Good first issues are ones with clear solutions and I do not see that here.
That’s unfortunate. 20.3.3 was the first successful release from this repository. We’re now effectively past the point of no return with the v21 release.
I don't think there’s enough information here to begin to investigate a fix
felixrieg commentedon Nov 19, 2025
Furthermore, since version 20.3.1 I cannot Ctrl+Click on a reference in an HTML file to jump to the declaration in the component.ts file.
Again no other extensions where enabled.
atscott commentedon Nov 19, 2025
20.3.1 and 20.3.2 were broken releases. Any bugs in those versions don’t quite mean anything
atscott commentedon Nov 19, 2025
Are you able to narrow things down to a smaller reproduction that you can share as a GitHub repo? Can you try deleting code from your project to pinpoint the areas that might be the source of the issue? Without being to reproduce this ourselves, we won’t be able to find a fix.
felixrieg commentedon Nov 20, 2025
I can try to reproduce it after work. However, I've found that the language service only works when I open VSCode directly in a frontend folder.
Our project structure has multiple frontend applications:
When I open VSCode at the root level, the Angular language service doesn't work properly. However, if I open VSCode directly in frontendOne or frontendTwo, everything works fine.
This worked correctly in version 20.3.0, but broke in later versions.
JeanMeche commentedon Feb 10, 2026
Looks like we didn't get a repro/follow-up, we'll close this issue for now. Feel free to file a new issue if you can provide a repro.
angular-automatic-lock-bot commentedon Mar 13, 2026
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.