-
Notifications
You must be signed in to change notification settings - Fork 124
@angular/language-service gets loaded from wrong location #437
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
Comments
Looking at the logs, I think this is due to microsoft/TypeScript#34616 Even though we resolved the location of I deduce this based on the line |
@andrius-pra, could you please manually inspect the version in Another way to confirm this:
but the stack trace shows a different location.
|
Maybe the solution here is to invert the default? We load TS and Angular from the bundled location, but provide users with an option load from workspace. |
I think we should leave probing the workspace version as being the default. |
|
yeah, it's v8.2.13. I guess we'll have to wait for TypeScript to release the change I made. Does anyone know if they're gonna backport the commit to older versions? |
typescript 3.7.2 is already released and it contains your change. |
It looks like the change is not yet in ts 3.7.2 |
This commit works around the bug in microsoft/TypeScript#34616 and partially fixes angular#437.
This commit works around the bug in microsoft/TypeScript#34616 and partially fixes #437.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Steps to reproduce:
npm install -g @angular/cli
ng new demo
cd demo & code .
app.component.html
. you will getNo config file for app.component.html
error in output window:app.component.ts
The Angular Language Service server crashed 5 times in the last 3 minutes. The server will not be restarted. popup and this error in output window
.The text was updated successfully, but these errors were encountered: