Node.js部署 - AWS Elastic Beanstalk

时间:2014-10-29 19:05:24

标签: node.js amazon-web-services elastic-beanstalk

ey guys。

我刚刚开始学习如何使用AWS Elastic Beanstalk部署节点js应用程序,我在tutorial中遇到了这个部分:

From the directory where you created your local repository, type the following command:

eb start

Once the environment status is Green, AWS Elastic Beanstalk will output a URL for the application

在这个过程结束时,我得到了:

INFO    Command execution completed on all instances. Summary: Successful: 0, Failed: 1.

并且没有返回任何网址。

在网络面板中,我在日志条目中有以下内容:

ERROR   Create environment operation is complete, but with errors. For more information, see troubleshooting documentation

可能发生了什么?我是AWS技术的初学者,我完全迷失了!以下是最后100行日志:http://pastebin.com/r2wDUP1L

在尝试npm install express时似乎崩溃了......有人可以帮助我吗?

1 个答案:

答案 0 :(得分:1)

对于任何有兴趣的人,问题是GIT没有安装。

我能够使用Amazon ebextensions安装git来管理要部署的所需软件包,然后只需git aws.push。一切顺利!