404 Page shows blank
Answered
Hexaa Scoooolzs posted this in #help-forum
![Avatar](https://cdn.discordapp.com/avatars/465454937267240962/f99e3db0a17f0d776761d09fbe81e8b5.webp?size=256)
Hexaa ScoooolzsOP
Hello!, so i've been creating a personal website for myself and gonna setting up
(I'm try to build and no errors come up)
not-found.tsx
file. before i'm code on that thing, i'm test into the 404 page (/en/foobar
). but weirdly, the page shows a blank page with a bunch of errors log-ed in chrome terminals. So, how to fix that blank page?(I'm try to build and no errors come up)
![Image](https://cdn.discordapp.com/attachments/1189133910433607753/1189133910840459344/image.png?ex=659d0e41&is=658a9941&hm=f950081bf2b5cda1e83c77b16547a4a37608f50f5020a367624cd6a7599b835d&)
Answered by Hexaa Scoooolzs
Okay i'm get it. the errors triggers because the parent layout
/app/layout.tsx
is empty or returned only children
. I'm fix it by just do add <html><body>
things and it works perfectly.1 Reply
![Avatar](https://cdn.discordapp.com/avatars/465454937267240962/f99e3db0a17f0d776761d09fbe81e8b5.webp?size=256)
Hexaa ScoooolzsOP
Okay i'm get it. the errors triggers because the parent layout
/app/layout.tsx
is empty or returned only children
. I'm fix it by just do add <html><body>
things and it works perfectly.Answer