Skip to content

Commit

Permalink
fix: fix typos in errors.json & create-component-tree.tsx (#74471)
Browse files Browse the repository at this point in the history
Co-authored-by: JJ Kasper <[email protected]>
  • Loading branch information
spidersouris and ijjk authored Jan 2, 2025
1 parent ef98904 commit 4e79cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/next/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
"524": "Expected the \"use cache\" function %s to receive its encrypted bound arguments as the first argument.",
"525": "Route %s with \\`dynamic = \"error\"\\` couldn't be rendered statically because it used \\`headers\\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering",
"526": "Unknown expression type in abortOnSynchronousPlatformIOAccess.",
"527": "Page with \\`dynamic = \"force-dynamic\"\\` couldn't be exported. \\`output: \"export\"\\` requires all pages be renderable statically because there is not runtime server to dynamic render routes in this output format. Learn more: https://nextjs.org/docs/app/building-your-application/deploying/static-exports",
"527": "Page with \\`dynamic = \"force-dynamic\"\\` couldn't be exported. \\`output: \"export\"\\` requires all pages be renderable statically because there is no runtime server to dynamically render routes in this output format. Learn more: https://nextjs.org/docs/app/building-your-application/deploying/static-exports",
"528": "failed to decode param",
"529": "Failed to execute \"redirect\" on \"response\": Invalid status code",
"530": "Unknown modifier \"%s\"",
Expand Down Expand Up @@ -621,4 +621,4 @@
"620": "A required parameter (%s) was not provided as %s received %s in getStaticPaths for %s",
"621": "Required root params (%s) were not provided in generateStaticParams for %s, please provide at least one value for each.",
"622": "A required root parameter (%s) was not provided in generateStaticParams for %s, please provide at least one value."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ async function createComponentTreeInternal({
} else if (dynamic === 'force-dynamic') {
// force-dynamic is always incompatible with 'export'. We must interrupt the build
throw new StaticGenBailoutError(
`Page with \`dynamic = "force-dynamic"\` couldn't be exported. \`output: "export"\` requires all pages be renderable statically because there is not runtime server to dynamic render routes in this output format. Learn more: https://nextjs.org/docs/app/building-your-application/deploying/static-exports`
`Page with \`dynamic = "force-dynamic"\` couldn't be exported. \`output: "export"\` requires all pages be renderable statically because there is no runtime server to dynamically render routes in this output format. Learn more: https://nextjs.org/docs/app/building-your-application/deploying/static-exports`
)
}
}
Expand Down

0 comments on commit 4e79cef

Please sign in to comment.