You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while using the @payloadcms/next package in my Next.js application. During the build process, the following error is raised:
⨯ Internal error: Error: Route / 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
at headers (./node_modules/next/dist/server/request/headers.js:39:19)
at RootLayout (./node_modules/@payloadcms/next/dist/layouts/Root/index.js:109:83)
digest: "3971410451"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I encountered an issue while using the @payloadcms/next package in my Next.js application. During the build process, the following error is raised:
⨯ Internal error: Error: Route / with
dynamic = "error"
couldn't be rendered statically because it usedheaders
. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-renderingat headers (./node_modules/next/dist/server/request/headers.js:39:19)
at RootLayout (./node_modules/@payloadcms/next/dist/layouts/Root/index.js:109:83)
digest: "3971410451"
Beta Was this translation helpful? Give feedback.
All reactions