Closed born2webdesign closed 3 years ago
Same issue - Fedora 23
git-utils@4.1.2 install /tmp/apm-install-dir-116126-15724-1xb8mky/node_modules/git-utils node-gyp rebuild
make: Entering directory '/tmp/apm-install-dir-116126-15724-1xb8mky/node_modules/git-utils/build' make: Leaving directory '/tmp/apm-install-dir-116126-15724-1xb8mky/node_modules/git-utils/build'
make: *\ No rule to make target 'Release/obj.target/libgit2/deps/libgit2/src/annotated_commit.o', needed by 'Release/obj.target/git2.a'. Stop.
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
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 4.3.5-300.fc23.x86_64
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-116126-15724-1xb8mky/node_modules/git-utils
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 4.3.5-300.fc23.x86_64
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/kpb/.atom/.apm/.apmrc" "--userconfig" "/home/kpb/.atom/.apmrc" "install" "/tmp/d-116126-15724-y2q6un/package.tgz" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! git-utils@4.1.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the git-utils@4.1.2 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-116126-15724-1xb8mky/npm-debug.log
Can confirm this is failing on Mac OSX 10.11 as well.
can confirm this is failing on ubuntu 14.04 also.
Can confirm this on RHEL 7.2 also.
Can confirm this on Windows 10.
Can confirm this on Debian Testing.
Can confirm this on Arch
I'm having this issue on MacOS 10.14.6:
> npm install --prod
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
> git-utils@5.6.1 install /Users/benmundt/program_files/git-utils
> node-gyp rebuild
make: *** No rule to make target `Release/obj.target/libgit2/deps/libgit2/src/annotated_commit.o', needed by `Release/git2.a'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/benmundt/program_files/n/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/benmundt/program_files/n/bin/node" "/Users/benmundt/program_files/n/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/benmundt/program_files/git-utils
gyp ERR! node -v v10.16.2
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! git-utils@5.6.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the git-utils@5.6.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/benmundt/.npm/_logs/2019-09-09T20_15_33_705Z-debug.log
atom 1.4.1 (on Debian jessie), tying to install git-utils.
Installing “git-utils@4.1.2” failed. Output below (unfortunately, the log mentioned at the very bottom does not exist):
make: Entering directory '/tmp/apm-install-dir-116124-20578-1fs2ixx/node_modules/git-utils/build' make: Leaving directory '/tmp/apm-install-dir-116124-20578-1fs2ixx/node_modules/git-utils/build'
make: *\ No rule to make target 'Release/obj.target/libgit2/deps/libgit2/src/annotated_commit.o', needed by 'Release/obj.target/git2.a'. Schluss. gyp ERR! build error gyp ERR! stack Error:
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) 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-4-amd64 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-116124-20578-1fs2ixx/node_modules/git-utils gyp ERR! node -v v0.10.40 gyp ERR! node-gyp -v v2.0.2 gyp ERR! not ok npm ERR! Linux 3.16.0-4-amd64 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/kamome/.atom/.apm/.apmrc" "--userconfig" "/home/kamome/.atom/.apmrc" "install" "/tmp/d-116124-20578-1xpi4lg/package.tgz" "--target=0.34.5" "--arch=x64" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLEnpm ERR! git-utils@4.1.2 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the git-utils@4.1.2 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-116124-20578-1fs2ixx/npm-debug.log