devcert-cli
devcert-cli copied to clipboard
Error: "localhost" is not a valid domain name
I did a fresh install (global) of devcert-cli, which that automatically depends on the latest version of devcert (as of now, 1.2.1) and now I'm getting an error message when trying to generate certificates for localhost.
This issue may be related: https://github.com/davewasmer/devcert/issues/83
Steps to reproduce:
-
Uninstall:
npm uninstall devcert-cli -g -
Install:
npm install devcert-cli -g -
Check versions:
npm list devcert -g

- Try to generate a new cert for localhost:
devcert generate localhost
That's when I get the message: Error: "localhost" is not a valid domain name.