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
haven't you already posted this once?
but also, you'll need to send a domain for us to check
No
world-shop.cc
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
This ?

yes
is your root actually where your content lives?
In the wrong room but I deleted it
then don't tell me you didn't send it :p
Yes it's true, sorry
Idk
What should I put in this box?
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?
I don't know, I'm not the developer
Where can I see this?
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 projectthis ?

ok it's next
yes
next is much more complicated to guide someone through :sweatblob:
i would hope this is ssg
ssg ?
don't worry about it
just set build command to
npm run build
and output directory to out
and hope that workslike that ?

yep

ok so the build is failing
that, i cannot help with - you'll need to work with the dev to fix the code/config
What should he do?
look at the error and see what is wrong
they'll know what to do
Okay, I'll check it out with him. If I have any other questions, can I DM you or mention you here?
i do not offer support in DMs. you can reply to this thead and i'll see it.
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.no
that just runs the dev server
you cannot do that and should never do it in production anyway
Ok