[Apple_Jack]
[Apple_Jack]
DIAdiscord.js - Imagine an app
Created by [Apple_Jack] on 2/9/2024 in #djs-questions
postgresql issue with discord bot I am setting up
node:os:347
throw new ERR_SYSTEM_ERROR(ctx);
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
at new SystemError (node:internal/errors:234:5)
at new NodeError (node:internal/errors:337:7)
at Object.userInfo (node:os:347:11)
at parseOptions (/home/container/node_modules/postgres/lib/index.js:463:89)
at Postgres (/home/container/node_modules/postgres/lib/index.js:43:19)
at Object.<anonymous> (/home/container/src/database.js:4:13)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: -2,
code: 'ENOENT',
message: 'no such file or directory',
syscall: 'uv_os_get_passwd'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
node:os:347
throw new ERR_SYSTEM_ERROR(ctx);
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_get_passwd returned ENOENT (no such file or directory)
at new SystemError (node:internal/errors:234:5)
at new NodeError (node:internal/errors:337:7)
at Object.userInfo (node:os:347:11)
at parseOptions (/home/container/node_modules/postgres/lib/index.js:463:89)
at Postgres (/home/container/node_modules/postgres/lib/index.js:43:19)
at Object.<anonymous> (/home/container/src/database.js:4:13)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: -2,
code: 'ENOENT',
message: 'no such file or directory',
syscall: 'uv_os_get_passwd'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
This is the full error I have a .env file with all the credentials set correctly unsure as to why I am getting this error.
4 replies