Closed
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
I am trying to install postgrestools on debian bookworm and I have tried both the npm installation method and the binary installation method and neither work. Any suggestions?
Via binary:
$ > curl -L https://github.com/supabase-community/postgres-language-server/releases/download/0.2.1/postgrestools_x86_64-unknown-linux-gnu -o ~/.local/bin/postgrestools
chmod +x ~/.local/bin/postgrestools
postgrestools check test.sql
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 24.3M 100 24.3M 0 0 41.7M 0 --:--:-- --:--:-- --:--:-- 41.7M
postgrestools: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by postgrestools)
Via NPM:
$ > npm install --save-dev --save-exact @postgrestools/postgrestools
npx postgrestools check test.sql
added 1 package, and audited 2 packages in 2s
found 0 vulnerabilities
node:internal/modules/cjs/loader:1412
throw err;
^
Error: Cannot find module '@postgrestools/cli-x86_64-linux-gnu/postgrestools'
Require stack:
- /home/bandito/Projects/rideshare/node_modules/@postgrestools/postgrestools/bin/postgrestools
at Function._resolveFilename (node:internal/modules/cjs/loader:1409:15)
at Function.resolve (node:internal/modules/helpers:145:19)
at Object.<anonymous> (/home/bandito/Projects/rideshare/node_modules/@postgrestools/postgrestools/bin/postgrestools:27:13)
at Module._compile (node:internal/modules/cjs/loader:1739:14)
at Object..js (node:internal/modules/cjs/loader:1904:10)
at Module.load (node:internal/modules/cjs/loader:1473:32)
at Function._load (node:internal/modules/cjs/loader:1285:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/bandito/Projects/rideshare/node_modules/@postgrestools/postgrestools/bin/postgrestools'
]
}
Node.js v23.6.1
System information
- OS: debian bookworm