replace of undefined #17672
Unanswered
dgoh-zippia
asked this question in
Help
Replies: 1 comment
-
|
getting the same error with version of Next.js: 9.5.1 Looks like the issue occurs only with dynamic routes |
Beta Was this translation helpful? Give feedback.
0 replies
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
Running into this error when running next build as I am trying to implement a dynamic SSG page. After generating the _next folder, there's a
routes-manifest.jsonfile. Inside the json file, there should be adataRouteskey with array value, but for some reason, mine appears empty which caused this error. My pages directory looks like this.Stack trace:
I am using a custom server if that has anything to do with it.
Expected behavior
The project should be able to build without issues.
System information
Beta Was this translation helpful? Give feedback.
All reactions