Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

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

default discord avatar
bradsieglerlast year
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
    last year

    Thanks for the report!

    @695369301288419388

    . 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
    bradsieglerlast year
    @967118574445547650

    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
    last year

    No problem!

  • default discord avatar
    pei_ghostlast year

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

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.