Skip to content

HAMUR_E6311: A scripts:registry entry has a relative from

A scripts:registry entry has a relative from. Error HAMUR_E6311 belongs to @hamur/scripts (6301 – 6400).

Message

text
HAMUR_E6311 scripts:registry: entries["<name>"].from "<from>" must be an absolute path or a package specifier

Cause

An entry of the scripts:registry hook has a from that is a relative path.

Fix

Use an absolute path or a package name.