Closed tariknz closed 3 years ago
Same here on Mac>
Also on gatsby: 3.6.1
I got this error because I'm using gatsby-theme-material-ui and pass a webFontsConfig object to prevent Roboto from loading. Interestingly commenting out the config caused the error to go away:
{
resolve: `gatsby-theme-material-ui`,
// options: {
// webFontsConfig: {
// fonts: {}, // Do not load Roboto.
// },
// },
},
Plus 1 to this issue. I'm getting the same error after upgrading our project to Gatsby Version 3
Im getting this, and not using material ui.
Unfortunately, I cannot recreate the failure. The error does not occur locally or in the CI. Can someone create a minimal reproduction?
@hupe1980 I've managed to get it working in the end after cleaning up node_modules (deleting and reinstalling all packages). This happened to me after I upgraded from gatsby 2.x so it might've had some packages lingering around causing it.
I'm happy to close it on my end but I feel like others are coming across this issue, might be better if we can narrow down exactly what could be causing it. Not really sure.
I close the issue. If it happens again, please create a new issue
Hi, starting to get this message for some strange reason. This is on windows.
Error seems to be related to webpack but not sure what to do.
Current gatsby deps:
Not sure if its obvious what's going on but let me know if you need more information.