2
> eb init
(Answered all questions)

Failed to update local Git configuration. Follow the instructions at "http://doc
s.amazonwebservices.com/elasticbeanstalk/latest/dg/command-reference-get-started
.html" to set up your Git repository, and then try again.
local variable 'fullpath' referenced before assignment

我查看了另外两个类似但没有帮助的问题,

4

1 回答 1

1

您必须将 PATH 设置为eb的位置。像下面这样:

C:\> set PATH=%PATH%;<path_to_unzipped_EB_CLI_package>\eb\windows\

对我来说,我把AWS Sample Code & Libraries文件夹放在我的 C 盘上,所以上面的链接必须是

C:\AWS-ElasticBeanstalk-CLI-2.5.1\eb\windows\

确保您拥有所有AWS-ElasticBeanstalk-CLI-2.5.1文件夹内容;ebapi文件夹

于 2013-09-10T17:51:25.927 回答