-
Notifications
You must be signed in to change notification settings - Fork 211
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
Remote Extension host terminates unexpectedly with Nx extension 18.11+ #1978
Comments
Hey thanks for the report! Can you look into the developer console ( |
I don't see anything special in there related to Nx, but I have include an old-version log to allow you to see the differences between current version of the console vs the old version (18.10.1) of the extension. Current Extension Version (18.12.0): Old (working) Extension Version (18.10.1): If there is anything else I can provide, I will see what I can do. Thanks for looking into it! |
To update, continuing to happen in 18.13.0 of the NX Console extension. Also just updated VS Code to latest, so now at 1.85.2 and continuing to happen. To echo mmaday below, this is happening with multiple other members of my team all using a devcontainer within vscode for a docker environment setup. |
Just want to echo that my team and I are encountering the same issue with a very similar runtime environment. We're also downgrading to 18.10.1 as a workaround. |
Thanks for reporting this.
Also if you could |
Here is an empty devcontainer with most of my customizations stripped out other than extensions, in case there is some kind of conflict between them. I continue to get the REH errors with this, zero code loaded/running, just created in an empty folder, (well, technically I put this file in a .devcontainer folder), started vscode, let it detect that it exists, and have it build the devcontainer based on that definition. And, when done building, REH errors. |
My team is also getting this. We are also on Apple Silicon Macs. I did some experimentation with a minimal repro, and this appears to be caused by having both the Nx extension >=18.11 and the Prettier extension ( Repro steps are:
I've checked the remote extension logs and the vscode logs, but it's only showing an abrupt disconnect. I'm unable to find any specific cause. The actual contents of the workspace don't seem to matter - I can repro in a workspace with only the devcontainer.json. |
We're up to 18.16 and this is still happening. Given @interrobrian 's finding, this really doesn't seem like an uncommon configuration. Would love to see it fixed. |
Hey! Sorry for not responding here. I will look into reproducing this and seeing how I can fix it. |
Our team is hitting this same issue in a completely new devcontainer/repo we're setting up. One interesting finding, if I disable the Here's our nx report just for more data points:
And our installed extension list (I had pared it all the way back at one point and narrowed it down to Nx+Prettier being the crash culprit)
|
@MaxKless any updates? This plugin completely breaks devcontainers which, in our case, includes CodeSpaces, Gitpod, Devpod, etc. |
I see there was an update to the extension in the last couple of hours, and the other referenced ticket regarding this issue was marked completed, but initial testing this morning still has the same problems. |
Yes it was closed because it's a duplicate of this one. I've set aside time this week to dive deeper into this issue and see what's going on :) |
If more immediate feedback or testing can help, please ping me on discord, same name as here and I should be able to respond fairly quickly. |
I'm not able to create a repro but I suspect the issue is with the OS changing on nx. I was running into the same problem and also couldn't start the nx daemon inside the devcontainer. Unfortunately I didn't make a copy of the log file but the nx daemon was failing with an error about not being able to find From within the running devcontainer I deleted the
vscode v1.93.1 |
When using the current (18.11, 18.11.1, 18.12) versions of the Nx Console in VS Code, this error pops up:
The remote extension host then fails to load any other extensions
With 18.10.1, this did not happen
Steps to Reproduce
I don't know how reproducible it is, but my setup:
Macbook Pro M3
Sonoma 14.2.1
VS Code 1.85.1
Running in a Dev Container with ~20 extensions installed, including Nx Console
On startup of the devcontainer with the latest Nx Console extension version installed, the error in the screenshot above will happen. If I downgrade to 18.10.1, it no longer happens.
Failure Logs / Images / Videos
Image above
Relevant snippet I think from the Extension Host Logs:
2024-01-12 10:54:14.747 [info] ExtensionService#_doActivateExtension nrwl.angular-console, startup: false, activationEvent: 'onStartupFinished'
2024-01-12 10:54:14.830 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'api', root cause: nrwl.angular-console
I hope this is enough information, but if there is anything else I can provide, please let me know. Thanks!
The text was updated successfully, but these errors were encountered: