You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am encountering this error when I use gatsby-ssr.js setHeadComponents to load TypeKit's
<script>
tag in Gatsby's dev mode.gatsby-ssr.js
This error only happens on iOS Safari in Gatsby's dev mode.
TypeKit's
<script>
tag looks fine in<head>
I made a repo to reproduce this error.
https://github.com/papageno/gatsby-ssr-causes-unhandled-runtime-error-in-dev-mode
Please note the Typekit ID above is only for test use and will be deleted in the future.
The Gatsby Docs recommend the usage of gatsby-plugin-web-font-loader to load TypeKit fonts but the plugin seems to be deprecated.
Beta Was this translation helpful? Give feedback.
All reactions