Replies: 1 comment
-
I found some useful info at https://payloadcms.com/docs/production/building-without-a-db-connection |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my case I created an app using "npx create-payload-app@latest" using MongoDB.
Now when I build it it fails with " Collecting page data .[21:07:23] ERROR: Error: cannot connect to MongoDB. Details: getaddrinfo EAI_AGAIN mongo"
Is it possible to disable this?
What instance of DB is it trying to connect to? dev or prod?
Beta Was this translation helpful? Give feedback.
All reactions