Skip to content

HAMUR_E1001: A page file has the name of a metadata file

A page file has the name of a metadata file. Error HAMUR_E1001 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_E1001 "<name>" is the name of a metadata file; <METADATA_NAMES> is a .png, .jpg, .jpeg or .gif file, and a generated one comes from @hamur/og-image or a handler route

Cause

A file in app/pages/ is named like a metadata file (icon, favicon, apple-icon and the like), which Hamur serves as an image, not as a page.

Fix

Rename the page, or make the metadata file a .png, .jpg, .jpeg or .gif. A generated one comes from @hamur/og-image or a handler route.