Skip to content

HAMUR_E0112: npm_config_registry is not an http or https URL

npm_config_registry is not an http or https URL. Error HAMUR_E0112 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0112 npm_config_registry must be an http or https URL (got "<url>")

Cause

The environment variable npm_config_registry is set to something that is not an http: or https: URL. hamur upgrade reads the registry from it.

Fix

Set it to the registry's URL, or unset it.