node.js - 错误:getaddrinfo ENOTFOUND cli-auth.heroku.com cli-auth.heroku.com:443

标签 node.js heroku heroku-cli

https://devcenter.heroku.com/articles/heroku-cli#other-installation-methods

我已经使用curl方法安装了Heroku cli,当我尝试使用“ heroku login”登录时,抛出此错误:

错误:getaddrinfo ENOTFOUND cli-auth.heroku.com cli-auth.heroku.com:443

最佳答案

固定..
我忘了编辑主机文件(我使用linux基本操作系统)

https://wiki.archlinux.org/index.php/Network_configuration

关于node.js - 错误:getaddrinfo ENOTFOUND cli-auth.heroku.com cli-auth.heroku.com:443,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56590984/

相关文章:

node.js - 将 Base64 编码的图像文件从 slackbot 发布到 Slack channel

heroku - 如何检索 Heroku 应用程序 ID?

javascript - 运行文件的 heroku scheduler 命令是什么?

Heroku: "heroku ps:exec"和 "heroku run bash"有什么区别?

node.js - Heroku 错误 : Cannot find module './config/keys'

mysql - 如何在此处传递 BuildStringArray 作为响应

node.js - 如何在环回中定义自定义错误页面?

node.js - 将 Ember.js 与 Node.js 集成 (Express+Tower.js)

mysql - heroku JawsDB MySQL Addons 中的 "Databites"是什么意思?

javascript - Heroku 套接字轮询的响应时间较长