[英]Using yo angular-fullstack:openshift gives error 'ssh: Could not resolve hostname'
好的,所以我正在使用Openshift
托管我的项目,昨天我刚刚在这里注册了一个新帐户。 昨天我还使用了git-bash控制台中的命令yo angular-fullstack:openshift
在那里创建了一个应用程序并将其推送到该项目。 很好
然后,我在Openshift
上删除了该应用程序,今天我想再次上传它。 我运行相同的过程和相同的命令。 但是现在我收到一条错误消息,告诉我主机名不存在。 这是我可以解决的问题,还是“稍后重试”的问题之一?
错误
Uploading your initial application code.
This may take several minutes depending on your connection speed...
× ssh: Could not resolve hostname unityacademy-academiaunitate.rhcloud.com: no address associated with name
× fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
删除您的“ dist”文件夹,并重新grunt build
一个grunt build
以生成新的“ dist”文件夹。 这将确保您的“ dist”文件夹是干净的,并且不会干扰应用程序的创建过程。 确保已删除OpenShift
上的旧应用,然后再次执行yo angular-fullstack:openshift
命令。
这应该可以解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.