Code-server: Can't install extensions through CLI

Created on 19 Feb 2020  路  13Comments  路  Source: cdr/code-server


  • code-server version: codercom/code-server:2.1698
  • OS Version: Docker

Description

I can't install any extensions using the CLI:

$ code-server --install-extension redhat.vscode-xml
Installing extensions...
Extension 'redhat.vscode-xml' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-vscode.csharp
error undefined
$ code-server --install-extension ms-vscode.csharp
Installing extensions...
Extension 'ms-vscode.csharp' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-vscode.csharp
error undefined

I was able to do this earlier today (morning time GMT).

Steps to Reproduce

bug

All 13 comments

@kylecarbs I believe this is related to the new extension marketplace deployment.

It is. Investigating now.

Pushed a new version of the extension marketplace.

Confirmed to be fixed!

@kylecarbs some extensions still can't be installed via CLI, even if they're available in the UI, eg:
image

Hm will check it out. Thanks!

Ah there's a case sensitivity issue. Will fix.

Try: code-server --install-extension MaxGotovkin.tslens

Edit: Nevermind. It is a case issue, but gotta adjust the extensions.

Looks like it changes it to all lowercase:
image

Yup. Will fix!

Fixed 馃帄

@kylecarbs thanks for the fixes and updates - I've had luck installing most of the extensions we install through the CLI, but for some reason vscjava.vscode-java-pack (https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack) is no longer available. Any ideas?

I'll take a look!

Found the problem. That Java pack was failing to build with our extension marketplace. Fixing now.

Hm. Seems like the latest release for that Java pack isn't building correctly. An issue with installing node-sass.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arsaev picture Arsaev  路  3Comments

lshamis picture lshamis  路  3Comments

broady picture broady  路  3Comments

chrischabot picture chrischabot  路  3Comments

korzq picture korzq  路  3Comments