Error AtlasError Documentation and Resolution

Next.js still using the deprecated @next/font package

Resolving "Built-in next/font" Error in Next.js

Next.js detected that the deprecated @next/font package is still installed or imported even though next/font is built into the framework.

Built-in next/fontconfiguration
Resolving "Built-in next/font" Error in Next.js
  • The project still depends on the deprecated @next/font package.
  • Existing imports still point to @next/font instead of next/font.
  • A migration to newer Next.js versions did not update font imports.
  1. Uninstall the @next/font package from the project.
  2. Replace all @next/font imports with next/font imports.
  3. Use the official built-in-next-font codemod if the codebase has many old imports.
Next.js Docs: Resolving Built-in next/font Error
Next.js Built-in next/font error: causes and fixes | Error Atlas