Open Zertz opened 1 year ago
Hey, I am having the same issue. Did you find any fix or workaround for this?
My workaround was to use a more traditional path but I haven't tried again with the latest version yet.
My path is very basic and still having issues aswell, I've tried upgrade and downgrade the versions and still have the problem.
In production: _next/static/chunks/app/artigos/%5Buid%5D/page-8171c833481412ca.js Actual URL: _next/static/chunks/app/artigos/[uid]/page-8171c833481412ca.js
The rest of the website works perfectly, its just when I enter any parameter on the uid place.
I've also had a problem with the API, not sure if it is related to the same thing.
I am hosting the app with a server.js file in a cPanel environment.
So I had to move the API endpoints to Express JS instead next as a workaround.
Not sure why this happened.
Have you tried version 13.5.4? Looks like versions 13.5.5, 13.5.6 & 14.0.0 have this issue
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue or a replay of the bug
https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-app-dir
To Reproduce
+
route throwChunkLoadError
Describe the Bug
In production, request URL for the page bundle:
/_next/static/chunks/app/%5Byyyymmdd%5D/+/page-92212aab0f714056.js
Actual URL:
/_next/static/chunks/app/[yyyymmdd]/+/page-92212aab0f714056.js
Expected Behavior
It should work? Renaming the
+
directory tonew
fixes the issue.Which browser are you using? (if relevant)
Edge
How are you deploying your application? (if relevant)
Vercel