when i start to build with a cluster database this error is shown Error: getaddrinfo ENOTFOUND baseat GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26) i start to look at the code in which i try to build localy and this error show also Error: Could not load js config file \env\production\database.js i use this code from the doc
const parse = require(“pg-connection-string”).parse;
const { host, port, database, user, password } = parse(
process.env.DATABASE_URL
);
module.exports = ({ env }) => ({
connection: {
client: ‘postgres’,
connection: {
host,
port,
database,
user,
password,
ssl: {
rejectUnauthorized: false,
},
},
debug: false,
},
});
This topic has been created from a Discord post (1297111178836836403) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord