Next.js Discord

Discord Forum

Vercel hosting not found error

Answered
Rough harvester ant posted this in #help-forum
Open in Discord
Avatar
Rough harvester antOP
I have had previous git repos being hosted and they get hosted fine, but any new git repos I host on vercel, gives me this error like in the image, or if you want check it out at the link https://admin-patriktkacik-com.vercel.app. I hosted blank next apps with latest, @13 versions or lesser all giving me this error, I troubleshooted through their docs but it did nothing. what can be wrong?
Image
Answered by linesofcode
Make sure the framework preset is set to NextJS
View full answer

21 Replies

Avatar
@Rough harvester ant
Go to the project settings in vercel
Avatar
Make sure the framework preset is set to NextJS
Answer
Avatar
Rough harvester antOP
thanks will check
Avatar
then do a redeploy
Avatar
Rough harvester antOP
omfggg
Thanks man its set to other
redeploy?
Avatar
for whatever reason sometimes the vercel auto config doesnt pick it up
Yeah redeploy
or just push a new commit
Avatar
Rough harvester antOP
damnit
I wasted like 5 hours debugging this
Avatar
You can redeploy by looking at the list of deployments and selecting one to redeploy
you and me both
Avatar
Rough harvester antOP
thanks man
Avatar
lol
Avatar
Rough harvester antOP
you're a lifesaver
Avatar
it took me ages to find this out
no probem, good luck!
Avatar
Rough harvester antOP
thank you man