Hallo zusammen,
ich versuche ioBroker auf Synology DS 215j zu installieren. Docker gibt meine Station nicht her, also versuch ich es manuell. Da ich programmiermäßig keine Ahnung habe, habe mich durch verschiedene Tutorials und Youtube-Videos durchgekämpft, bleib aber immer an irgendeiner Stelle hängen. Daher ist dieses Forum meine letzte Hoffnung:
Ich habe nach diesem Video https://www.youtube.com/watch?v=qP9BiuHrQRQ und einer leichten Abänderung versucht, über Putty das Verzeichnis /opt/iobroker im Root zu erstellen und dann mit npm install iobroker die Installation durchzuführen. Ich erhalte folgende Fehlermeldung:
> iobroker@1.0.8 install /opt/node_modules/iobroker
> node lib/setup.js
NPM version: 2.15.11
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/opt/package.json'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.writeFileSync (fs.js:1156:15)
at setup (/opt/node_modules/iobroker/lib/setup.js:421:12)
at /opt/node_modules/iobroker/lib/setup.js:580:5
at Socket. <anonymous>(/opt/node_modules/iobroker/lib/setup.js:570:13)
at emitNone (events.js:72:20)
at Socket.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:923:12)
at nextTickCallbackWith2Args (node.js:511:9)
npm ERR! Linux 3.2.40
npm ERR! argv "/volume1/@appstore/Node.js_v4/usr/local/bin/node" "/usr/local/bin /npm" "install" "iobroker"
npm ERR! node v4.8.4
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! iobroker@1.0.8 install: `node lib/setup.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker@1.0.8 install script 'node lib/setup.js'.
npm ERR! 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/setup.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 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/npm-debug.log</anonymous>
Kann irgendjemand damit was anfangen?
Im Voraus vielen Dank
geändert: Code in Code-Tags; Homoran (Mod)