Skip to content

HAMUR_E0123: hamur module add is given an invalid package name

hamur module add is given an invalid package name. Error HAMUR_E0123 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0123 Invalid package name "<name>"; use a name as npm writes it, such as @acme/seo or some-module

Cause

The package name given to hamur module add is not a valid npm name.

Fix

Write the name as npm does, such as @acme/seo or some-module.