- VS Code Version: current main branch
- OS Version: fedora linux 39, kernel 6.6.4-200.fc39.x86_64
Steps to Reproduce:
- Enable extension market support for debug, both
./product.json and ./src/vs/platform/product/common/product.ts.
- Run
./scripts/code-server.sh to compile, then exit.
- Use current nodejs 21 to replace
.build/node/v18.17.1/linux-x64/node.
- Run
./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 and node-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 (or server-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": "" }
Steps to Reproduce:
./product.jsonand./src/vs/platform/product/common/product.ts../scripts/code-server.shto 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-ptyandnode-spdloguse 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.shvariant 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/stableif 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": "" }