Next.js Discord

Discord Forum

LATEST UPDATE IS BROKEN!

Answered
Himanshu posted this in #help-forum
Open in Discord
why the latest version redirects me to /home when i try to access / route
Answered by gin
clear your browser cache
View full answer

84 Replies

Original message was deleted
when i try to acces / route
it redirects to /home
if i dont have /home route it shows error
@James4u huh? really?
wanna see live ?
is this a new installation?
and u didnt modify anything
@gin is this a new installation?
yes
@gin and u didnt modify anything
no
and u installed via npx create-next-app@latest
i even tried changin the version but nah its broken
can u try with npx
but i want bun
package manager doesn't matter here ig
why dont u just try?
oke a sec
bun doesn't matter. show your middleware (if any), app/page.tsx and next config file (if any)
for the record, im using bun with next@latest without problems
also the title is pretty daring. are you that sure that the bug is in the 14.2.8 update and not your code?
pretty clear they have modified at least the app/home folder. create-next-app doesn't ship with an app/home.
yeah
i was just about to say that
this is 99% an issue with their own code. show the code.
its a new one man
@Himanshu i dont have
quite clear in the screenshot you have app/page.tsx
also create-next-app ships with a next.config.mjs file
its blank as default
and lemme try the npx
well ok then good luck
same issue
in npx
it redirects you
show a screenshot of your folder
yester
yesterday it was fine but the page.tsx css was broken and now this happens
open app
whats inside /app?
i made a proj yesterday
yeah that looks better
now try to run that
npm run dev
its already on
ok so its fixed
@gin ok so its fixed
no
clear your browser cache
Answer
and get out of /home
cause it doesnt exist
@gin and get out of /home
am not in /home man
@gin just go on http://localhost:3000
this redirects me
idk why
@gin clear your browser cache
i forgot how to any idea for chrome
@Himanshu i forgot how to any idea for chrome
open devtools
press long on the reload
and the third optionb
@gin press long on the reload
how to press it its not working
i checked in application and chache nothing
their
@Himanshu how to press it its not working
is your devtools open?
@gin is your devtools open?
i can just inspect to open them right ?
yeh
it is
now hold the reload button
in your browser
u will see a menu
got it
damn bro it works thanks
nice
np
u can mark this as solution
@gin u can mark this as solution
which one i should mark
@gin clear your browser cache
.
this one
ty
have fun
you are great