Kann ich nicht zurück auf node 6.x? Habe es versucht, aber dann lässt sich ioBroker nicht installieren.
Die aktuelle node 8.x abhängige Version funktioniert leider nicht.
zB läuft reinstall.sh nicht, sondern gibt folgende Fehler:
! > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
! > node-gyp rebuild
! make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build'
! CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
! In file included from /usr/include/errno.h:28:0,
! from /home/admin/.node-gyp/8.14.0/include/node/uv/errno.h:25,
! from /home/admin/.node-gyp/8.14.0/include/node/uv.h:48,
! from ../node_modules/nan/nan.h:46,
! from ../src/unix_dgram.cc:5:
! /usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
! compilation terminated.
! unix_dgram.target.mk:101: recipe for target 'Release/obj.target/unix_dgram/src/unix_dgram.o' failed
! make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
! make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build'
! gyp ERR! build error
! gyp ERR! stack Error: make
failed with exit code: 2
! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
! gyp ERR! stack at emitTwo (events.js:126:13)
! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
! gyp ERR! System Linux 4.2.8
! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
! gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
! gyp ERR! node -v v8.14.0
! gyp ERR! node-gyp -v v3.8.0
! gyp ERR! not ok
! > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
! > node rebuild.js
! ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
! > iobroker.js-controller@1.4.2 install /opt/iobroker/node_modules/iobroker.js-controller
! > node iobroker.js setup first
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuild
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
! + iobroker.js-controller@1.4.2
! added 158 packages from 126 contributors and audited 1648 packages in 24.422s
! found 23 vulnerabilities (17 low, 6 high)
! run npm audit fix
to fix them, or npm audit
for details
! DONE iobroker.js-controller
! got /opt/iobroker/node_modules/iobroker.discovery/admin
! upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript
! upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html
! upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html
! upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html
! upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html
! upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png
! got /opt/iobroker/node_modules/iobroker.admin/admin
! upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
! upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
! upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
! upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
! ./reinstall.sh: line 34: unexpected EOF while looking for matching `"'
! ./reinstall.sh: line 37: syntax error: unexpected end of file
Habe heute sieben mal das Betriebssystem neu installiert. Irgendwie nicht so lustig. Somit aktuell kein ioBroker mehr. Schade….
Kann irgendjemand helfen? Bitte!