gatsby-theme-material-ui icon indicating copy to clipboard operation
gatsby-theme-material-ui copied to clipboard

Unable to disable webFontsConfig

Open austinbutler opened this issue 3 years ago • 1 comments

This seems to cause errors with @mui v5 and the the latest of this plugin.

 ERROR #98124  WEBPACK

Generating development SSR bundle failed

Can't resolve '/.cache/webfonts/webfonts.css' in '/Users/jshebert/Development/lightstep-web/node_modules/gatsby-plugin-webfonts'

If you're trying to use a package make sure that '/.cache/webfonts/webfonts.css' is installed. If you're trying to use a local file make sure that the path is
 correct.

File: node_modules/gatsby-plugin-webfonts/gatsby-ssr.js:24:39

not finished Building development bundle - 5.847s
not finished Caching HTML renderer compilation - 0.023s

Removing the line webFontsConfig: null allows my site to build.

Originally posted by @panzacoder in https://github.com/hupe1980/gatsby-theme-material-ui/issues/16#issuecomment-1036750861

austinbutler avatar Jul 08 '22 02:07 austinbutler

I also am unable to override the fonts with this plugin using webFontsConfig: null

chandlervdw avatar Aug 04 '22 14:08 chandlervdw