I'm evaluating Payload CMS and tried to set up the LivePreview example. It's throwing an error cannot connect to MongoDB. Details: connect ECONNREFUSED 127.0.0.1:27017 when running the example. I'm supposing the PAYLOAD_SECRET should be a generated with something like openssl rand -hex 16? Or should it be found from some other place? Anyhow I'm not getting the example to work. Help needed.
#Evaluation testing LivePreview but getting: ERROR: Error: cannot connect to MongoDB.
2 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
- MongoDB - Options
- What is Payload? - Use Cases - Headless CMS
- Migrations - When to run migrations - MongoDB
- Installation - Adding to an existing app - 1. Install the relevant packages
- MongoDB