Olivier Benz
Olivier Benz
> I _think_ what's going on is upstream `vscode` is injecting an update to the `PATH` environment variable to an undesirable location. @jsjoeio I can confirm this. JupyterLab Terminal: ```zsh...
This should have been fixed prior to the release of code-server v4.5.1. I am sticking with v4.4.0 for now.
The way `code-server` is released(/run?), it behaves like a _remote installation_. This ~might be~ is the reason, why `/opt/code-server/lib/vscode/bin/remote-cli` is prepended to `PATH`.
@jsjoeio Please add this issue to the [July 2022](https://github.com/coder/code-server/milestone/42) milestone.
@code-asher Compare `/opt/code-server/bin/code-server` with `/opt/code-server/lib/vscode/bin/remote-cli/code-server`. (`/opt/code-server` being the root directory of my `code-server` installation)
> Maybe we should remove it during the packaging step since I have no idea if it would even work if it could find Node (but maybe we look into...
If > `/opt/code-server/bin/code-server` is the right one. you should > patch to prevent it [`/opt/code-server/lib/vscode/bin/remote-cli`] from getting added to the PATH?
@code-asher In code-server v4.4.0/v4.3.0 there is `/opt/code-server/lib/vscode/bin/remote-cli/code-oss`. 👉 `/opt/code-server/lib/vscode/bin/remote-cli` is prepended to `PATH`, too; but there is `code-oss` instead of `code-server` at the said path. --- My workaround is renaming...
In code-server v4.1.0 `/opt/code-server/vendor/modules/code-oss-dev/bin` is prepended to `PATH`; the said path only containing `helpers/{browser.cmd,browser.sh}`.
I did a quick check at https://demo.jupyter.b-data.ch (Image `R (verse:latest) + code-server`). When a cell does not finish executing, i see the following in the container log over and over...