【发布时间】:2014-07-24 06:51:26
【问题描述】:
我严格遵守 Elastic Beanstalk 文档 (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_nodejs_express.html),但无法使用 git 部署 node.js 或 PHP 应用程序。
$ eb push
Error: Failed to create the AWS Elastic Beanstalk application version
Cannot run aws.push for local repository HEAD:
如果我尝试从 git 推送,也会发生同样的情况
$ git aws.push
Updating the AWS Elastic Beanstalk environment phpapp-env...
Error: Failed to create the AWS Elastic Beanstalk application version
当您调用 eb init 时,AWS 工具会设置一些 git 快捷方式。失败的调用是...
$.git/AWSDevTools/aws.elasticbeanstalk.createapplicationversion
Error: Failed to create the AWS Elastic Beanstalk application version
那个 python 模块的代码是...
from aws.dev_tools import *
if __name__ == "__main__":
dev_tools = DevTools()
dev_tools.create_application_version(None, None)
我已经为一个全新的 php 和 node.js 项目尝试过这个。我正在运行 Python 2.7.2、Ruby 2.1.2p95(2014-05-08 修订版 45877)[x86_64-darwin12.0]。有什么想法吗?
【问题讨论】:
标签: php node.js git amazon-web-services amazon-elastic-beanstalk