> 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
C:\Program Files (x86)\PuTTY\plink.exe
我已经看过另外两个相似的但却没有帮助的问题,
答案 0 :(得分: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 文件夹内容; eb 和 api 文件夹