-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: language packs can't be installed #6168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmm this seems to be a broader issue, I also can't install themes (tried Night Owl). It just says "can't install for Web" for basically any extension |
Does the same error happen if you install through the UI instead of the command line? I tried I am using the |
Yep, happens via the CLI too, unfortunately. I installed |
Update: Installing extensions from a local .vsix works, from UI works too now (not sure why yet) and I also found a way to change language, not through the UI though. I can install extensions using the UI as long as they support the web runtime, which is expected I think, non-web extensions don't support the platform "android". I don't know yet if installs through the UI work only now that there was a successful install of a .vsix once, or if it has to do with the recent 4.13 update (and the corresponding termux package re-build). Will try to figure that out tomorrow. What still doesn't work via the UI is installing & changing the language. Regular extensions can be installed, language packs can't. Installing via the .vsix works however! If you install from the external terminal, the language pack is installed and the prompt to install it doesn't show anymore, but still it does not work. If you want to change to the respective language in the UI, it prompts you to download the pack, then errors. But if you install the .vsix via the integrated terminal, it does work all of a sudden! 😊 |
So with a bit of luck, the recent update fixed the installation of web extensions and the only thing that still needs a fix is UI installation of the locale :) |
Confirmed, installing extensions works fine now, but Language Packs have to be installed via |
Alright, the issue is that I've now worked around this by overriding alias code-server="NODE_OPTIONS='-r $HOME/.android-as-linux.js' code-server" // ~/.android-as-linux.js
Object.defineProperty(process, 'platform', {
get() { return 'linux' }
}) |
Clever! |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 0.0.0 1da7cda with Code 1.77.3Steps to Reproduce
code-server --install-extension ms-ceintl.vscode-language-pack-de
Expected
Installs language pack
Actual
Installing extensions...
Installing extension 'ms-ceintl.vscode-language-pack-de'... The 'ms-ceintl.vscode-language-pack-de' extension is not available in code-server for Web.
Failed Installing Extensions: ms-ceintl.vscode-language-pack-de
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
Maybe related to the new localization api/impl in microsoft/vscode#164438?
(not using https but local host, which also allows service workers)
The text was updated successfully, but these errors were encountered: