-
Notifications
You must be signed in to change notification settings - Fork 9
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
Uncaught error - Connection got disposed #42
Comments
Hi @andrew-paterson! Thank you for report! Could you specify:
Project details:
Project structure:
|
My apologies some data was missing above. vsCode version Project details Ember version Project structure There is only 1 ember project in the repo. |
@andrew-paterson thank you for details! Could you send output of this window: |
Hi @lifeart Thank you! Here it is. In case it helps,
|
It looks like server is going mad right after this line:
If we temporary remove this folder ( |
I've tracked down the issue via the output tab. One or two ember projects run Is it possible to have the UELS run a command like |
@andrew-paterson, you mean inside There is few possible solutions:
In scope of this conversation lifeart/ember-language-server#342 |
Thank you, that clarifies things. I can definitely find a sane workaround based on those 3 options. |
@andrew-paterson let me know if I can help you somehow, also, if issue may be fixed if uELS introduce it's own env variable ( |
Would that allow me to set custom env vars inside that? |
@andrew-paterson uELS does not run ‘ember serve’ command, it’s only loads config/environment.js file |
@lifeart, I found a good workaround to avoid the need for ENV vars before loading the environment file. It would be good to be able to set those though. |
@andrew-paterson in general, we need |
I see the above error in the runtime status tab for the extension settings, and it seems that the language server is nt starting up.
No linting hints are showing up in my template files. I have confirmed that running
npm run lint:hbs:fix
from my project directory works.I've also tried with only one Ember project in a workspace and the same issue occurred.
Ubuntu 22.04.2 LTS
The text was updated successfully, but these errors were encountered: