NEWS
Tradfri - Installation nicht möglich
-
Hallo zusammen,
ich bastle mir gerade mein System zusammen. ioBroker läuft auf einem Tinker Board S (TinkerOS_Debian V2.0.7) mit folgenden Versionen:
js-controller 1.4.2
node.js 8.12.0
npm 4.6.1
Es geht auch alles, bis auf den tradfri Adapter. Die Installation läuft nicht durch:
! $ ./iobroker add tradfri
! NPM version: 4.6.1
! npm install iobroker.tradfri –production --save --prefix "/opt/iobroker" (System call)
! npm ERR! path /root/.npm/_logsnpm 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! errno: -13,
! npm ERR! code: 'EACCES',
! npm ERR! syscall: 'scandir',
! npm ERR! path: '/root/.npm/_logs' }
! npm ERR!
! npm ERR! Please try running this command again as root/Administrator.
! glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs' errno: -13,
! code: 'EACCES',
! syscall: 'scandir',
! path: '/root/.npm/_logs' }
! npm ERR! path /root/.npm/node-aead-crypto/1.1.6/packagenpm ERR! code EACCES
! npm ERR! errno -13
! npm ERR! syscall mkdir
! npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.6/package'npm ERR! { Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.6/package'
! npm ERR! errno: -13,
! npm ERR! code: 'EACCES',
! npm ERR! syscall: 'mkdir',
! npm ERR! path: '/root/.npm/node-aead-crypto/1.1.6/package',
! npm ERR! parent: 'node-dtls-client' }
! npm ERR!
! npm ERR! Please try running this command again as root/Administrator.
! ┌───────────────────────────────────────────────────┐
! │ npm update check failed │
! │ Try running with sudo or get access │
! │ to the local update config store via │
! │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
! └───────────────────────────────────────────────────┘
! npm
! ERR! code ELIFECYCLEnpm 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-10-16T19_47_28_353Z-debug.log
! host.tinkerboard install adapter tradfri
! NPM version: 4.6.1npm install iobroker.tradfri --production --save --prefix "/opt/iobroker" (System call)
! npm
! ERR! path /root/.npm/_logsnpm 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! errno: -13,
! npm ERR! code: 'EACCES',
! npm ERR! syscall: 'scandir',
! npm ERR! path: '/root/.npm/_logs' }
! npm ERR!
! npm ERR! Please try running this command again as root/Administrator.
! glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs' errno: -13,
! code: 'EACCES',
! syscall: 'scandir',
! path: '/root/.npm/_logs' }
! npm ERR! path /root/.npm/node-aead-crypto/1.1.6/packagenpm ERR! code EACCES
! npm ERR! errno -13
! npm ERR! syscall mkdir
! npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.6/package'npm ERR! { Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.6/package'
! npm ERR! errno: -13,
! npm ERR! code: 'EACCES',
! npm ERR! syscall: 'mkdir',
! npm ERR! path: '/root/.npm/node-aead-crypto/1.1.6/package',
! npm ERR! parent: 'node-dtls-client' }
! npm ERR!
! npm ERR! Please try running this command again as root/Administrator.
! ┌───────────────────────────────────────────────────┐
! │ npm update check failed │
! │ Try running with sudo or get access │
! │ to the local update config store via │
! │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
! └───────────────────────────────────────────────────┘
! npm ERR! code ELIFECYCLEnpm 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-10-16T19_48_06_388Z-debug.log
! host.tinkerboard install adapter tradfri
! NPM version: 4.6.1
! npm install iobroker.tradfri --production --save --prefix "/opt/iobroker" (System call)
! npm
! ERR! path /root/.npm/_logsnpm 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! errno: -13,
! npm ERR! code: 'EACCES',
! npm ERR! syscall: 'scandir',
! npm ERR! path: '/root/.npm/_logs' }
! npm ERR!
! npm ERR! Please try running this command again as root/Administrator.
! glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs' errno: -13,
! code: 'EACCES',
! syscall: 'scandir',
! path: '/root/.npm/_logs' }
! npm
! ERR!
! path /root/.npm/node-aead-crypto/1.1.6/packagenpm ERR! code EACCES
! npm
! ERR!
! errno -13npm ERR! syscall mkdir
! npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.6/package'
! npm ERR! { Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.6/package'
! npm ERR! errno: -13,
! npm ERR! code: 'EACCES',
! npm ERR! syscall: 'mkdir',
! npm ERR! path: '/root/.npm/node-aead-crypto/1.1.6/package',
! npm ERR!
! parent: 'node-dtls-client' }
! npm ERR!
! npm
! ERR! Please try running this command again as root/Administrator.
! ┌───────────────────────────────────────────────────┐
! │ npm update check failed │
! │ Try running with sudo or get access │
! │ to the local update config store via │
! │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
! └───────────────────────────────────────────────────┘
! npm
! ERR! code ELIFECYCLEnpm 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-10-16T19_48_43_503Z-debug.log
! host.tinkerboard install adapter tradfri
! ERROR: host.tinkerboard Cannot install tradfri
! ERROR: process exited with code 13Ich komm nicht weiter, wie bekomme ich den Adapter installiert? Danke für eure Hilfe!