How to build vscode builtin extensions with Node 10 ?
April 10, 2019 at 4:11pmHow 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 --taskserror Command failed with exit code 1.
is there a way to get around this error? Thanks !
April 11, 2019 at 6:08am
April 11, 2019 at 5:01pm
April 12, 2019 at 4:39am
I've fixed it.
I've enabled Gitpod prebuilts for master branch, so you don't need to wait 7 mins each time, just open and download.