HAMUR_E0070: The CLI cannot edit the config file
The CLI cannot edit the config file. Error HAMUR_E0070 belongs to hamur, config, environment and command line (0001 – 0999).
Message
HAMUR_E0070 <reason>; add "<entry>" to <key> in hamur.config.ts yourself
HAMUR_E0070 <reason>; add <name> (import <name> from "<specifier>") to modules in hamur.config.ts yourself
Cause
hamur module add could not edit hamur.config.ts itself, because the config is not a plain object literal the command can read. The message gives the reason first.
Fix
Add the entry to the list named in the message by hand.