Bin gerade dabei mir zum testen ein IObroker System auszubauen. Dazu verwende ich einen Banana Pi mit dem Image von Igor Armbian Stretch
Code
root@bananapi: uname -a
Linux bananapi 4.14.49-sunxi #471 SMP Tue Jun 12 00:04:47 UTC 2018 armv7l GNU/Linux
Habe das System nach der Installation auf den Aktuellen stand gebracht und dann mit der Installation nach der Anleitung begonnen.
Node Version ist wie in der Anleitung beschrieben installiert
Nun bekomme ich wenn ich IObroker installieren möchte folgende Fehlermeldung
Code
root@bananapi:/opt/iobroker# npm install iobroker --unsafe-perm
npm WARN engine iobroker@1.1.2: wanted: {"node":">=4.0"} (current: {"node":"0.12.6","npm":"2.11.2"})
npm WARN engine hosted-git-info@2.6.0: wanted: {"node":">=4"} (current: {"node":"0.12.6","npm":"2.11.2"})
/
> iobroker@1.1.2 install /opt/iobroker/node_modules/iobroker
> node lib/prepareSetup.js && node lib/setup.js
/opt/iobroker/node_modules/iobroker/lib/prepareSetup.js:20
.filter(dir => {
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
npm ERR! Linux 4.14.49-sunxi
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "--unsafe-perm"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! iobroker@1.1.2 install: `node lib/prepareSetup.js && node lib/setup.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iobroker@1.1.2 install script 'node lib/prepareSetup.js && 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/prepareSetup.js && node lib/setup.js
npm ERR! 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
Alles anzeigen
Kann mir hier wer einen Tipp geben was da schief läuft?