404 error Next.js project

Hi everyone,

currently I am making a travel tool where I can see the cabine sizes and weights for certain airlines. For this project I use Next.js to learn how to use this framework. The first version of the project is finished and the website deployed without any errors. However when I visit the website I get a “404 | This page could not be found” message. I am wondering what went wrong since I do not get any errors and I can deploy the website locally. I have a feeling it has to do with the file structure I have.

Link to repository: GitHub - cheunyinz/whatcanicarry
Link to website: https://whatcanicarry.netlify.app/

thank you in advanced!

Kind regards,


The website appears to be working. Have you resolved this?

yes it works, I didn’t had page.tsx file

1 Like