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

Cannot Render DataGrid #132

Open
RyanFleck opened this issue Jan 9, 2021 · 1 comment
Open

Cannot Render DataGrid #132

RyanFleck opened this issue Jan 9, 2021 · 1 comment
Assignees

Comments

@RyanFleck
Copy link
Member

RyanFleck commented Jan 9, 2021

Attempting to statically render this component fails:

image

Build output:

yarn run v1.22.5
$ gatsby build
success open and validate gatsby-configs - 0.230s
success load plugins - 2.838s
success onPreInit - 0.113s
success delete html and css files from previous builds - 0.064s
success initialize cache - 0.014s
success copy gatsby files - 0.472s
success onPreBootstrap - 0.065s
success createSchemaCustomization - 0.014s
success Checking for changed pages - 0.001s
success source and transform nodes - 1.765s
success building schema - 1.698s
info Total nodes: 899, SitePage nodes: 29 (use --verbose for breakdown)
success createPages - 0.261s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.412s
success Cleaning up stale page-data - 0.021s
success update schema - 0.086s
success onPreExtractQueries - 0.003s
success extract queries from components - 1.212s
success write out redirect data - 0.003s
success onPostBootstrap - 0.001s
info bootstrap finished - 22.309s
success run static queries - 0.032s - 1/1 31.56/s
success run page queries - 0.068s - 43/43 627.93/s
success write out requires - 0.015s
success Building production JavaScript and CSS bundles - 110.635s
success Rewriting compilation hashes - 0.017s
failed Building static HTML for pages - 28.916s
error Building static HTML failed for path "/ContactUs/OfficeHours"

  24 |         : getPageContext();
  25 |
> 26 |     const bodyHTML = renderToString(
     |                      ^
  27 |         <JssProvider registry={muiPageContext.sheetsRegistry}>
  28 |             {bodyComponent}
  29 |         </JssProvider>


  WebpackError: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?inva  riant=62&args[]= for the full message or use the non-minified dev environment for full errors   and additional helpful warnings.

  - gatsby-ssr.js:26
    gatsby-ssr.js:26:22


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@RyanFleck RyanFleck self-assigned this Jan 9, 2021
@silverAndroid
Copy link
Contributor

silverAndroid commented Jan 9, 2021

@RyanFleck issue is here: c1f499d#diff-bcf1e70a99f5aa8979b4f1108375a321ed06a4453aea2e0759eb8f3b15a6cd69R44 (line 44 in frontend/src/pages/ContactUs/OfficeHours.jsx)

that's supposed to be an object, not a string

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

No branches or pull requests

2 participants