Replies: 6 comments 12 replies
-
Hi @Canowyrms - I can help you figure what is going on here! Thanks for providing all the details about your machine and software. The steps you followed are correct, but it appears MongoDB is not connecting for you. Do you have MongoDB Compass installed on your machine? First thing we should do is ensure your connection to the database is successful. Note: I'm converting this to a discussion so we can continue troubleshooting there. |
Beta Was this translation helpful? Give feedback.
-
Hi @JessChowdhury , thank you for taking the time to troubleshoot this with me. I'm not sure when I'll have the opportunity to play around with this again, but if/when I do, I can chime in here again. However, it sounds like @JamieBradders is experiencing the same issue, so if you want to move to troubleshooting with them, please go ahead. |
Beta Was this translation helpful? Give feedback.
-
Hi @JessChowdhury, I'm having the same issue: I got I tried I am on Window (without WSL). My connection to MongoDB is fine, I can connect with MongoCompass, and with I am looking forward to migrating to v2, so if you can help troubleshooting I'm grateful. I can provide more information if you needed, unfortunately the log only says Thanks ! |
Beta Was this translation helpful? Give feedback.
-
Solution for Docker ComposeEdit
Explanation:
Test on Payload v2.5.0 |
Beta Was this translation helpful? Give feedback.
-
My issue was that I had to install MongoDB. Install it with:
|
Beta Was this translation helpful? Give feedback.
-
I don't know why, but mongoose doesn't like pnp :) I had the same problem with local mongodb running in docker, but it wasn't working either with 127.0.0.1 or mongodb (or whatever thing I have in /etc/hosts). So my solution was just to switch the nodeLinker:
Probably it's somehow related to M1 mac. |
Beta Was this translation helpful? Give feedback.
-
Link to reproduction
No response
Describe the Bug
Hello. I'm trying to spin up Payload to play around with it. To the best of my knowledge, I'm following the installation instructions as they're written, but I'm encountering some issues... I did search here and Google before writing this, but I wasn't able to find anything related :\
Node: v18.18.2
NPM: 10.2.0
Yarn: 4.0.0-rc.53
(Above installed via Volta, if that matters.)
Ubuntu 22.04.03 LTS on WSL2 on Win10.
Docker Desktop: v4.24.2 (using WSL2 backend)
Not sure if this is an issue with Payload itself or with Yarn/whatever package manager it decides to use with
npx create-payload-app
(it's not clear to me which one is being used during this process). After creating the Payload app andcd
ing in, I runyarn dev
, like it says, and I get some error output that the app crashed.Expand for terminal output
I also tried to get started by using the included
docker-compose.yml
... I had some problems there, too.Over in the browser, hitting
http://127.0.0.1:3000
returns an error:What am I doing wrong? How am I managing to fail two different ways?
To Reproduce
npx create-payload-app -n payload-cms-sandbox -t website
cd payload-cms-sandbox
yarn dev
npx create-payload-app -n payload-cms-sandbox -t website
cd payload-cms-sandbox
docker-compose up
http://127.0.0.1:3000
in the browser, receive 'connection reset' error.Payload Version
Latest?
Adapters and Plugins
No response
Beta Was this translation helpful? Give feedback.
All reactions