我尝试运行eb start
和eb status --verbose
时遇到两个错误。我试过谷歌搜索问题,但无法找到任何解决方案。我错过了aws包吗?我正在部署expressjs以下是我的错误:
eb start
****由安装pip Boto *****
修复错误:
Starting application "my-app".
Would you like to deploy the latest Git commit to your environment? [y/n]: y
Traceback (most recent call last):
File ".git/AWSDevTools/aws.elasticbeanstalk.createapplicationversion", line 20, in <module>
from aws.dev_tools import *
File "/Users/user/Desktop/Projects/node/my-app/.git/AWSDevTools/aws/dev_tools.py", line 5, in <module>
import boto
ImportError: No module named boto
Cannot run aws.push for local repository HEAD:
eb status --verbose
错误:
Retrieving status of environment "loyola-venture-community".
ValidationError. 1 validation error detected: Value '[loyola-venture-community]' at 'environmentNames' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 23, Member must have length greater than or equal to 4]
答案 0 :(得分:1)
您似乎需要Install Boto来解决第一个问题。执行此操作后,再次运行eb status --verbose
,查看出现的错误并更新您的问题。
关于第二个错误,环境名称loyola-venture-community
是24个字符,超出了23的限制。缩短它并且API调用将起作用。