mafintosh/fuse-bindings

Unable to install fuse-bindings

Opened this issue · 5 comments

Hi, when I try to install fuse-bindings via npm on my debian unstable, I get the following error:

17364 info postuninstall fuse-bindings@2.8.1
17365 error fuse-bindings@2.8.1 install: `prebuild --install`
17365 error Exit status 127
17366 error Failed at the fuse-bindings@2.8.1 install script.
17366 error This is most likely a problem with the fuse-bindings package,
17366 error not with npm itself.
17366 error Tell the author that this fails on your system:
17366 error     prebuild --install
17366 error You can get their info via:
17366 error     npm owner ls fuse-bindings
17366 error There is likely additional logging output above.
17367 error System Linux 4.5.0-1-amd64
17368 error command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "fuse-bindings"
17369 error cwd /home/witiko
17370 error node -v v4.4.3
17371 error npm -v 1.4.21
17372 error code ELIFECYCLE
17373 verbose exit [ 1, true ]

Do you have any idea what the issue could be? The 127 exit code suggests a missing executable.

Most likely you're missing fuse development bindings.

I do have the libfuse-dev package installed.

R0nd commented

Debian 9 here
gyp: Call to 'pkg-config fuse --cflags-only-I | sed s/-I//g' returned exit status 0 while in binding.gyp. while trying to load binding.gyp prebuild ERR! configure error prebuild ERR! stack Error: gypfailed with exit code: 1 prebuild ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/fuse-bindings/node_modules/node-gyp/lib/configure.js:336:16) prebuild ERR! stack at emitTwo (events.js:125:13) prebuild ERR! stack at ChildProcess.emit (events.js:213:7) prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12) prebuild ERR! not ok prebuild ERR! build Error:gyp failed with exit code: 1 prebuild ERR! build at ChildProcess.onCpExit (/usr/lib/node_modules/fuse-bindings/node_modules/node-gyp/lib/configure.js:336:16) prebuild ERR! build at emitTwo (events.js:125:13) prebuild ERR! build at ChildProcess.emit (events.js:213:7) prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)

R0nd commented

The libfuse version on my system is 2.9.7-1. I have fuse, libfuse2 and libfuse-dev installed.