My steps are below:
heroku-osx.pkg
, and installed it.$ heroku login
with my account and password$ git clone https://github.com/heroku/ruby-getting-started.git
$ heroku create
in my Terminal.Reports the error:
Creating app... !
▸ ENOTFOUND: getaddrinfo ENOTFOUND api.heroku.com api.heroku.com:443
I have find the related question in SO:
But they are not when execute $ heroku create
comes out the error.
The same was happening to me on Mac OS X 10.12.6 in iTerm2 3.1.5
Restarting iTerm solved the issue for me.
Carelessly, I don't know why, I tried several times of :
$ heroku create
It create succeed, with the logs:
Creating app... done, ⬢ still-harbor-32209
https://still-harbor-32209.herokuapp.com/ |
https://git.heroku.com/still-harbor-32209.git
So, I think try several times will solve it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With