R
Railway13mo 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
Percy13mo ago
Project ID: N/A
eg102
eg10213mo ago
N/A
eg102
eg10213mo ago
No description
eg102
eg10213mo ago
Hello this is screenshot of deploy logs
Brody
Brody13mo ago
try disabling the private network
eg102
eg10213mo ago
how can I do that?
Brody
Brody13mo ago
from the service settings
eg102
eg10213mo ago
No description
eg102
eg10213mo ago
It doesnt seem to be on
Brody
Brody13mo ago
then its looking like you have a code issue
eg102
eg10213mo 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
Brody13mo ago
you would need an environment variable for mongo, yes
eg102
eg10213mo ago
Do you know what I should put in the variable i do not remember exactly
Brody
Brody13mo 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