FS#76483 - [code] Running CLI commands broken due to missing ELECTRON_RUN_AS_NODE=1
Attached to Project:
Community Packages
Opened by Martin Rys (C0rn3j) - Tuesday, 08 November 2022, 08:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 08 November 2022, 20:00 GMT
Opened by Martin Rys (C0rn3j) - Tuesday, 08 November 2022, 08:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 08 November 2022, 20:00 GMT
|
Details
Description:
Running VSC with --list-extensions parameter fails on Linux through SSH if X is not running See upstream bug report for details https://github.com/microsoft/vscode/issues/165614, which turns out to be fault in Arch's packaging Steps to reproduce: Works: `/usr/bin/code --list-extensions` Doesn't: `ssh localhost '/usr/bin/code --list-extensions'` (on Wayland) Adding ELECTRON_RUN_AS_NODE=1 before the exec command in the bundled .sh launch script makes it work again. |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 08 November 2022, 20:00 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#75667
Tuesday, 08 November 2022, 20:00 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Martin Rys (C0rn3j) -
Tuesday, 08 November 2022, 08:51 GMT
This apparently existed before but was removed in
https://github.com/archlinux/svntogit-community/commit/f9ec89f9e2845e90f9524b28b74daf33ceb699bb