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

Type error: Type 'Args' does not satisfy the constraint 'PageProps'. #8477

Closed firstpersoncode closed 4 hours ago

firstpersoncode commented 7 hours ago

Link to reproduction

https://github.com/firstpersoncode/luxindo-reproduce

Environment Info

Binaries:
  Node: 20.17.0
  npm: 10.8.2
  Yarn: 1.22.19
  pnpm: 9.11.0
Relevant Packages:
  payload: 3.0.0-beta.109
  next: 15.0.0-canary.173
  @payloadcms/db-postgres: 3.0.0-beta.109
  @payloadcms/graphql: 3.0.0-beta.109
  @payloadcms/next/utilities: 3.0.0-beta.109
  @payloadcms/plugin-cloud-storage: 3.0.0-beta.109
  @payloadcms/storage-vercel-blob: 3.0.0-beta.109
  @payloadcms/translations: 3.0.0-beta.109
  @payloadcms/ui/shared: 3.0.0-beta.109
  react: 19.0.0-rc-3edc000d-20240926
  react-dom: 19.0.0-rc-3edc000d-20240926
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:16:46 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8112
  Available memory (MB): 8192
  Available CPU cores: 8

Describe the Bug

After update nextjs canary version into latest

Reproduction Steps

simply run "npm run build" script

Adapters and Plugins

No response

mobeigi commented 6 hours ago

This is a duplicate of: https://github.com/payloadcms/payload/issues/8463

AlessioGr commented 4 hours ago

Closing in favor of https://github.com/payloadcms/payload/issues/8463