Upgrade Next.js from 15.5.4 to 15.5.7
I've upgraded Next.js from 15.5.4 to 15.5.7.
The code returns the following error:
Failed to load internal module: geist/font/mono Nl[e](...).then is not a function
Revise the code to address the error.
I was previewing: /
The issue is with the geist/font/mono import. Let me fix it by using the standard Next.js font approach:
Fixed the font loading error by replacing the geist/font/mono import with JetBrains_Mono from next/font/google. This is a compatible monospace font that works reliably with Next.js's font optimization system. The site should now load without the font error.
Upgrade Next.js from 15.5.7 to 15.5.9