Next.js Discord

Discord Forum

Deployment Issue

Unanswered
Pacific sand lance posted this in #help-forum
Open in Discord
Pacific sand lanceOP
I have a issue with the deployment Within Vercel

33 Replies

Pacific sand lanceOP
its been stuck on this
for like 20 minutes
and i redeployed 3-4 times and i get the same thing, but it works for my server before just not vercel


It worked for my server when i went to ip:port but on vercel u cant do that and i went to the domain that dont work either
Pacific sand lanceOP
also another error is i whitelisted my IP in the firewall and bypass but still when i visited the website i got the checking your browser and since i use brave it wont work as ig brave is unsupported so it keeps failing
@Pacific sand lance its been stuck on this
what does this one look like in your project
seems like you are running dev instead of build in the build command step, that's wrong.
@joulev what does this one look like in your project
Pacific sand lanceOP
the build cmd is npm run dev i even tried next dev

next build wont work because there's errors and idk y and idrc but idk why it dont work through and the install is npm install
@Pacific sand lance the build cmd is npm run dev i even tried next dev next build wont work because there's errors and idk y and idrc but idk why it dont work through and the install is npm install
no, it must be next build.
you run dev on the local machine (your computer).
on vercel you need to build for production mode.
(also please don't touch that section unless you know what you're doing)
and idk whjy
why
through
all i had to do is go to the ip:port
then it loads fine
@Pacific sand lance I cant do that cuz there's a error
then it is a bug in your code and fix that error
Pacific sand lanceOP
idfk how to i am still new to next JS and its my friend code it works for vercel for him but it wont for me
and he dont use
next build
@Pacific sand lance but it works for my server
that is the dev server, not the production server. you cannot host the dev server on vercel. it's for development purpose only, to deploy for users you must use prod server
Pacific sand lanceOP
what abt the other issue
i reported
i don't use vercel firewall, i don't know
Pacific sand lanceOP
alright but it is a bug
ig
and should tbh get fixed as i cant use the browser i always use which is annoying as my browser is brave and it wont verify it always says failed to verify or some crap
@joulev i don't use vercel firewall, i don't know
Pacific sand lanceOP
how do i check every web that is in queue for development
for i can end the ones that either errored out or didn't mean to run cuz all i know so far is go to every web then go to development but it'll be hard if u got 100+ webs lol
if it errored out, it automatically ended. if vercel can't build your app it can't deploy.
@joulev if it errored out, it automatically ended. if vercel can't build your app it can't deploy.
Pacific sand lanceOP
Ik but if I make a new project several times to see if it's just that project then it could just be that one of them has been tryna deploy instead of u having to wait like 1-4 hours for it to do crap as for me it took 1-4 hours for it to stop it would be easier for a tab in the dash that says deployments and it displays all active deployments
Where can I suggest it ?