Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to use the tutorial as cloned from the repo, npm install --legacy-peer-deps has lots of failures and npm run dev doesn't work #30

Open
kozmikyak opened this issue Nov 27, 2024 · 1 comment

Comments

@kozmikyak
Copy link

It seems something is stale about the repo right now compared to the package versions currently available on npm. I'm running node.js
23.3.0 (latest) and associated npm.

Does it work properly with a downgraded npm version?

If not, is there any chance of reworking the dependencies so I can go through the video tutorial? Very interested to learn more about Payload CMS, this seemed like the best video out there for it.

@Fake-Sun
Copy link

It's better to use the stable version of node, I am running v22.13.1 and it worked.
You can also try installing it through yarn instead, that also worked for me at first before seeing the --legacy-peer-deps flag on the video (Installing it without it didn't work). Did you also replace the mongodb uri on the .env file first? Otherwise you will get errors as you wouldn't be able to connect to the DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants