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

Suggestion to remove dependency gatsby-plugin-webfonts #103

Open
slightly-blue opened this issue Nov 17, 2022 · 0 comments
Open

Suggestion to remove dependency gatsby-plugin-webfonts #103

slightly-blue opened this issue Nov 17, 2022 · 0 comments

Comments

@slightly-blue
Copy link

I would like to suggest the gatsby-plugin-webfonts dependecy to be removed from this theme and give users the freedom to load fonts with another plugin like gatsby-omni-font-loader.

I constantly run into this error,

ERROR #11321  PLUGIN
"gatsby-plugin-webfonts" threw an error while running the onPreBootstrap lifecycle:

read ECONNRESET
  Error: read ECONNRESET
  - stream_base_commons:217 TLSWrap.onStreamRead
    node:internal/stream_base_commons:217:20
ERROR 

Module not found: Error: Can't resolve '/.cache/webfonts/webfonts.css' 
in 'C:\Users\<firstname lastname>\Documents\GitHub\<project name>\node_modules\gatsby-plugin-webfonts'

It randomly appears over 50% of the time and causes builds to fail. I don't appear to be the only one having this issue .

My current workaround is to just edit the theme in node_modules to not include the dependency but that is not a lasting fix.

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

1 participant