-
Notifications
You must be signed in to change notification settings - Fork 62
Error ELIFECYCLE #39
Comments
I'm also facing the same problem while updating Updating to “git-projects@1.11.1” failed.Hide output…
> git-utils@3.0.0 install /tmp/apm-install-dir-115225-7298-1rjpl3u/node_modules/git-projects/node_modules/git-utils
> node-gyp rebuild
Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.16.0-33-generic
gyp ERR! command "node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-115225-7298-1rjpl3u/node_modules/git-projects/node_modules/git-utils
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.16.0-33-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/iyogeshjoshi/.atom/.apm/.apmrc" "--userconfig" "/home/iyogeshjoshi/.atom/.apmrc" "install" "/tmp/d-115225-7298-1x2y55n/package.tgz" "--target=0.21.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! git-utils@3.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the git-utils@3.0.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the git-utils package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls git-utils
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-115225-7298-1rjpl3u/npm-debug.log |
@iyogeshjoshi This error can be solved by following the steps here: nodejs/node-gyp#426 |
Can you run |
Sure:
Currently using Atom version 0.188. Also note that I do not have any Visual Studio installed. Would the call for I am downloading VS 2013 sp4 right now, I will report back what happens once it is installed. Edit: VS 2013 did not help. |
@kevinsawicki yeah that worked for me 👍 thanks :) |
@RyenNelsen Do you have visual studio installed? It is required to compile this module. Based on your |
@kevinsawicki Then you may want to have a talk with prrrnd/atom-git-projects#19 because prrrnd would be forcing everyone to install VS to just use their plugin, and they feel that it's your package causing the error. Shouldn't a pre-compiled version be included in prrrnd's package? I did install VS 2013 SP4, and it still didn't compile though, just FYI. |
This library is just a regular node module, node modules can contain native code that requires a compiler be available for building. That error is expected if you either don't have those tools installed or they aren't being detected correctly by node-gyp.
That is up to the package. I'm going to close out this issue since this error isn't something that can be fixed by this library, it will be the same error you will see whenever node-gyp tries to compile native code and can't find the tools required. |
When attempting to install
git-projects
I get the following error:The text was updated successfully, but these errors were encountered: