[GH-ISSUE #190] Some google fonts may have issues [vite] Internal server error: (0 , __vite_ssr_import_2__.Space_Grotesk) is not a function #45

Closed
opened 2026-05-06 12:36:47 +02:00 by BreizhHardware · 0 comments

Originally created by @omar-abdul on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/190

Was having an issue with this specific font somehow it wasn't either loaded from the cdn or perhaps it wasn't registered in the same way, I can't really tell it was declared the same way as the other fonts

const spaceGrotesk = Space_Grotesk({  // <-- it was having an issue with this specific font
  subsets: ["latin"],
  variable: "--font-heading",
}); 

const inter = Inter({
  subsets: ["latin"],
  variable: "--font-sans",
});

const jetbrainsMono = JetBrains_Mono({
  subsets: ["latin"],
  variable: "--font-mono",
});

after removing it the website loaded, I would like to help because i am sure if one font has an issue it means other fonts probably will at some point, but don't know what to look for exactly

Originally created by @omar-abdul on GitHub (Feb 28, 2026). Original GitHub issue: https://github.com/cloudflare/vinext/issues/190 Was having an issue with this specific font somehow it wasn't either loaded from the cdn or perhaps it wasn't registered in the same way, I can't really tell it was declared the same way as the other fonts ``` const spaceGrotesk = Space_Grotesk({ // <-- it was having an issue with this specific font subsets: ["latin"], variable: "--font-heading", }); const inter = Inter({ subsets: ["latin"], variable: "--font-sans", }); const jetbrainsMono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono", }); ``` after removing it the website loaded, I would like to help because i am sure if one font has an issue it means other fonts probably will at some point, but don't know what to look for exactly
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#45
No description provided.