pi@ioBroker-RasPi:~ $ sudo iobroker del tradfri Delete adapter "tradfri" host.ioBroker-RasPi no instances of adapter tradfri found Error deleting adapter tradfri from disk: Error: Cannot find module 'iobroker.tradfri/io-package.json' You might have to delete it yourself! pi@ioBroker-RasPi:~ $ cd /opt/iobroker/node_modules pi@ioBroker-RasPi:/opt/iobroker/node_modules $ sudo rm -rf iobroker.tradfri pi@ioBroker-RasPi:/opt/iobroker/node_modules $ sudo rm -rf node-tradfri-client pi@ioBroker-RasPi:/opt/iobroker/node_modules $ sudo rm -rf node-coap-client pi@ioBroker-RasPi:/opt/iobroker/node_modules $ sudo rm -rf node-dtls-client pi@ioBroker-RasPi:/opt/iobroker/node_modules $ sudo rm -rf node-aead-crypto pi@ioBroker-RasPi:/opt/iobroker/node_modules $ cd /opt/iobroker pi@ioBroker-RasPi:/opt/iobroker $ sudo npm i iobroker.tradfri --unsafe-perm > node-dtls-client@0.5.4 install /opt/iobroker/node_modules/node-dtls-client > node install/postinstall.js node-dtls-client: testing NodeJS version Version < 10, installing node-aead-crypto... npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11) > node-aead-crypto@1.1.6 install /opt/iobroker/node_modules/node-dtls-client/node_modules/node-aead-crypto > node lib/install.js running default installation script > node-aead-crypto@1.1.6 install:default /opt/iobroker/node_modules/node-dtls-client/node_modules/node-aead-crypto > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/AlCalzone/node-aead-crypto/releases/download/v1.1.6/node-v57-linux-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for node-aead-crypto@1.1.6 and node@8.12.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp) make: Verzeichnis „/opt/iobroker/node_modules/node-dtls-client/node_modules/node-aead-crypto/build“ wird betreten CXX(target) Release/obj.target/node_aead_crypto/src/node-aes-ccm.o CXX(target) Release/obj.target/node_aead_crypto/src/node-aes-gcm.o CXX(target) Release/obj.target/node_aead_crypto/src/addon.o SOLINK_MODULE(target) Release/obj.target/node_aead_crypto.node COPY Release/node_aead_crypto.node COPY /opt/iobroker/node_modules/node-dtls-client/node_modules/node-aead-crypto/build/Release/node-v57-linux-arm/node_aead_crypto.node TOUCH Release/obj.target/action_after_build.stamp make: Verzeichnis „/opt/iobroker/node_modules/node-dtls-client/node_modules/node-aead-crypto/build“ wird verlassen npm notice created a lockfile as package-lock.json. You should commit this file. + node-aead-crypto@1.1.6 added 72 packages from 41 contributors and audited 103 packages in 188.087s found 0 vulnerabilities npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. + iobroker.tradfri@1.4.1 added 10 packages from 6 contributors in 252.612s pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker add tradfri host.ioBroker-RasPi install adapter tradfri npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.tradfri" npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@npmjs.com for more info. npm ERR! path /root/.npm/_logs npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall scandir npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs' npm ERR! { Error: EACCES: permission denied, scandir '/root/.npm/_logs' npm ERR! stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'scandir', npm ERR! path: '/root/.npm/_logs' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended). glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs' stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'', errno: -13, code: 'EACCES', syscall: 'scandir', path: '/root/.npm/_logs' } npm ERR! path /root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall open npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec' npm ERR! { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec' npm ERR! cause: npm ERR! { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec' npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'open', npm ERR! path: '/root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec' }, npm ERR! isOperational: true, npm ERR! stack: 'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'open', npm ERR! path: '/root/.npm/_cacache/index-v5/33/dd/9f2079633064bcb95aa590287736f96cd1a1fe59de842139f20403faf5ec' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended). npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! code ELIFECYCLE npm ERR! errno 243 npm ERR! node-dtls-client@0.5.4 install: `node install/postinstall.js` npm ERR! Exit status 243 npm ERR! npm ERR! Failed at the node-dtls-client@0.5.4 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! /root/.npm/_logs/2018-09-19T18_12_44_652Z-debug.log Cannot install iobroker.tradfri: 243 pi@ioBroker-RasPi:/opt/iobroker $