New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic routes failing in 13.1.2 "Error: invariant: invalid Cache-Control duration provided: 0 < 1" #44875
Comments
+1 |
I have the same error. +1 |
+1 |
1 similar comment
+1 |
I'm having the same issue. Had to downgrade next to 13.1.1 and it's working back again. |
@focux Same here. Deployed 13.1.2 to production late friday afternoon |
+1 |
+1 @focux works for me, to downgrade 13.1.1 |
Yep downgraded for now |
Hi, |
Verify canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000
Binaries:
Node: 18.12.1
npm: 8.19.2
Yarn: 1.22.19
pnpm: N/A
Relevant packages:
next: 13.1.3-canary.0
eslint-config-next: 13.0.5
react: 18.2.0
react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/DavidTParks/vamp
To Reproduce
Clone the repository, run
npm run build
and try to navigate to a dynamic route. It will error out and throw in the terminalDescribe the Bug
The bug seems to happen when navigating to a dynamic route. Occurs only in production, both locally building and on Vercel.
When trying to navigate via a next/link to a dynamic route.
Expected Behavior
Route to the route without throwing
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Vercel
The text was updated successfully, but these errors were encountered: