-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
needs-investigationThis issue needs to be further investigatedThis issue needs to be further investigated

Description
Is 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 09bc300 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.
achembarpu
Metadata
Metadata
Assignees
Labels
needs-investigationThis issue needs to be further investigatedThis issue needs to be further investigated