I am trying to use Remix with payloadcms, would like to avoid http and just use the local api directly. However I get an error that vite is unable to recognize .node when loading sharp. If i exclude sharp from the bundle i get other random errors. Prod build is also failing because its trying to bundle all server side libs from payload into client.
#Remix with payload local api
2 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
- Using Payload outside Next.js
- Local API - Local options available
- Hooks Overview - Root Hooks - afterError