Getting pushed back to previous page when trying to access a few pages.
Unanswered
Singapura posted this in #help-forum
SingapuraOP
### To Reproduce
Start the application (requires authentication)
Trying to visit /page-1, /page-2, /page-3, /page-4 from the home page ("/") or any other page
It pushes me back to the previous route before or after page mounts and all API calls (Server Actions server + client) have been finished.
After several attempt it sometimes keeps me on the page, sometimes not.
I am using Next.js v16.1.1
Turbopack, React Compiler True (Though turn it off, doesn't solve the issue), proxy (middleware)
Current vs. Expected behavior
Current behavior:
Push me back to the previous route always
It only works when I downgrade the Next.js version to 15, but it reduces the performance of the entire application as well.
Expected behavior:
Seamless routing, without interrupting the pushing back routing issue.
It should be worked in the latest Next.js version.
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Thu Dec 18 22:18:24 UTC 2025
Available memory (MB): 15867
Available CPU cores: 4
Binaries:
Node: 24.11.0
npm: 11.6.1
Yarn: 1.22.22
pnpm: 10.15.0
Relevant Packages:
next: 16.1.1 // Latest available version is detected (16.1.1).
eslint-config-next: N/A
react: 19.2.3
react-dom: 19.2.3
typescript: 5.9.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
Webpack, Turbopack
Which stage(s) are affected? (Select all that apply)
next build (local), next dev (local), next start (local), Other (Deployed)
Additional context
I tested the issue in both the development environment and production. It remains the same.
NB: We've deployed our application in a self-hosted environment.
Start the application (requires authentication)
Trying to visit /page-1, /page-2, /page-3, /page-4 from the home page ("/") or any other page
It pushes me back to the previous route before or after page mounts and all API calls (Server Actions server + client) have been finished.
After several attempt it sometimes keeps me on the page, sometimes not.
I am using Next.js v16.1.1
Turbopack, React Compiler True (Though turn it off, doesn't solve the issue), proxy (middleware)
Current vs. Expected behavior
Current behavior:
Push me back to the previous route always
It only works when I downgrade the Next.js version to 15, but it reduces the performance of the entire application as well.
Expected behavior:
Seamless routing, without interrupting the pushing back routing issue.
It should be worked in the latest Next.js version.
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Thu Dec 18 22:18:24 UTC 2025
Available memory (MB): 15867
Available CPU cores: 4
Binaries:
Node: 24.11.0
npm: 11.6.1
Yarn: 1.22.22
pnpm: 10.15.0
Relevant Packages:
next: 16.1.1 // Latest available version is detected (16.1.1).
eslint-config-next: N/A
react: 19.2.3
react-dom: 19.2.3
typescript: 5.9.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
Webpack, Turbopack
Which stage(s) are affected? (Select all that apply)
next build (local), next dev (local), next start (local), Other (Deployed)
Additional context
I tested the issue in both the development environment and production. It remains the same.
NB: We've deployed our application in a self-hosted environment.
3 Replies
any minimum reproduction code/repo?
@/* @__PURE__ */ alfonsus any minimum reproduction code/repo?
SingapuraOP
repo is private under an organization.
not sure how to debug this issue then