R
Railway11mo ago
eg102

Deployment error log

Trying to deploy site this is what I'm receiving on repeat: (node:1) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) /app/node_modules/mongodb/lib/utils.js:687 throw error; ^ Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.zdkrf.mongodb.net at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/callback_resolver:47:19) { errno: undefined, code: 'ENOTFOUND', syscall: 'querySrv', hostname: '_mongodb._tcp.cluster0.zdkrf.mongodb.net' } Node.js v18.17.1
14 Replies
Percy
Percy11mo ago
Project ID: N/A
eg102
eg10211mo ago
N/A
eg102
eg10211mo ago
No description
eg102
eg10211mo ago
Hello this is screenshot of deploy logs
Brody
Brody11mo ago
try disabling the private network
eg102
eg10211mo ago
how can I do that?
Brody
Brody11mo ago
from the service settings
eg102
eg10211mo ago
No description
eg102
eg10211mo ago
It doesnt seem to be on
Brody
Brody11mo ago
then its looking like you have a code issue
eg102
eg10211mo ago
Do you have idea of what it can be, do I have to make environment varible for mongo im not sure but I think i did that when I deployed before This exact code it worked befor
Brody
Brody11mo ago
you would need an environment variable for mongo, yes
eg102
eg10211mo ago
Do you know what I should put in the variable i do not remember exactly
Brody
Brody11mo ago
likely the mongo url then you would want to use that environment vairable in code to connect
Want results from more Discord servers?
Add your server