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.

An error occurred on client

default discord avatar
plainnn2 years ago
2

Hi, I've just built my site (npm run build) and i'm getting

An error occurred on client

in a few places, where no content is shown on this page. It works fine on dev, and throws no errors - is this something common and is their a fix?



Wondering if it comes from the rich text field, since that is the content

  • default discord avatar
    derosul2 years ago

    For a bit more context, can you open the error stacktrace? 🙂

  • default discord avatar
    plainnn2 years ago

    All good, I think i've got it. I had an error with

    _document.js

    Thanks

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.