Remix & Payload

default discord avatar
colinramsay
12 months ago
1 1

I've created a new Remix app with create-remix and then copied over the (hopefully) relevant parts of a Payload app created with create-payload-app:

https://github.com/colinramsay/remixpayload

It starts up ok (npm run dev), but then when creating/editing an item in collection I see a blank screen with:

Uncaught TypeError: _reactRouterDom.withRouter is not a function

I've been down a rabbithole with this. I actually got it working by removing package-lock.json, rm -rf node_modules and then yarn install; yarn dev but have had various other issues since.

Does anyone have a working repo with Remix & Payload?

Open the post
Continue the discussion in GitHub
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.