You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
https://nodejs.org/api/sqlite.html incorrectly says node:sqlite was added 22.5.0 #60601
When installing node 22.5.0 and 22.5.1 i realized that node:sqlite was not actually part of it. At least not in the ARM mac builds.
> node -v
v22.5.0
> node
Welcome to Node.js v22.5.0.
Type ".help" for more information.
> require('node:sqlite')
Uncaught Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
at Module._load (node:internal/modules/cjs/loader:1038:13)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:215:24)
at Module.require (node:internal/modules/cjs/loader:1304:12)
at require (node:internal/modules/helpers:123:16) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}
I realized that as the Zed project tried to start a copilot language server as such:
> "/Users/mgt/Library/Application Support/Zed/node/node-v22.5.1-darwin-arm64/bin/node" -v
v22.5.1
> "/Users/mgt/Library/Application Support/Zed/node/node-v22.5.1-darwin-arm64/bin/node"
Welcome to Node.js v22.5.1.
Type ".help" for more information.
> s = require('node:sqlite')
Uncaught Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:sqlite
at Module._load (node:internal/modules/cjs/loader:1038:13)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:215:24)
at Module.require (node:internal/modules/cjs/loader:1304:12)
at require (node:internal/modules/helpers:123:16) {
code: 'ERR_UNKNOWN_BUILTIN_MODULE'
}
and that version does not have node:sqlite yet. I then installed. Version 24.8 seems to have it at least. Not sure when it was added.
Good to know , but the move from experimental to non-experimental and in standard is also a version jump. I would have expected a separate version indicator then.
Activity
Renegade334 commentedon Nov 6, 2025
This lived behind
--experimental-sqlitein >=22.5.0 <22.13.0.matthiasg commentedon Nov 6, 2025
Good to know , but the move from experimental to non-experimental and in standard is also a version jump. I would have expected a separate version indicator then.
Should that be improved ?
doc: add missing history entry for `sqlite.md`
doc: add missing history entry for `sqlite.md`
doc: add missing history entry for `sqlite.md`
doc: add missing history entry for `sqlite.md`
doc: add missing history entry for `sqlite.md`
doc: add missing history entry for `sqlite.md`