Next.js Discord

Discord Forum

Help with web

Answered
Pachon Navarro posted this in #help-forum
Open in Discord
Pachon NavarroOP
¿Could someone help me with this problem?
Answered by B33fb0n3
ahh deployed with v0 and there are only "staged" envs (see attached). You have 2 options:
1. Use your CLI and push to a "production" env: vercel --prod
2. Get the code and push it to the main branch
View full answer

52 Replies

@Pachon Navarro ¿Could someone help me with this problem?
make sure to add your domain at the domains of your vercel project
but appears to be like with a orange thing saying Deployment not found
:thinq:
@Pachon Navarro It is added
can you share:
1. The url
2. A screenshot of the domains (like I did, but without the red lines)
3. There is no third option, but it looks cooler to have three options
Pachon NavarroOP
lmao
yeah, sure
i’m atm with my phone, but wait
@B33fb0n3 can you share: 1. The url 2. A screenshot of the domains (like I did, but without the red lines) 3. There is no third option, but it looks cooler to have three options
Pachon NavarroOP
here u have
the url is fine
the thing is that when i go into the website with my domain it pops that out
I already had that prob before but i think that it’s a problem inside the code
@Pachon Navarro here u have
Thanks! Can you click on "deployment" and send a screenshot as well?
@B33fb0n3 Thanks! Can you click on "deployment" and send a screenshot as well?
Pachon NavarroOP
where? when i click over there nothing happens
@Pachon Navarro where? when i click over there nothing happens
1. this one: (see attached)
2. Else try this url: https://vercel.com/<YOUR_TEAM_NAME>/<YOUR_PROJECT_NAME>/deployments
3. Refresh your page after you clicked it
Pachon NavarroOP
oh, sure
it actually works
but not from my domain
@Pachon Navarro Click to see attachment
ahh deployed with v0 and there are only "staged" envs (see attached). You have 2 options:
1. Use your CLI and push to a "production" env: vercel --prod
2. Get the code and push it to the main branch
Answer
Pachon NavarroOP
Uhh what’s the simplest one?
i don’t know a lot
@Pachon Navarro Uhh what’s the simplest one?
I would use the CLI, as I already installed it. If you have full control about the github repo, pushing to main should also be simple
Pachon NavarroOP
I do have full control abt the github thing
but i don’t know how to use it at all
then you should use the CLI as well. Install it: npm i -g vercel it, and run the command vercel --prod. You may be asked which project you want to move to production and you may need to login with your vercel account
@Pachon Navarro Ain’t that complicated? I mean, I don’t know how to do almost anything lmao
Exactly thats the point: you don't know how to do it, so you need a little guide. And the vercel CLI will guide you through. It will say you exactly what you need to do
@Pachon Navarro Alright, I can not do that on my phone, right?
I don't think so. You need to be inside your terminal
@B33fb0n3 I don't think so. You need to be inside your terminal
Pachon NavarroOP
Oh, okay
would you be able to help me or I have to make it?
as I won’t be today available
This thread will be open for 2 days with no activity. Feel free to hit me with a message here when you are ready. Whenever I am able to help you, I will help you
Pachon NavarroOP
@B33fb0n3 so I’ve got github on my phone
what should i do now
Pachon NavarroOP
Aight, so waht else?
@Pachon Navarro Aight, so waht else?
now run this vercel --prod
Pachon NavarroOP
Yeah but check this
@Pachon Navarro Yeah but check this
make sure to pull your project first. Do vercel pull
@B33fb0n3 make sure to pull your project first. Do `vercel pull`
Pachon NavarroOP
Same error
Pachon NavarroOP
💀
Pachon NavarroOP
I already fixed it, thanks :)
@Pachon Navarro I already fixed it, thanks :)
Are you now in production? Does the domain work correctly?
happy to help