Open RyenNelsen opened 9 years ago
As you said, this seems to be an issue with git-utils for windows users. Some of them apparently found a fix/workaround. You can probably find more help in https://github.com/atom/git-utils/issues, #28 for instance. I might consider adding a paragraph in the README regarding this. Thanks for reporting!
The main issue I had is that it worked before you updated git-projects. Nothing has changed on either of my systems, and I've never had Visual Studio installed on either of the systems, so that shouldn't be the fix.
In fact I just installed v1.10.1 on the one computer that never installed it in the first place, and it worked. So it is a problem with git-projects, not git-utils from what I can tell.
> apm install git-projects@1.10.1
Installing git-projects@1.10.1 to C:\Users\rnelsen\.atom\packages done
git-utils has been added in 1.11.0, so that explains why you can still install the 1.10.1.
I'm using Ubuntu and I'm also getting the same error while updating 'git-projects' I tried uninstalling and installing again, but same error again. here is the debug log output. P.S: I was trying to update from 1.9.0 -> 1.11.1
@RyenNelsen has created a new issue on the git-utils repo. https://github.com/atom/git-utils/issues/39
Alright, back again. @prrrnd atom/git-utils#39 is a bust. Any ideas? What are the exact requirements for your package?
Have to love being a developer on Windows! Lol.
What is the output of npm install git-utils --msvs_version=2013
?
Sorry in a different country right now, will try and get a response to this ASAP!
@prrrnd would it be possible to include a precompiled version of git-utils module? It will be a headache if I need everybody in our teams to install Visual Studio just to install this Atom package :-(
Agreed with @vtintillier. A precompiled version would make things so much simpler. I just spent the past hour+ trying to get this working. I have installed: atom, nodejs+npm via nvm-windows, both VS 2013 Ultimate and 2015 Enterprise, python 2.7 (native) and 3.2 (cygwin), setuptools/pip, git/cygwin and github for windows. I'm running it under Windows 10 Pro x64.
It failed to install in the atom gui, so I ran apm install git-projects
in the command prompt:
I looked around a bit online, including in the issues here and in the issues on the git-utils project, and found a single possible suggestion: Try installing git-utils with --msvs_version=2013. Since I have both 2013 and 2015 installed, I tried both ways.
npm install git-utils --msvs_version=2013
and npm install git-utils --msvs_version=2015
give the same result (so does 2012 tools, which are available through VS2013 but I didn't screenshot that):
All of this would be much simpler if the binaries were already available. I think there's a way to include multi-platform binaries in a single package, but I'm not sure. If I can do anything to help get this working, please let me know.
I have the same issue on Mac OS 10.10.5. My coworker uses Linux and cannot upgrade/reinstall either.
Is this issue already fixed? I got same error before, but now I could install on Windows with no problem.
I did a lot of stuff to get this working, what finally did it was installing python 2.7 (with the path option checked) Before that I had upgraded node-gyp running as admin from the node folder: npm install -g node-gyp@latest I also specified my vs version: npm install -g node-inspector --msvs-version=2013 and also I installed the c++ redistributables for 2013 and 2010 and for both x86 and x64
Prior to v1.10.1, I was able to install without any issues on all machine types. Now when I attempt to either install fresh, or update, I get the following error:
I see that it could be git-utils, but the reason I am creating the error here is because I didn't have an issue prior to v1.10.1.