supabase/postgres-meta

`supabase start` fails on postgres-meta container start up

derekr opened this issue · 0 comments

Bug report

Describe the bug

Container fails to start with following:

2023-01-30 20:57:10 
2023-01-30 20:57:10 > @supabase/postgres-meta@0.0.0-automated start
2023-01-30 20:57:10 > node dist/server/app.js
2023-01-30 20:57:10 
2023-01-30 20:57:10 (node:19) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
2023-01-30 20:57:10 (Use `node --trace-warnings ...` to show where the warning was created)
2023-01-30 20:57:10 node:internal/modules/cjs/loader:1249
2023-01-30 20:57:10   return process.dlopen(module, path.toNamespacedPath(filename));
2023-01-30 20:57:10                  ^
2023-01-30 20:57:10 
2023-01-30 20:57:10 Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/src/app/node_modules/libpg-query/build/Release/queryparser.node)
2023-01-30 20:57:10     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1249:18)
2023-01-30 20:57:10     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:10     at Function.Module._load (node:internal/modules/cjs/loader:878:12)
2023-01-30 20:57:10     at Module.require (node:internal/modules/cjs/loader:1067:19)
2023-01-30 20:57:10     at require (node:internal/modules/cjs/helpers:103:18)
2023-01-30 20:57:10     at Object.<anonymous> (/usr/src/app/node_modules/libpg-query/index.js:1:17)
2023-01-30 20:57:10     at Module._compile (node:internal/modules/cjs/loader:1165:14)
2023-01-30 20:57:10     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
2023-01-30 20:57:10     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:10     at Function.Module._load (node:internal/modules/cjs/loader:878:12) {
2023-01-30 20:57:10   code: 'ERR_DLOPEN_FAILED'
2023-01-30 20:57:10 }
2023-01-30 20:57:10 npm notice 
2023-01-30 20:57:10 npm notice New major version of npm available! 8.19.3 -> 9.4.0
2023-01-30 20:57:10 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.4.0>
2023-01-30 20:57:10 npm notice Run `npm install -g npm@9.4.0` to update!
2023-01-30 20:57:10 npm notice 
2023-01-30 20:57:11 (node:18) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
2023-01-30 20:57:11 (Use `node --trace-warnings ...` to show where the warning was created)
2023-01-30 20:57:11 node:internal/modules/cjs/loader:1249
2023-01-30 20:57:11   return process.dlopen(module, path.toNamespacedPath(filename));
2023-01-30 20:57:11                  ^
2023-01-30 20:57:11 
2023-01-30 20:57:11 Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/src/app/node_modules/libpg-query/build/Release/queryparser.node)
2023-01-30 20:57:11     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1249:18)
2023-01-30 20:57:11     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:11     at Function.Module._load (node:internal/modules/cjs/loader:878:12)
2023-01-30 20:57:11     at Module.require (node:internal/modules/cjs/loader:1067:19)
2023-01-30 20:57:11     at require (node:internal/modules/cjs/helpers:103:18)
2023-01-30 20:57:11     at Object.<anonymous> (/usr/src/app/node_modules/libpg-query/index.js:1:17)
2023-01-30 20:57:11     at Module._compile (node:internal/modules/cjs/loader:1165:14)
2023-01-30 20:57:11     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
2023-01-30 20:57:11     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:11     at Function.Module._load (node:internal/modules/cjs/loader:878:12) {
2023-01-30 20:57:11   code: 'ERR_DLOPEN_FAILED'
2023-01-30 20:57:11 }
2023-01-30 20:57:12 (node:19) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
2023-01-30 20:57:12 (Use `node --trace-warnings ...` to show where the warning was created)
2023-01-30 20:57:12 node:internal/modules/cjs/loader:1249
2023-01-30 20:57:11 
2023-01-30 20:57:11 > @supabase/postgres-meta@0.0.0-automated start
2023-01-30 20:57:11 > node dist/server/app.js
2023-01-30 20:57:11 
2023-01-30 20:57:12 
2023-01-30 20:57:12 > @supabase/postgres-meta@0.0.0-automated start
2023-01-30 20:57:12 > node dist/server/app.js
2023-01-30 20:57:12 
2023-01-30 20:57:12   return process.dlopen(module, path.toNamespacedPath(filename));
2023-01-30 20:57:12                  ^
2023-01-30 20:57:12 
2023-01-30 20:57:12 Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/src/app/node_modules/libpg-query/build/Release/queryparser.node)
2023-01-30 20:57:12     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1249:18)
2023-01-30 20:57:12     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:12     at Function.Module._load (node:internal/modules/cjs/loader:878:12)
2023-01-30 20:57:12     at Module.require (node:internal/modules/cjs/loader:1067:19)
2023-01-30 20:57:12     at require (node:internal/modules/cjs/helpers:103:18)
2023-01-30 20:57:12     at Object.<anonymous> (/usr/src/app/node_modules/libpg-query/index.js:1:17)
2023-01-30 20:57:12     at Module._compile (node:internal/modules/cjs/loader:1165:14)
2023-01-30 20:57:12     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
2023-01-30 20:57:12     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:12     at Function.Module._load (node:internal/modules/cjs/loader:878:12) {
2023-01-30 20:57:12   code: 'ERR_DLOPEN_FAILED'
2023-01-30 20:57:12 }
2023-01-30 20:57:13 
2023-01-30 20:57:13 > @supabase/postgres-meta@0.0.0-automated start
2023-01-30 20:57:13 > node dist/server/app.js
2023-01-30 20:57:13 
2023-01-30 20:57:13 (node:19) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
2023-01-30 20:57:13 (Use `node --trace-warnings ...` to show where the warning was created)
2023-01-30 20:57:13 node:internal/modules/cjs/loader:1249
2023-01-30 20:57:13   return process.dlopen(module, path.toNamespacedPath(filename));
2023-01-30 20:57:13                  ^
2023-01-30 20:57:13 
2023-01-30 20:57:13 Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/src/app/node_modules/libpg-query/build/Release/queryparser.node)
2023-01-30 20:57:13     at Object.Module._extensions..node (node:internal/modules/cjs/loader:1249:18)
2023-01-30 20:57:13     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:13     at Function.Module._load (node:internal/modules/cjs/loader:878:12)
2023-01-30 20:57:13     at Module.require (node:internal/modules/cjs/loader:1067:19)
2023-01-30 20:57:13     at require (node:internal/modules/cjs/helpers:103:18)
2023-01-30 20:57:13     at Object.<anonymous> (/usr/src/app/node_modules/libpg-query/index.js:1:17)
2023-01-30 20:57:13     at Module._compile (node:internal/modules/cjs/loader:1165:14)
2023-01-30 20:57:13     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
2023-01-30 20:57:13     at Module.load (node:internal/modules/cjs/loader:1043:32)
2023-01-30 20:57:13     at Function.Module._load (node:internal/modules/cjs/loader:878:12) {
2023-01-30 20:57:13   code: 'ERR_DLOPEN_FAILED'
2023-01-30 20:57:13 }

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Run supabase start

Expected behavior

Containers start up OK.

System information

  • OS: macOS m1
  • Version of Node.js: 19 (in container)