In my case, I had problems with the font files. I just deleted them and downloaded them again. Maybe you should try other fonts for the test?
const notoSans = localFont({
variable: '--font-noto-sans',
src: [
{
path: './fonts/NotoSans-Light.ttf',
weight: '300',
},
{
path: './fonts/NotoSans-Regular.ttf',
weight: '400',
},
{
path: './fonts/NotoSans-Medium.ttf',
weight: '500',
},
{
path: './fonts/NotoSans-SemiBold.ttf',
weight: '600',
},
{
path: './fonts/NotoSans-Bold.ttf',
weight: '700',
},
],
});
export default function RootLayout({
children,
}: Readonly<{
children: ReactNode;
}>) {
return (
<html
lang='en'
className={notoSans.className}
>
<body>{children}</body>
</html>
);
}