Meine Glaskugel ist heute in der Spülmaschine, sorry.
Vielleicht ein Screenshot bzw, Informationen, was genau da "scheitert"?
root@debian-iobroker:~# chmod 777 /opt/iobroker
root@debian-iobroker:~# cd /opt/iobroker
root@debian-iobroker:/opt/iobroker# npm install iobroker --unsafe-perm
> iobroker@1.3.1 install /opt/iobroker/node_modules/iobroker
> node lib/checkVersions.js
NPM version: 3.10.10
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ioBroker needs at least Node.JS 8.12. You have installed 6.16.0
Please update your Node.JS version!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.
npm ERR! Linux 4.9.0-8-686-pae
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"
npm ERR! node v6.16.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! iobroker@1.3.1 install: `node lib/checkVersions.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the iobroker@1.3.1 install script 'node lib/checkVersions.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the iobroker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/checkVersions.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs iobroker
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls iobroker
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log
root@debian-iobroker:/opt/iobroker#