#Cloudflare Pages - page can't be found

1 messages · Page 1 of 1 (latest)

rain garden
#

I have not experience with GH actions, try build with npm and just deploy instead of creating too in it

nova hinge
nova hinge
#

Do you have any idea on this? Thank you

@dusty dagger @glass fossil

dusty dagger
nova hinge
dusty dagger
nova hinge
dusty dagger
nova hinge
#

@dusty dagger Its weird cause I'm getting like this

dusty dagger
#

are you sure the URL is correct?

nova hinge
#

@dusty dagger Yes. Maybe I'll try to make the repo public and share the code to you?

nova hinge
dusty dagger
nova hinge
#

@dusty dagger actually managed to deploy remix with just remix and cloudflare using this npm create cloudflare@latest my-remix-app -- --framework=remix

The issue is if I put it in turborepo, webpage isn't found when I deploy it.

dusty dagger
#

Oh, no idea then, i don’t use turborepo, I doubt it works outside Vercel

nova hinge
glass fossil
#

you might have set it to look for a Remix app but then it's in a different build directory with turborepo?

nova hinge
#

@glass fossil Hey Jacob. I’ll paste the repo here. I’ll make it public. Hold on

dusty dagger
#

It seems clear that the issue is with turborepo, I imagine you can’t use Cloudflare auto deploy and instead you need to do the build and deploy yourself, and configure it to work with turborepo

glass fossil
#

in your cloudflare pages config, is there a place where you set the build directory?

#

on cloudflare's website

nova hinge
glass fossil
#

I don't have any Pages at the moment

#

but there was an option where I said "this is a Remix app" and it pre-filled the /build directory and the /public/build

#

those are the things I think you need to change to make it see your turborepo app

nova hinge
#

Hmm can't seem to find it in the pages settings

#

@glass fossil Would be it fine to clone my repo and try to deploy it on your own? But still using github actions

glass fossil
#

click public-web-app and then there should be a settings something somewhere

nova hinge
#

I think that would show up only if you connect to git and not by github actions?

shut cliff
#

I'm getting this too, I believe this is because you are using @remix-run/node and not @remix-run/cloudflare