-
Notifications
You must be signed in to change notification settings - Fork 53
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
VSCode unable to start Glint language server for… #662
Comments
Glint is only compatible with ember-template-imports v3, until this is released: What version of these deps do you have?
|
Thanks
It was:
ember-template-imports 4.0.0
@glint/core 1.2.1
It seems this has removed the error:
ember-template-imports 3.4.2
@glint/core 1.1.0 (1.2.0 didn’t work)
|
Which dep change resolved the error? Can you try upgrading glint, using ember-template-imports v3? |
According to stack trace issue related to https://marketplace.visualstudio.com/items?itemName=jkiviluoto.tws ( |
If I upgrade to Glint 1.2.0, I get the following in the output:
If I upgrade to @glint/core 1.2.1 then I return to the original error “Unable to start Glint language server…” |
I installed a new project with just ember-template-imports (3.4.2) and glint (1.2.1) and it worked. |
What did you change in your tsconfig.json that made things work? |
There are a few things going on there
|
Thanks for pursuing this. I just wanted to get it to work, so the moment I got something without errors, I stopped. {
"extends": ["@tsconfig/ember/tsconfig.json"], I get the “Unable to start Glint language server…” error. |
Legit, thanks!, can you open a separate issue for supporting multiple extends? |
Does TS itself support multiple |
It may not. I don’t remember how I got to that in my original config. I don’t think I need it so I’ll leave this here. |
it does, it's the whole reason the
As is common, documentation is incomplete, and not the source of truth 🙃 |
Hi folks. Just came across this as I'm experiencing it too. Just wanted to add a slight bit of colour as I don't see the exact solution here. I have a new ember app as of last week (Ember v5.5.0) and all the deps that brings with it. "ember-template-imports": "^4.0.0",
"@glint/core": "^1.2.2", I can confirm that the issue was due to the multiple extends. So the following changed fixed it: - "extends": [
- "@tsconfig/strictest/tsconfig.json",
- "@tsconfig/ember/tsconfig.json"
- ],
+ "extends": "@tsconfig/ember/tsconfig.json" Now, the bit that I didn't see here is why "@tsconfig/strictest/tsconfig.json" existed and how we can continue to use it. So, turns out the docs suggest adding that extends in typescript/additional-resources/faq/#toc_strictness. So, are we saying that we shouldn't be doing that at all and need to change the docs? Or, is there some other way that this should work that I'm missing? |
glint needs to support this. It's a feature of ts 5.0 :) |
I’ve opened a separate issue #672 |
I’m getting the following error on every file I try to open in VSCode.
I think this output in Extension host is related:
This is a new project, Ember 5.5 with ember template imports and no extra addons, running on Node 20.10.0
The text was updated successfully, but these errors were encountered: