import * as React from "react" import { Overlay, Header, Body, Footer, HeaderOpenClose } from "./overlay" import { CodeFrame } from "./code-frame" import { prettifyStack, openInEditor, skipSSR, reloadPage } from "../utils" export function DevSsrError({ error }) { const { codeFrame, source, line } = error const decoded = prettifyStack(codeFrame) return (

Failed to server render (SSR)

{source}
openInEditor(source, line)} dismiss={false} />

React Components in Gatsby must render both successfully in the browser and in a Node.js environment. When we tried to render your page component in Node.js, it errored.

Source

See our docs page for more info on SSR errors:{` `} Debugging HTML Builds

If you fixed the error, saved your file, and want to retry server rendering this page, please reload the page.

Skip Server Render

If you don't wish to fix the SSR error at the moment, press the button below to reload the page without attempting to do SSR.

) }