Issue with Remix App Deployment on Cloudflare Pages - 404 Error After Successful Deploy

I’m having trouble deploying a simple Remix app. I created the app by running npm run remix@latest, pushed the local repo to GitHub, and connected it to Cloudflare Pages. I set up the deployment and picked the correct repo. The deployment is successful, but when I click the link, I’m getting a 404 error instead of the page being rendered. I followed the Pages documentation and pointed to the correct build/client folder. Any ideas on what could be wrong?
3 Replies
bkyerv
bkyervOP2mo ago
bump
bananaman
bananaman2mo ago
I'm getting the same issue ah i figured it out. install @remix-run/cloudflare and @remix-run/cloudflare-pages and replace imports to remix-run/cloudflare install wrangler too
bkyerv
bkyervOP2mo ago
where do i replace imports? in what file?
Want results from more Discord servers?
Add your server