Skip to content

CLI install of extension reports errors when successful #966

Closed
@sstone1

Description

@sstone1

When I install the extension using the CLI in a Docker file:

RUN code-server --install-extension /tmp/ibp.vsix

I get the following error message for my VSIX:

Installing extensions...
(node:6) UnhandledPromiseRejectionWarning: Error: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?
    at Object.exports.decode (/src/build/code-server2.preview.11-vsc1.37.0-linux-x86_64-built/out/vs/server/node_modules/tar-stream/headers.js:267:43)
    at Extract.onheader (/src/build/code-server2.preview.11-vsc1.37.0-linux-x86_64-built/out/vs/server/node_modules/tar-stream/extract.js:123:39)
    at Extract._write (/src/build/code-server2.preview.11-vsc1.37.0-linux-x86_64-built/out/vs/server/node_modules/tar-stream/extract.js:249:8)
... omitted lots of stuff ...
Extension 'ibp.vsix' was successfully installed.

It works fine, so shouldn't the errors be suppressed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions