question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Cannot invoke `code-server` from integrated terminal

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox 102
  • Local OS: Win10
  • Remote OS: Ubuntu
  • Remote Architecture: 86
  • code-server --version: 4.5.0 (4.4.0)

Steps to Reproduce

  1. docker run codeserver:latest
  2. try to install extensions via code-server code-server --install-extension ms-python
  3. asd

Expected

Installation of Extension

Actual

Console throws error /usr/lib/code-server/lib/vscode/bin/remote-cli/code-server: 12: /usr/lib/code-server/lib/vscode/node: not found

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
tjcrancommented, Jul 25, 2022

Will be resolved by #5360

1reaction
fritterhoffcommented, Jul 20, 2022

My pretty simple idea would be to check inside the code-server script it’s location. So in case of being inside the remote-cli folder instead of the bin it maybe would be a solution to change the way the node location is detected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Terminal launch failures - Visual Studio Code
Troubleshoot Visual Studio Code Integrated Terminal launch failures. ... launch issues are related to environment setup and not a problem with VS Code....
Read more >
WSL isn't working in VS code. What could be the problem here?
In Vs Code ctrl+schift+p; Open Preferences: Open Settings (JSON); Add "terminal.integrated.shell.windows": "wsl.exe",; Reopen terminal.
Read more >
How to change font for terminal in Visual Studio Code? - 김영석
As you adopted OhMyZsh, iTerm according to your preferences, you must have run into this problem. Broken characters in terminal.
Read more >
How to Run Node.js in VS Code From Scratch - YouTube
... try restarting your device. Your browser can't play this video. ... We'll run the node command in the terminal manually.
Read more >
As VS Code Hits v1.69, Microsoft Announces VS Code Server
Terminal shell integration - Display command status, run recent commands and more: Coming out of preview is shell integration for PowerShell ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found