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 read properties of undefined (reading 'webpackCompilationHash') #34484

Closed
2 tasks done
aaronadamsCA opened this issue Jan 13, 2022 · 0 comments · Fixed by #34488
Closed
2 tasks done

Cannot read properties of undefined (reading 'webpackCompilationHash') #34484

aaronadamsCA opened this issue Jan 13, 2022 · 0 comments · Fixed by #34488
Assignees
Labels
topic: frontend Relates to frontend issues (e.g. reach/router, gatsby-link, page-loading, asset-loading, navigation) type: bug An issue or pull request relating to a bug in Gatsby

Comments

@aaronadamsCA
Copy link
Contributor

aaronadamsCA commented Jan 13, 2022

Preliminary Checks

Description

#34225 introduced a new unhandled exception. Thankfully it looks like a fairly easy fix.

Actual Result

Cannot read properties of undefined (reading 'webpackCompilationHash')

image

I'd file a PR but I'm unsure what the exact correct fix would be. Maybe just adding page.page == null || to the beginning of the if statement?

@pieh will probably know better :)

@aaronadamsCA aaronadamsCA added the type: bug An issue or pull request relating to a bug in Gatsby label Jan 13, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 13, 2022
@pieh pieh added topic: frontend Relates to frontend issues (e.g. reach/router, gatsby-link, page-loading, asset-loading, navigation) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jan 13, 2022
@pieh pieh self-assigned this Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: frontend Relates to frontend issues (e.g. reach/router, gatsby-link, page-loading, asset-loading, navigation) type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants