Type error: Page "app/[lang]/page.tsx" does not match the required types of a Next.js Page. #54737
Unanswered
Michael0520
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Background:
I'm working on an application that involves rewriting routes through parameters. However, when I execute npm run dev to start the development server, I receive a 404 error indicating that
page.tsxcannot be found.Folder Structure:
Troubleshooting Steps I've Tried:
page.tsxis correct.Questions:
Has anyone encountered a similar issue?
What could be causing this?
Do you have any recommended steps or directions to resolve this?
References:
Working example URL
My GitHub Repository
Beta Was this translation helpful? Give feedback.
All reactions