Closed padmaia closed 11 months ago
I also have this issue, but the same issue happens navigating to a not-found
page. Page url changes but nothing else happens.
Same here
Also experiencing this. Page links work on not-found.js
, but the links in my nav component change URL with no UI change.
Same here with webpack. router.push
also doesn't work
@AC90 @kotx @JamDev0 @CaterJ can y'all confirm if you are still seeing this with the most recent version? Also are you all seeing it with just Turbopack, or seeing it with webpack as well?
Can't reproduce with Next.js 14, will close this for now.
If you're still running into this, please open a new issue with a reproduction link.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Summary : nav links do not redirect / work after visiting root
not-found.js
(next v13.3.0; react v18.2; node v16.19.1; turbo enabled)
I have a chakra-ui client component that wraps my root
nav
withinapp/layout.js
. I'm seeing that...npm run dev
: non-existent URLs result in me seeing the standard chrome browser 404 page rather than the one I defined.npm run build/start
: non-existent URLs get successfully redirected to the UI defined inapp/not-found.js
however the main nav bar links subsequently no longer work. The url in the browser changes but the page stays on the not-found.js generated UI rather than redisplaying whichever nav link I click on. This also happens if the Link is written in thenot-found.js
UI code rather than the root nav.In devtools console I see a 404 error per screenshot below.
To try and rule out chakra-ui / client component being the cause, I created a noddy simple
nav
withinapp/layout.js
(copied below) however this had the same result.Is this a bug or a "user error" ?
Tks vm
app/not-found.js
....then my noddy simple
nav
inapp/layout.js
...Originally posted by @AC90 in https://github.com/vercel/turbo/discussions/2312#discussioncomment-5636282
WEB-1120