iJKTen
1
I have this GitHub - iJKTen/my-friend-jai with two folders and one of the folder contains a Gatsby app and the other one has a next.js app.
The Gatsby app is here //github.com/iJKTen/my-friend-jai/my-friend-jai and it is deployed here //clever-minsky-02225d.netlify.app. The site has the following deploy settings
Repository
Base directory
/my-friend-jai
Build command
gatsby build
Publish directory
/my-friend-jai/public/
The next.js app has the following deploy settings and deployed here sad-kare-37a7a1.netlify.app/
Repository
Base directory
/music-from
Build command
next build
Publish directory
/music-from/.next/
After deploying my next.js site and navigating to this URL sad-kare-37a7a1.netlify.app/ I get a page not found.
How do I fix my next.js deployment?
Thank you
perry
2
Hi there,
Did you see this guide yet? This is the best place to start for “Page Not Found” issues.
If you are still seeing issues after following the troubleshooting steps in this guide, please let us know!
1 Like
iJKTen
3
Sweet Thanks. For the build command I had to set next build; next export and set the publish directory to /music-from/out/
1 Like