Short description
Neither npx nor bun can find node:sqlite
What happened?
The installation command gave the following output on my Debian 13 host:
❯ npx @cortexkit/aft@latest setup
node:internal/modules/esm/translators:391
throw new ERR_UNKNOWN_BUILTIN_MODULE(url);
^
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
at ModuleLoader.builtinStrategy (node:internal/modules/esm/translators:391:11)
at #translate (node:internal/modules/esm/loader:431:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:478:27) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}
Node.js v20.19.2
Essentially the same error with bunx instead:
❯ bunx @cortexkit/aft@latest setup
node:internal/modules/esm/translators:391
throw new ERR_UNKNOWN_BUILTIN_MODULE(url);
^
Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
at ModuleLoader.builtinStrategy (node:internal/modules/esm/translators:391:11)
at #translate (node:internal/modules/esm/loader:431:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:478:27) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}
Node.js v20.19.2
Diagnostics
❯ bunx @cortexkit/aft-opencode@latest doctor --issue
error: could not determine executable to run for package @cortexkit/aft-opencode
Plugin version
No response
AFT binary version
No response
Platform
linux x64 (Debian 13)
Log output (optional)
Short description
Neither npx nor bun can find
node:sqliteWhat happened?
The installation command gave the following output on my Debian 13 host:
Essentially the same error with
bunxinstead:Diagnostics
Plugin version
No response
AFT binary version
No response
Platform
linux x64 (Debian 13)
Log output (optional)