v9.4.0 gives 404 for static pages when pkg-ed #13343
Unanswered
nikoskleidis
asked this question in
Help
Replies: 1 comment 1 reply
-
Having the same issue. Did you find any solution yet? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
I use pkg to package my nextjs app.
When I upgraded to version 9.4.0 from 9.3.6 the static pages I tried to access were all redirecting to the 404 page.
SSR pages work as expected on 9.4.0.
Also everything works as expected on dev mode
To Reproduce
./pkg/test
to run the app in the self contained serverExpected behavior
The expected behavior is that all pages (localhost:3000, localhost:3000/static, localhost:3000/ssr) render normally.
System information
Additional context
If you checkout branch 9.3.6 which has the previous version of nextjs and perform the same steps you will notice that everything works as expected
Beta Was this translation helpful? Give feedback.
All reactions