My site is not deployed on the internet

When I deploy my website it says "Success: Your site was deployed!" but when I click on my "page.dev" link or write my domain name on the internet. Nothing happens and the site is not online. However, when I try to launch the site in local host from my computer, it works perfectly. Help me pls
27 Replies
Walshy
Walshy2w ago
haven't you already posted this once? but also, you'll need to send a domain for us to check
! World_Service
! World_ServiceOP2w ago
No world-shop.cc
Walshy
Walshy2w ago
that's not a pages.dev but it's 404ing so your output directory is likely incorrect ok you did send it before - i'm not going crazy
! World_Service
! World_ServiceOP2w ago
This ?
! World_Service
! World_ServiceOP2w ago
No description
Walshy
Walshy2w ago
yes is your root actually where your content lives?
! World_Service
! World_ServiceOP2w ago
In the wrong room but I deleted it
Walshy
Walshy2w ago
then don't tell me you didn't send it :p
! World_Service
! World_ServiceOP2w ago
Yes it's true, sorry Idk What should I put in this box?
Walshy
Walshy2w ago
looking at your project it looks like it needs to be built i don't know what framework you're using though is this react?
! World_Service
! World_ServiceOP2w ago
I don't know, I'm not the developer Where can I see this?
Walshy
Walshy2w ago
then you should chat with the developer there's likely a build script in package.json if so, you want your build command to be npm run build but this would be much easier to ask the developer because i don't know your project
! World_Service
! World_ServiceOP2w ago
this ?
No description
Walshy
Walshy2w ago
ok it's next yes next is much more complicated to guide someone through :sweatblob: i would hope this is ssg
! World_Service
! World_ServiceOP2w ago
ssg ?
Walshy
Walshy2w ago
don't worry about it just set build command to npm run build and output directory to out and hope that works
! World_Service
! World_ServiceOP2w ago
like that ?
No description
Walshy
Walshy2w ago
yep
! World_Service
! World_ServiceOP2w ago
No description
Walshy
Walshy2w ago
ok so the build is failing that, i cannot help with - you'll need to work with the dev to fix the code/config
! World_Service
! World_ServiceOP2w ago
What should he do?
Walshy
Walshy2w ago
look at the error and see what is wrong they'll know what to do
! World_Service
! World_ServiceOP2w ago
Okay, I'll check it out with him. If I have any other questions, can I DM you or mention you here?
Walshy
Walshy2w ago
i do not offer support in DMs. you can reply to this thead and i'll see it.
! World_Service
! World_ServiceOP2w ago
Ok thanks so much @Walshy When I run it locally on my PC, I do npm i then npm run dev. And someone told me I need to do it on Cloudflare.
Walshy
Walshy2w ago
no that just runs the dev server you cannot do that and should never do it in production anyway
! World_Service
! World_ServiceOP2w ago
Ok

Did you find this page helpful?