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

I have looked at two other questions which are similar but they haven't helped,

Community
  • 1
  • 1
Prav
  • 381
  • 1
  • 2
  • 12

1 Answers1

1

You must set your PATH to the location of eb. like the following :

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

for me , I put the AWS Sample Code & Libraries folder on my C drive , So the link above must be

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

Make sure that you have all the AWS-ElasticBeanstalk-CLI-2.5.1 folder contents; eb and api folders

  • 4
    I'm not entirely sure this is the correct answer. If the path variable wasn't configured properly beforehand, wouldn't the problem be that the "eb init" command isn't recognized? I've followed the same instructions to a T, and ran into the exact same issue, despite having a properly set path. – Joel B Jul 09 '14 at 14:39