$ errors.fyi/nextjs/cannot-override-metadata 128 namespaces · 4,025 codes
nextjs · nextjs/cannot-override-metadata
cannot-override-metadata

Cannot Override Metadata

A child route segment attempted to override a metadata field that can only be set in the root layout, such as the viewport or the icons configuration. Some metadata fields are inherited and cannot be overridden at the segment level. Move the configuration to the root layout, or use a layout at the appropriate level in the route hierarchy.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT