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.

React Console errors

default discord avatar
badjab3262 years ago
2

Hey folks, when I run the admin portal on my express server, I'm getting some react errors when I get to the admin page. Any ideas where I should start for a fix?

  • discord user avatar
    jacobsfletch
    2 years ago

    This is very likely due to reason number 3 from that error message. You probably have more than one copy of React. Do you have React installed as a dependency in your project? Or do you have Payload linked locally? These are two common causes.

  • default discord avatar
    badjab3262 years ago

    Thanks a ton! Turns out there are multiple react dependencies in my project, so I added react to my overrides to fix it.



    "overrides": {
        "graphql": "15.8.0",
        "react": "18.2.0"
      }
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.