dapetcu21 / atom-autocomplete-lua

Extensible autocomplete+ provider for Lua
35 stars 6 forks source link

Failed to install autocomplete-lua because Git was not found #20

Open tjakubo opened 7 years ago

tjakubo commented 7 years ago

Console output:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

 >> apm install autocomplete-lua
Installing autocomplete-lua to C:\Users\Don Tofik\.atom\packages failed
Failed to install autocomplete-lua because Git was not found.

The autocomplete-lua package has module dependencies that cannot be installed wi
thout Git.

You need to install Git and add it to your path environment variable in order to
 install this package.

You can install Git by downloading, installing, and launching GitHub for Windows
: https://windows.github.com

Run apm -v after installing Git to see what version has been detected.

 >> apm -v
apm  1.16.1
npm  3.10.5
node 6.9.5 x64
python
git
visual studio

Windows 7, Git was installed and working fine previously, reinstalled (from https://git-for-windows.github.io/) to no effect. Tried both installing from Atom menus and console (above), same result.

pablomayobre commented 7 years ago

Can you install other packages? Because that totally looks like an issue with apm, it may not be detecting your git version all together.

What settings are you installing git with? if you are installing in the Git Bash mode, then make sure to run apm in that shell, and not cmd because git may only be configured for the Git Bash shell.

Anyway, I'm pretty sure that this issue is not related to atom-autocomplete-lua at all

In my case apm -v prints:

apm  1.17.0
npm  3.10.5
node 6.9.5 x64
python 3.6.0
git 2.12.0.windows.1
visual studio 2015