github1s icon indicating copy to clipboard operation
github1s copied to clipboard

Installing an extension from vsix raises a "No Servers" exception

Open piersdeseilligny opened this issue 3 years ago • 2 comments

I've been trying to make my extension (betterfountain) compatible with github1s (installing it currently causes the error "Cannot install 'Better Fountain' because this extension has defined that it cannot run on the web server").

In order to do so, I want to install any test versions through a vsix file, rather than publishing it to the marketplace simply for a test.

Currently, however, it appears impossible, given that selecting "Install from vsix" and then picking a vsix file in the currently open repo, raises an extremely vague "No Servers" error, with no more details than that in any log:

image

I've also tested with a .vsix of the vim extension, which definitely works without any issues, and it's the same error. Presumably this is a bug? Ideally it would be nice to be able to upload vsix files, rather than them needing to be on the repo, but I realize that's probably quite a bit more complicated.

piersdeseilligny avatar Mar 23 '21 14:03 piersdeseilligny

Thanks you for your information.❤️

GitHub1s is running on browser completely, which means it can't use the node API now. For extensions who want to support for GitHub1s, there should be a browser entry field in package.json to specify how the extension works on browser.

We will try to found a better way make more extensions compatible with GitHub1s in the future.

conwnet avatar Mar 29 '21 02:03 conwnet

Is there a documentation on this topic? Github1s itself suggests https://code.visualstudio.com/docs/remote/codespaces but it is not very helpful.

HKalbasi avatar May 06 '21 00:05 HKalbasi