Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Angular Language Service server crash on start #1821

Closed
1 of 2 tasks
tkobiela opened this issue Nov 28, 2022 · 2 comments
Closed
1 of 2 tasks

The Angular Language Service server crash on start #1821

tkobiela opened this issue Nov 28, 2022 · 2 comments
Labels

Comments

@tkobiela
Copy link

🐞 bug report

Is this a regression?

Yes, the previous version in which this bug was not present was 14.

Description

After updating to version 15 extension is constantly crashing.

Bug Type

What does this bug affect

  • Angular Language Service VSCode extension
  • Angular Language Service server

Reproduction

Steps to reproduce the behavior:
Open VSC and wait for extension initialization.

Expected behavior

VSC extension should start.

Logs


Error: Cannot find module 'c:\Users\Kobi\.vscode\extensions\angular.ng-template-15.0.1\v12_language_service\node_modules\@angular\language-server'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
[Error - 15:58:17] Connection to server got closed. Server will not be restarted.

Screenshots

image

🌍 Your Environment

Angular Version:


Angular CLI: 12.0.3
Node: 16.15.0
Package Manager: yarn 2.4.3
OS: win32 x64

Angular: 12.0.3
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1202.11
@angular-devkit/build-angular      12.2.0
@angular-devkit/core               8.3.23
@angular-devkit/schematics         14.2.5
@angular/cdk                       12.2.11
@angular/flex-layout               12.0.0-beta.35
@angular/localize                  12.2.11
@angular/material                  11.2.13
@angular/material-moment-adapter   11.2.13
@schematics/angular                12.0.3
ng-packagr                         12.2.0
rxjs                               6.6.7
typescript                         4.2.4
webpack                            5.59.1

Extension Version:




v15.0.1

VSCode Version:




Version: 1.73.1 (user setup)
Commit: 6261075646f055b99068d3688932416f2346dd3b
Date: 2022-11-09T04:27:29.066Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: No

Operating System:




Windows 10 Pro  Version 22H2 Build 19045.2311

Extension options:





Anything else relevant?

@tkobiela tkobiela added the bug label Nov 28, 2022
@atscott
Copy link
Collaborator

atscott commented Nov 30, 2022

Fixed by #1826. This should go out in the release today.

@atscott atscott closed this as completed Nov 30, 2022
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants