Fresh NextJs deployment - 404 not found
Answered
Western yellowjacket posted this in #help-forum
Western yellowjacketOP
Hey there, I literally created a new app with:
Then pushed it to Github, and then deployed it in NextJs.
Now I get this annoying 404 error.
I've tried everything I can think of, but cant find what's wrong.
I've gone through this checklist (https://vercel.com/docs/errors/NOT_FOUND), there are no errors in the build logs...
Does anyone have any ideas?
It builds and work locally
npx create-next-appThen pushed it to Github, and then deployed it in NextJs.
Now I get this annoying 404 error.
I've tried everything I can think of, but cant find what's wrong.
I've gone through this checklist (https://vercel.com/docs/errors/NOT_FOUND), there are no errors in the build logs...
Does anyone have any ideas?
It builds and work locally
7 Replies
Hey @Western yellowjacket
Go to your project settings in vercel
Answer
Make sure the framework is set to nextjs
Western yellowjacketOP
Yay it works, thanks so much!!!
It was set to 'Other', I would have imagined it'd be set to NextJS by default. Perhaps there was an issue in automatic detection somehow....
It was set to 'Other', I would have imagined it'd be set to NextJS by default. Perhaps there was an issue in automatic detection somehow....

no problem