• Here is where I did the nmp install

    npm install

    usb@1.3.3 install /home/pi/EspruinoHub/node_modules/usb
    node-pre-gyp install --fallback-to-build

    node-pre-gyp WARN Using needle for node-pre-gyp https download
    node-pre-gyp WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.3.3/usb_bindings-v1.3.3-node-v57-linux-arm.tar.gz
    node-pre-gyp WARN Pre-built binaries not found for usb@1.3.3 and node@8.11.4 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
    make: Entering directory '/home/pi/EspruinoHub/node_modules/usb/build'
    CC(target) Release/obj.target/libusb/libusb/libusb/core.o
    CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
    CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
    CC(target) Release/obj.target/libusb/libusb/libusb/io.o
    CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
    CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
    CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
    CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
    CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
    CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
    ../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: No such file or directory
    #include

                     ^
    

    compilation terminated.
    libusb.target.mk:132: recipe for target 'Release/obj.target/libusb/libusb/libusb/os/linux_udev.o' failed
    make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1
    make: Leaving directory '/home/pi/EspruinoHub/node_modules/usb/build'
    gyp ERR! build error
    gyp ERR! stack Error: make failed with exit code: 2
    gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
    gyp ERR! stack at emitTwo (events.js:126:13)
    gyp ERR! stack at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    gyp ERR! System Linux 4.14.50+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/EspruinoHub/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/home/pi/EspruinoHub/node_modules/usb/src/binding" "--napi_version=3" "--node_abi_napi=napi"
    gyp ERR! cwd /home/pi/EspruinoHub/node_modules/usb
    gyp ERR! node -v v8.11.4
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    node-pre-gyp ERR! build error
    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/EspruinoHub/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/pi/EspruinoHub/node_modules/usb/src/binding --napi_version=3 --node_abi_napi=napi' (1)
    node-pre-gyp ERR! stack at ChildProcess. (/home/pi/EspruinoHub/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
    node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
    node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
    node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    node-pre-gyp ERR! System Linux 4.14.50+
    node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/EspruinoHub/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd /home/pi/EspruinoHub/node_modules/usb
    node-pre-gyp ERR! node -v v8.11.4
    node-pre-gyp ERR! node-pre-gyp -v v0.10.3
    node-pre-gyp ERR! not ok
    Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/EspruinoHub/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/pi/EspruinoHub/node_modules/usb/src/binding --napi_version=3 --node_abi_napi=napi' (1)

    bluetooth-hci-socket@0.5.1 install /home/pi/EspruinoHub/node_modules/bluetooth-hci-socket
    node-gyp rebuild

    make: Entering directory '/home/pi/EspruinoHub/node_modules/bluetooth-hci-socket/build'
    CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
    ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::Value* ’ is deprecated [-Wdeprecated-declarations]
    back(Nan::New

About

Avatar for PapaTech @PapaTech started