NEWS
SOLVED js-controller
-
Hallo,
mein iobroker läuft an sich richtig gut, nur seit tagen macht er probleme beim updaten. Ledier lässt sich der js-controller nicht updaten. Da kommt immer folgende Meldung. Hat jemand eine Idee, Plattfourm ist ubuntu.
Update js-controller from @1.4.2 to @1.5.7 NPM version: 6.8.0 npm install iobroker.js-controller@1.5.7 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) npm WARN onvif-snapshot@1.0.2 requires a peer of onvif@^0.5.5 but none is installed. You must install peer dependencies yourself. npm WARN react-beautiful-dnd@8.0.7 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm ERR! path /opt/iobroker/node_modules/.bin/iobroker npm ERR! code EEXIST npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link npm ERR! File exists: /opt/iobroker/node_modules/.bin/iobroker npm ERR! Move it away, and try again. npm ERR! A complete log of this run can be found in: npm ERR! /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log Host "Setesh-Dell" (linux) updated
-
nach längeren herumprobieren habe ich es geschafft.
Habe alle Dateien in /opt/iobroker/node_modules/.bin/iobroker per Hand gelöscht und update Prozess neu gestartet.
-
@Setesh sagte in js-controller:
/home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log
zeigmal das Log
-
Hallo, danke für die Hilfe
setesh@Setesh-Dell:/opt/iobroker$ sudo bash /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log [sudo] password for setesh: /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 1: 0: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 2: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 3: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 4: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 5: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 6: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 7: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 8: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 9: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 10: 1: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 11: 2: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 12: 3: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 13: 4: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 14: 5: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 15: 6: command not found /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 16: syntax error near unexpected token `(' /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 16: `7 http fetch GET 200 https://registry.npmjs.org/iobroker.js-controller 38ms (from cache)'
-
@Setesh sagte in js-controller:
npm ERR! A complete log of this run can be found in:
npm ERR! /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.logund was steht in dem Log?
-
@arteck said in js-controller:
/home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log
1476 verbose cwd /opt/iobroker 1477 verbose Linux 4.15.0-45-generic 1478 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@1.5.7" "--unsafe-perm" "--production" "--save" "--prefix" "/opt/iobroker" 1479 verbose node v8.15.0 1480 verbose npm v6.8.0 1481 error path /opt/iobroker/node_modules/.bin/iobroker 1482 error code EEXIST 1483 error Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link 1484 error File exists: /opt/iobroker/node_modules/.bin/iobroker 1485 error Move it away, and try again. 1486 verbose exit [ 1, true ]
-
nach längeren herumprobieren habe ich es geschafft.
Habe alle Dateien in /opt/iobroker/node_modules/.bin/iobroker per Hand gelöscht und update Prozess neu gestartet.