New npx create-payload-app won't build (Type 'AfterReadHook'... issue in 3 files)

default discord avatar
bradsiegler
last month
4

I'm not able to find any previously-reported issues around this specific type error, and I would be much more hesitant to post if it wasn't an issue happening straight out of the box with a brand new CLI-generated project. I've been scratching my head at a way to remedy without attempting to edit Payload-generated types and files.



Thanks in advance for any advice or fix recommendations!

  • discord user avatar
    denolfe
    Payload Team
    last month

    Thanks for the report! @bradsiegler . I believe the issues you are seeing are wrapped up in this PR. Once that is merged, you can give it another try 👍



    https://github.com/payloadcms/payload/pull/3845
  • default discord avatar
    bradsiegler
    last month

    @denolfe thank you for the speedy response, and apologies for asking about something that's already being addressed! Great stuff 🚀



    I will mark this thread as solved as soon as this PR makes its way into prod!

  • discord user avatar
    denolfe
    Payload Team
    last month

    No problem!

  • default discord avatar
    pei_ghost
    last month

    +1 this. Running into the exact same error. For a bit, I thought it was something with my custom build.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.