Next.js Discord

Discord Forum

not-found route problem

Answered
Asian black bear posted this in #help-forum
Open in Discord
Asian black bearOP
the not-found route is not inherting the font m using in my app also tailwind is not working on it , as u guys can see the tags are on their default browser style which is not the case with tailwind
Answered by riský
hmm but anyway there is a new version, can you try it out
View full answer

53 Replies

are you using latest version (13.5.2)
Asian black bearOP
yea 13.5.2
it used to be a bug in ealier versions...
have you made sure to actually install the version (not just add to package.json)
Asian black bearOP
here is it
tecknately, you can just import the layout file and wrap it aroung the function...
Asian black bearOP
when i build my app and run start it , i see the styles and font being used but in run dev , its like this
ahh its just a dev version issue
can i see your layout file
and is your postcss file set up correctly...
Asian black bearOP
@riský and is your postcss file set up correctly...
Asian black bearOP
yea , i mean everything is working right its just on this not-found route
if one checks the dev tools, can you go to network and see if there is the css file being requested or...
this is a very weird issue
and if you check in the head (in inspect section), is there a css file that should be imported?
@Asian black bear i dont get it
like i have this link href for my css, do you have it
Asian black bearOP
looks like idont , i checked the other routes but there cuz everything is good i do have it
so the whole css file is not being imported
lol what is this
*it should be there 😭 *
@riský *it should be there 😭 *
Asian black bearOP
I meaaan , i just wanna end the project and tara this happend
but you say release mode works?
@riský but you say release mode works?
Asian black bearOP
yeaa , but how can i even style and change what i want if i can only see till i run start it
idk, you could try making a page called 404, and importing and exporting the notFound page
@riský idk, you could try making a page called 404, and importing and exporting the notFound page
Asian black bearOP
yea its already on my mind but I still wanna know why the hell this is happening
mee too
try creating a https://nextjs-faq.com/minimal-reproduction-repository, and see if the error still occures
@riský try creating a https://nextjs-faq.com/minimal-reproduction-repository, and see if the error still occures
Asian black bearOP
damn that's some heavy work right heeere 😭
*if you want to know the real issue, that is prob the only way 😭 *
@riský *if you want to know the real issue, that is prob the only way 😭 *
Asian black bearOP
i mean the problem here has nothing to do with any logic or routes as being mentioned in this blog, but i'll see anyway and tell u
Asian black bearOP
yoo congrats , now even when i run start the app its not working :))))
that isn't something to congratulate on
@riský are you using latest version (`13.5.2`)
hmm but anyway there is a new version, can you try it out
Answer
@riský hmm but anyway there is a new version, can you try it out
Asian black bearOP
what ??
thats the latest
there is a new one #releases
Asian black bearOP
aaah okay ill check now
Asian black bearOP
aaaay its working now , man this version came for the clutch fr I hope this doesnt happen again
YAYAYAY
so i can mark it as solved? (you can too btw)
Asian black bearOP
yea go ahead
@riský so i can mark it as solved? (you can too btw)
Asian black bearOP
how ?
@Asian black bear how ?
if you right click -> apps -> mark solution (it was simple, so i just did it)
Asian black bearOP
unfortunately the problem is still happening but now sometimes it works sometimes not , but for most of the times it doesn’t work
I just hope this doesn’t occur when I host it
Asian black bearOP
can u unmark it btw ?
thats what i have asked some time ago... you cant curretly 😭
i asked mod to remove tag tho
Tag updated