vscodium: Extension host throws exception "Named export 'rgPath' not found." on RISC-V64 (installed by Open Remote - SSH)
Happens with both VSCodium 1.95.0.24287-insider and 1.94.2.24286. Client is MacOS ARM64, server is RISC-V64 Armbian/Debian Sid Linux.
Log entry - the full log file for 1.95.0.24287-insider is attached dda161016e115d6fa0fd302d2609be345b578a8b.log:
SyntaxError: Named export 'rgPath' not found. The requested module '@vscode/ripgrep' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@vscode/ripgrep';
Originally posted there: https://github.com/jeanp413/open-remote-ssh/issues/173
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (13 by maintainers)
Commits related to this issue
- fix(riscv64): bump nodejs to 20.16.0 Fix #2060 — committed to kxxt/vscodium by kxxt 2 years ago
I opened PR #2061 to fix it. Let’s wait for the CI.
Yes. Microsoft will fallback to assume the architecture is x86 32 bit.
Yes, you could symlink it to
~/.vscodium-server/bin/<COMMIT>/node_modules/@vscode/ripgrep/bin/rgbut that’s not what goes wrong here. The error here is that an import failure crashed the extension host.