Extension can't be install from market on ./scripts/code-server.sh
with nodejs 21
#200934
Labels
insiders-released
Patch has been released in VS Code Insiders
Milestone
Steps to Reproduce:
./product.json
and./src/vs/platform/product/common/product.ts
../scripts/code-server.sh
to compile, then exit..build/node/v18.17.1/linux-x64/node
../scripts/code-server.sh
, open extension panel, search some name. You can see:This happen only on nodejs 21, not on nodejs 18.
* About running on nodejs 21
The dependencies
node-pty
andnode-spdlog
use NAN binding, so them needs recompile, or you can just ignore them.Or you can use my NAPI port of node-pty. And a faked pure-js spdlog here.
* About this variant of VSCode
The
./scripts/code-server.sh
variant runs UI in browser and extension host in nodejs. This variant is used as GitHub Codespace and can be download from https://update.code.visualstudio.com/latest/server-linux-x64-web/insider (orserver-win32-x64-web/stable
if you want).* About extension market
VSCode OSS don't have extension market enrtypoint by default, add these content temporarily enabling the market for debugging:
"extensionsGallery": { "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", "itemUrl": "https://marketplace.visualstudio.com/items", "controlUrl": "", "recommendationsUrl": "" }
The text was updated successfully, but these errors were encountered: