Repository navigation
Error: No such built-in module: node:sqlite #810
Description
Activity
node version upgrade fixed this for me
That caused a different error:
❯ npm install -g npm@latest
changed 10 packages in 2s
15 packages are looking for funding
runnpm fundfor details
❯ npx t3
(node:95070) ExperimentalWarning: SQLite is an experimental feature and might change at any time
(Usenode --trace-warnings ...to show where the warning was created)
[10:31:34.856] ERROR (#10): Error: Failed to execute statement {
[cause]: TypeError: statement.columns is not a function
at hasRows (file:///Users/********/.npm/_npx/5ca66e5ae19a7ff4/node_modules/t3/dist/NodeSqliteClient-HpJMkQ8C.mjs:44:28)
}still happening @beergeekdotcom ??
Yes. Just upgraded t3 and node but still get:
npx t3
[18:06:40.806] ERROR (#10): Error: 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)Getting the same error in Ubuntu 24.04:
TypeError: statement.columns is not a functionahayes@yamcha ~/Homespace/c64cade feature/multi-region-lobbies npx t3 Need to install the following packages: t3@0.0.11 Ok to proceed? (y) y (node:291667) ExperimentalWarning: SQLite is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) [19:18:56.478] ERROR (#10): Error: Failed to execute statement { [cause]: TypeError: statement.columns is not a function at hasRows (file:///home/ahayes/.npm/_npx/5ca66e5ae19a7ff4/node_modules/t3/dist/NodeSqliteClient-HpJMkQ8C.mjs:44:28)@hayesmaker
it npx t3 should've installed the version 0.0.17.
can you try this.
npx t3@0.0.17these are the supported node versions:
"engines": { "node": "^22.16 || ^23.11 || >=24.10" }
Reacted by Ilya
Trying the npm version via the install command listed:
npx t3
Installs, then starts, then errors:
[08:46:13.469] ERROR (#10): Error: 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)