Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't install it on manjaro linux #84

Closed
danieldaeschle opened this issue May 14, 2018 · 3 comments
Closed

I can't install it on manjaro linux #84

danieldaeschle opened this issue May 14, 2018 · 3 comments
Labels
bug An identified bug, though not necessarily being currently investigated

Comments

@danieldaeschle
Copy link

Expected Behavior

It should install

Current Behavior

It doesn't install

Possible Solution

Don't know. Just fix it.

Steps to Reproduce (for bugs)

npm install --save iohook with npm 6.0.0 and manjaro linux

Your Environment

npm 6.0.0
nodejs 10.0.0
manjaro linux newest version

Error:

[daniel@daniel-pc amazon-music-linux]$ npm install --save iohook
npm WARN rm not removing /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/.bin/electron-download as it wasn't installed by /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/electron-download
npm WARN rm not removing /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/.bin/uglifyjs as it wasn't installed by /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/uglify-js
npm WARN rm not removing /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/.bin/mkdirp as it wasn't installed by /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/mkdirp
npm WARN rm not removing /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/.bin/mime as it wasn't installed by /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/mime
npm WARN rm not removing /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/.bin/browserslist as it wasn't installed by /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/browserslist

> [email protected] install /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/segfault-handler
> node-gyp rebuild

make: Verzeichnis „/home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/segfault-handler/build“ wird betreten
  CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
../src/segfault-handler.cpp:8:10: schwerwiegender Fehler: v8-debug.h: Datei oder Verzeichnis nicht gefunden
 #include <v8-debug.h>
          ^~~~~~~~~~~~
Kompilierung beendet.
make: *** [segfault-handler.target.mk:97: Release/obj.target/segfault-handler/src/segfault-handler.o] Fehler 1
make: Verzeichnis „/home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/segfault-handler/build“ wird verlassen
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Linux 4.14.39-1-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/daniel/Projects/JavaScript/amazon-music-linux/node_modules/segfault-handler
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/app-builder-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/app-builder-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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!     /home/daniel/.npm/_logs/2018-05-14T16_59_24_971Z-debug.log
@Djiit
Copy link
Collaborator

Djiit commented May 15, 2018

Hi there, thanks for your feedback. Currently iohook is not compatible with Node.js 10. (see ddopson/node-segfault-handler#50). Could you test with Node 9 ?

@Djiit Djiit added bug An identified bug, though not necessarily being currently investigated awaiting feedback Waiting on an answer or information from issue or PR author to proceed labels May 15, 2018
@danieldaeschle
Copy link
Author

I will try to install LTS version on Manjaro. Thanks for your answer.

@Djiit Djiit removed the awaiting feedback Waiting on an answer or information from issue or PR author to proceed label May 15, 2018
@danieldaeschle
Copy link
Author

Installed NVM, then installed Version 8.6.x of Node and it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An identified bug, though not necessarily being currently investigated
Projects
None yet
Development

No branches or pull requests

2 participants