我是OpenShift的新手,正在尝试使用MEANStack示例here。
当我运行yo angular-fullstack:openshift myApp时,我得到了以下错误...
Creating application 'myApp' ... Server returned an unexpected error code: 504
✖ { [Error: Command failed: /bin/sh -c rhc app create myApp nodejs-0.10 mongodb-2.4 -s --noprompt --no-git NODE_ENV=production
]
killed: false,
code: 1,
signal: null,
cmd: '/bin/sh -c rhc app create myApp nodejs-0.10 mongodb-2.4 -s --noprompt --no-git NODE_ENV=production' }知道我哪里做错了吗?有没有办法通过yeoman/rhc增加超时时间来阻止504的到来?
谢谢!
发布于 2015-06-01 05:34:14
我已经收到这个问题几次,但始终无法确定原因。我认为这只是一个网络或访问您的第一个构建的负载问题。在删除失败的部署应用程序并简单地重试之后,我最终能够获得成功的部署。
https://stackoverflow.com/questions/30313880
复制相似问题