[Bug]: code-server not installing VSIX extensions
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Local OS: Android
- Remote OS: (Same device)
- Remote Architecture: aarch64
- Node.JS Version: 16
code-server --version
: 4.3.0 09bc30027a7fbba170f907a527eaa9f7219fe739 with Code 1.65.2
Steps to Reproduce
- Use
code-server --install-extension some-ext.vsix
Expected
Have the extension installed
Actual
The code-server gives this output:
~ $ code-server --install-extension /sdcard/Download/vscode-clangd-0.1.16_vsixhub.com.vsix
Installing extensions...
(node:18486) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Unable to delete the existing folder '/data/data/com.termux/files/home/vsext/llvm-vs-code-extensions.vscode-clangd-0.1.16' while installing the extension 'llvm-vs-code-extensions.vscode-clangd'. Please delete the folder manually and try again
Failed Installing Extensions: file:///sdcard/Download/vscode-clangd-0.1.16_vsixhub.com.vsix
Logs
With --verbose:
~ $ code-server --install-extension /sdcard/Download/vscode-clangd-0.1.16_vsixhub.com.vsix --verbose
[2022-05-01T17:48:53.507Z] debug Found VS Code arguments; spawning VS Code CLI
[2022-05-01T17:48:53.512Z] debug Running Code CLI
Installing extensions...
(node:20122) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Unable to delete the existing folder '/data/data/com.termux/files/home/.local/share/code-server/extensions/llvm-vs-code-extensions.vscode-clangd-0.1.16' while installing the extension 'llvm-vs-code-extensions.vscode-clangd'. Please delete the folder manually and try again
Failed Installing Extensions: file:///sdcard/Download/vscode-clangd-0.1.16_vsixhub.com.vsix
Screenshot/Video
No response
Does this issue happen in VS Code?
- I cannot reproduce this in VS Code.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
I installed code-server with this command:
FORCE_NODE_VERSION=16 yarn global add code-server --ignore-engines
I don’t know if one of these flags or enviroment variables break the code-server
PS: I marked
I cannot reproduce this in VS Code
because its obrigatory, but i don’t have a computer to test, and no, i don’t used HTTPS.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Students can't install Extensions in Visual Studio Code
This behaviour cannot be easily reproduced in another active directory domain. Does anyone know anything about this error message? active- ...
Read more >Find and install extensions - Visual Studio (Windows)
You can disable VSIX extensions but not extensions that were installed using an MSI. MSI-installed extensions can only be uninstalled.
Read more >How to install C/C++-Extension in VSCode-Server?
-> Click on version history and choose for your linux architecture. Install extension with: code-server --install-extension ms-vscode.cpptools- ...
Read more >Remote Development Tips and Tricks - Visual Studio Code
The Remote - SSH extension installs and maintains the "VS Code Server". ... fix a wide range of issues and error messages you...
Read more >FAQ - code-server v4.8.0 docs - Coder
Furthermore, Microsoft prohibits the use of any non-Microsoft VS Code from accessing ... Run code-server --install-extension <path to vsix> in the terminal.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The
code-server
process run as the same user that i use$ ps aux
:$ whoami
:Yeah, this is
ls -lA
on/data/data/com.termux/files/home/.local/share/code-server