not-found.tsx didn't work #7537
Replies: 1 comment
-
This discussion was automatically closed because the community moved to vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Acknowledgement
Question
I have a problem with Next.JS's not-found.tsx (using /app)
Here's the error:
My not-found.tsx (at the root of /app)
You should also know that in “npm run dev”, it works fine, but as soon as I put it into production (via vercel), I get the error above.
I also use [locale]/ folder, for next-intl
I try the documentation (https://nextjs.org/docs/app/api-reference/file-conventions/not-found)
Beta Was this translation helpful? Give feedback.
All reactions