menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

How to build vscode builtin extensions with Node 10 ?

April 10, 2019 at 4:11pm

How to build vscode builtin extensions with Node 10 ?

April 10, 2019 at 4:11pm (Edited 3 years ago)
Recently Jacques and I have been playing with vscode builtin extensions such as grunt, gulp, npm, and jake to achieve the compatibility.
We built extensions from source available at https://github.com/theia-ide/vscode-builtin-extensions. And this morning we noticed that, some extensions, such as gulp, did not build any more since we moved to Node 10.
As vscode uses Node 10 since Feb (i.e., https://github.com/Microsoft/vscode/pull/68098), we thought using Node 10 on the latest released version of code would work. So, we updated vscode-builtin-extensions/vscode to 1.33.0 as a submodule and rebuilt, but it still failed.
[11:54:23] Using gulpfile ~/dev/vscode-builtin-extensions/vscode/gulpfile.js
[11:54:23] Task never defined: compile-extensions-build
[11:54:23] To list available tasks, try running: gulp --tasks
error Command failed with exit code 1.
is there a way to get around this error? Thanks !

April 11, 2019 at 6:08am
please file an issue, i can have a look at it after sorting out failure for theia-apps images

April 11, 2019 at 5:01pm

April 12, 2019 at 4:39am
We need to upgrade to latest stable vscode them, the old extensions cannot be built with Node 8.
I've fixed it.
Edited
like-fill
1
I've enabled Gitpod prebuilts for master branch, so you don't need to wait 7 mins each time, just open and download.
works now. thank you for your help !