Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Document.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string #403

Open
shenanigansd opened this issue Sep 28, 2022 · 0 comments

Comments

@shenanigansd
Copy link
Member

Error occurred prerendering page "/ru/about". Read more: https://nextjs.org/docs/messages/prerender-error
--
11:14:31.416 | Error: "Document.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
11:14:31.419 | at loadDocumentInitialProps (/vercel/path0/node_modules/next/dist/server/render.js:698:23)
11:14:31.419 | at async renderDocument (/vercel/path0/node_modules/next/dist/server/render.js:781:43)
11:14:31.420 | at async renderToHTML (/vercel/path0/node_modules/next/dist/server/render.js:819:28)
11:14:31.420 | at async /vercel/path0/node_modules/next/dist/export/worker.js:304:36
11:14:31.421 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:79:20)

https://nextjs.org/docs/advanced-features/custom-document
vercel/next.js#37911
https://stackoverflow.com/questions/66531551/error-mydocument-getinitialprops-should-resolve-to-an-object-with-a-html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant