【问题标题】:Elastic Beanstalk failed to update local Git configuration - WindowsElastic Beanstalk 无法更新本地 Git 配置 - Windows
【发布时间】:2013-03-01 21:06:42
【问题描述】:
> 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

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

【问题讨论】:

    标签: amazon-web-services amazon-elastic-beanstalk


    【解决方案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 文件夹

    【讨论】:

    • 我不完全确定这是正确的答案。如果事先没有正确配置路径变量,问题会不会是“eb init”命令无法识别?尽管有正确设置的路径,但我对 T 执行了相同的说明,但遇到了完全相同的问题。
    猜你喜欢
    • 2014-03-18
    • 2012-12-24
    • 2013-08-23
    • 2020-08-27
    • 2020-10-20
    • 1970-01-01
    • 2015-06-16
    • 2017-01-07
    • 2015-02-23
    相关资源
    最近更新 更多