Open danilobuerger opened 2 years ago
Hey @danilobuerger can you confirm which version of Gatsby and the plugin you have and I can take a look. Thanks!
@tgallacher gatsby: 4.23.0 gatsby-plugin-remove-generator: 1.2.0 Thanks for taking a look.
Ran into the same issue as well with FAST_DEV, which enables DEV_SSR as well.
gatsby: 4.25.2 gatsby-plugin-remove-generator: 1.2.0
WebpackError: TypeError: Cannot read properties of undefined (reading 'type') (from plugin: gatsby-plugin-remove-generator)
at autocompanion/node_modules/@mui/material/CardActionArea/CardActionArea.js:102:28
at autocompanion/node_modules/@mui/material/CardActionArea/CardActionArea.js:102:12
at autocompanion/node_modules/@mui/base/utils/omitEventHandlers.js:13:1
at autocompanion/node_modules/@mui/material/TableRow/TableRow.js:76:1
at autocompanion/node_modules/@emotion/cache/dist/emotion-cache.esm.js:58:1
at autocompanion/node_modules/@mui/material/TableRow/TableRow.js:88:38
Appreciate your work on this plugin!
I can't seem to reproduce this, with either flag.
If someone can provide steps to reproduce, or create a basic skeleton repo that demonstrates the issue, then I can investigate further 🙏
When enabling
DEV_SSR
, I am getting the following error:It seems like some of the head components can be
undefined
and so the error occurs.