payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
23.57k stars 1.5k forks source link

Mismatching "payload" dependency versions found: @payloadcms/db-postgres@3.0.0-beta.100 (Please change this to 3.0.0-beta.97). #8119

Closed DragnovDC closed 3 weeks ago

DragnovDC commented 3 weeks ago

Link to reproduction

No response

Environment Info

Binaries:
  Node: 21.6.2
  npm: 10.8.3
  Yarn: 1.22.22
  pnpm: 9.9.0
Relevant Packages:
  payload: 3.0.0-beta.97
  next: 15.0.0-canary.104
  @payloadcms/db-postgres: 3.0.0-beta.100
  @payloadcms/email-nodemailer: 3.0.0-beta.97
  @payloadcms/graphql: 3.0.0-beta.97
  @payloadcms/live-preview: 3.0.0-beta.97
  @payloadcms/live-preview-react: 3.0.0-beta.97
  @payloadcms/next/utilities: 3.0.0-beta.97
  @payloadcms/plugin-cloud: 3.0.0-beta.97
  @payloadcms/plugin-form-builder: 3.0.0-beta.97
  @payloadcms/plugin-nested-docs: 3.0.0-beta.97
  @payloadcms/plugin-redirects: 3.0.0-beta.97
  @payloadcms/plugin-seo: 3.0.0-beta.97
  @payloadcms/richtext-lexical: 3.0.0-beta.97
  @payloadcms/translations: 3.0.0-beta.97
  @payloadcms/ui/shared: 3.0.0-beta.97
  react: 19.0.0-rc-06d0b89e-20240801
  react-dom: 19.0.0-rc-06d0b89e-20240801
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Thu Jan 11 04:09:03 UTC 2024
  Available memory (MB): 7879
  Available CPU cores: 8

Describe the Bug

When creating a project using website template with v3.0 i am getting this error. As it is evident from env info that only '@payloadcms/db-postgres: 3.0.0-beta.100' is upgraded to beta.100 for payload while other dependencies are still at beta.97. This causes a Runtime error. [Error: Mismatching "payload" dependency versions found: @payloadcms/db-postgres@3.0.0-beta.100 (Please change this to 3.0.0-beta.97). All "payload" packages must have the same version. This is an error with your set-up, not a bug in Payload. Please go to your package.json and ensure all "payload" packages have the same version.]

Reproduction Steps

  1. npx create-payload-app@beta my-project --use-pnpm -t website
  2. pnpm run dev

Adapters and Plugins

No response

github-actions[bot] commented 2 weeks ago

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.