pi@rasp-ccu:~ $ npm install noble --production --prefix "/opt/iobroker/node_modules/iobroker.javascript" npm http GET https://registry.npmjs.org/noble npm http 200 https://registry.npmjs.org/noble npm http GET https://registry.npmjs.org/noble/-/noble-1.6.0.tgz npm http 200 https://registry.npmjs.org/noble/-/noble-1.6.0.tgz npm ERR! error rolling back Error: EACCES, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble' npm ERR! error rolling back noble@1.6.0 { [Error: EACCES, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble '] npm ERR! error rolling back errno: 3, npm ERR! error rolling back code: 'EACCES', npm ERR! error rolling back path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble' } npm ERR! Error: EACCES, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble' npm ERR! { [Error: EACCES, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Linux 4.1.19-v7+ npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "noble" "--production" "--prefix" "/opt/iobroker/node_modules/ iobroker.javascript" npm ERR! cwd /home/pi npm ERR! node -v v0.10.22 npm ERR! npm -v 1.3.14 npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/noble npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, unlink '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble' npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/npm-debug.log npm ERR! not ok code 0 oder pi@rasp-ccu:~ $ sudo npm install noble --production --prefix "/opt/iobroker/node_modules/iobroker.javascript" npm http GET https://registry.npmjs.org/noble npm http 304 https://registry.npmjs.org/noble npm http GET https://registry.npmjs.org/xpc-connection npm http GET https://registry.npmjs.org/debug npm http GET https://registry.npmjs.org/bplist-parser/0.0.6 npm http GET https://registry.npmjs.org/bluetooth-hci-socket npm http 200 https://registry.npmjs.org/debug npm http 304 https://registry.npmjs.org/xpc-connection npm http 304 https://registry.npmjs.org/bluetooth-hci-socket npm http 304 https://registry.npmjs.org/bplist-parser/0.0.6 npm WARN optional dep failed, continuing xpc-connection@0.1.4 npm http GET https://registry.npmjs.org/ms/0.7.1 npm http GET https://registry.npmjs.org/nan npm http GET https://registry.npmjs.org/usb npm http 304 https://registry.npmjs.org/nan npm http 304 https://registry.npmjs.org/usb npm WARN engine usb@1.1.2: wanted: {"node":">=0.12.x"} (current: {"node":"v0.10.22","npm":"1.3.14"}) npm http 304 https://registry.npmjs.org/ms/0.7.1 > usb@1.1.2 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules /usb > node-pre-gyp install --fallback-to-build node-pre-gyp http GET https://tessel-builds.s3-us-west-2.amazonaws.com/pre-gyp/usb/v1.1.2/usb_bindings-v1.1.2-node-v11-linux-arm.tar.gz node-pre-gyp http 404 https://tessel-builds.s3-us-west-2.amazonaws.com/pre-gyp/usb/v1.1.2/usb_bindings-v1.1.2-node-v11-linux-arm.tar.gz node-pre-gyp http Pre-built binary not available for your system, looked for https://tessel-builds.s3-us-west-2.amazonaws.com/pre-gyp/usb/v1.1.2/usb_bindings-v1.1.2-node-v11-linux-arm.tar.gz (falling back to source compile with node-gyp) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.22" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/.node-gyp" gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz make: Entering directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/build' make: *** No rule to make target '../.node-gyp/0.10.22/common.gypi', needed by 'Makefile'. Schluss. make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/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/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Linux 4.1.19-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/src/binding" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb gyp ERR! node -v v0.10.22 gyp ERR! node-gyp -v v0.11.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/src/binding' (1) node-pre-gyp ERR! stack at ChildProcess. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) node-pre-gyp ERR! stack at maybeClose (child_process.js:735:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:802:5) node-pre-gyp ERR! System Linux 4.1.19-v7+ node-pre-gyp ERR! command "node" "/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb node-pre-gyp ERR! node -v v0.10.22 node-pre-gyp ERR! node-pre-gyp -v v0.6.24 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/node_modules/usb/src/binding' (1) npm WARN optional dep failed, continuing usb@1.1.2 > bluetooth-hci-socket@0.4.4 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket > node-gyp rebuild gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.22" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/.node-gyp" gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz make: Entering directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o SOLINK_MODULE(target) Release/obj.target/binding.node SOLINK_MODULE(target) Release/obj.target/binding.node: Finished COPY Release/binding.node make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/noble/node_modules/bluetooth-hci-socket/build' noble@1.6.0 ../../opt/iobroker/node_modules/iobroker.javascript/node_modules/noble ├── bplist-parser@0.0.6 ├── debug@2.2.0 (ms@0.7.1) └── bluetooth-hci-socket@0.4.4 (nan@2.4.0)