Replies: 11 comments 10 replies
-
import Head from 'next/head'
import Image from 'next/image'
- import { Inter } from '@next/font/google'
import styles from '@/styles/Home.module.css'
- const inter = Inter({ subsets: ['latin'] })
|
Beta Was this translation helpful? Give feedback.
-
same problems
|
Beta Was this translation helpful? Give feedback.
-
same issue, i'm not using a vpn. |
Beta Was this translation helpful? Give feedback.
-
This work for me #45080 (comment) |
Beta Was this translation helpful? Give feedback.
-
Update your project as follows.
after updating those files please restart the project and clear the browser cache. |
Beta Was this translation helpful? Give feedback.
-
if weight is assigned, remove example const nunito = Nunito_Sans({
weight: '400', ✖️
subsets: ['latin'],
display: 'swap',
adjustFontFallback: false,
})` |
Beta Was this translation helpful? Give feedback.
-
In the Nextjs tutorial, this error still happens and I'm not using a proxy. Next.js 14.0.0 |
Beta Was this translation helpful? Give feedback.
-
Late to the Party. For others that might be having similar issue. Remove your
Run build again
Restart your server. |
Beta Was this translation helpful? Give feedback.
-
For my case it was the internet I was using. Somehow it was making next not to be able to download the font. After switching the internet, it worked fine. |
Beta Was this translation helpful? Give feedback.
-
For me i've fixed removing the font declaration from a deep layout file
And export it from a src/app/fonts.ts file
|
Beta Was this translation helpful? Give feedback.
-
I'm having this issue when using the app router (Next.js 14.2.4) with Turbopack inside a docker container. I've tried My error message:
I've verified the issue goes away if I run the project outside of docker. Any ideas on how to solve the issue specifically for Turbopack+Docker? |
Beta Was this translation helpful? Give feedback.
-
Error [NextFontError]: Failed to fetch
Inter
from Google Fonts.Beta Was this translation helpful? Give feedback.
All reactions