alexcorre / git-blame

Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.
MIT License
98 stars 58 forks source link

Error installing version 0.4.11 on atom 1.5.3 and 1.9.8 #148

Closed rubyconvict closed 7 years ago

rubyconvict commented 8 years ago
Updating to “git-blame@0.4.11” failed.Hide output…

> runas@3.1.1 install /tmp/apm-install-dir-116718-32691-1wsho88/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

make: Wejście do katalogu `/tmp/apm-install-dir-116718-32691-1wsho88/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas/build'
  CXX(target) Release/obj.target/runas/src/main.o
make: Opuszczenie katalogu `/tmp/apm-install-dir-116718-32691-1wsho88/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas/build'

In file included from ../src/main.cc:1:0:
../../nan/nan.h:311:62: fatal error: nan_persistent_12_inl.h: Nie ma takiego pliku ani katalogu
 # include "nan_persistent_12_inl.h"  // NOLINT(build/include)
                                                              ^
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [Release/obj.target/runas/src/main.o] Błąd 1
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.13.0-93-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-116718-32691-1wsho88/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Linux 3.13.0-93-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/me/.atom/.apm/.apmrc" "--userconfig" "/home/me/.atom/.apmrc" "install" "/tmp/d-116718-32691-pccgm7/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! runas@3.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas 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 runas
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-116718-32691-1wsho88/npm-debug.log
alexcorre commented 7 years ago

hi @rubyconvict i've released v1.0.0 which changed many of the underlying dependencies in the package. can you upgrade and see if this is still an issue for you? If so please reopen.

rubyconvict commented 7 years ago
Installing git-blame@1.0.0 to /home/mkalita/.atom/packages ✗

> runas@3.1.1 install /tmp/apm-install-dir-117313-28197-12vhr34/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

make: Wejście do katalogu `/tmp/apm-install-dir-117313-28197-12vhr34/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas/build'
  CXX(target) Release/obj.target/runas/src/main.o
make: Opuszczenie katalogu `/tmp/apm-install-dir-117313-28197-12vhr34/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas/build'

npm WARN deprecated react-for-atom@15.3.1-0: Switch to regular React - this project is no longer maintained
npm WARN peerDependencies The peer dependency react@^0.14.0 || ^15.0.0 included from recompose will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
In file included from ../src/main.cc:1:0:
../../nan/nan.h:148:53: fatal error: nan_callbacks.h: Nie ma takiego pliku ani katalogu
 #include "nan_callbacks.h"  // NOLINT(build/include)
                                                     ^
compilation terminated.
make: *** [Release/obj.target/runas/src/main.o] Błąd 1
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.13.0-117-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-117313-28197-12vhr34/node_modules/git-blame/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Linux 3.13.0-117-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/mkalita/.atom/.apm/.apmrc" "--userconfig" "/home/mkalita/.atom/.apmrc" "install" "/tmp/d-117313-28197-s3aeqq/package.tgz" "--target=0.37.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! runas@3.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the runas@3.1.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas 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 runas
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-117313-28197-12vhr34/npm-debug.log

I had the same issue today, but the whole thing was probably my fault. I tried to install atom packages for the atom editor which was installed with a different version of node.