2013-03-13 56 views
3
> 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 

我已經看過這是類似其他兩個問題,但他們並沒有幫助,Elastic Beanstalk無法更新本地Git配置 - Windows

回答

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 and api folders

+4

我不完全確定這是正確的答案。如果事先沒有正確配置路徑變量,問題不在於「eb init」命令是否被識別?儘管設置了正確的路徑,但我仍然遵循同樣的說明來處理完全相同的問題。 – 2014-07-09 14:39:03

相關問題