NEWS
Nach update startet iobroker nicht mehr
-
nach dem update startet der iobroker nicht mehr.
sudo iobroker start Starting iobroker controller daemon... /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136 throw new Error(msg.error); ^ Error: /opt/iobroker/node_modules/iobroker.js-controller/controller.js:1 (function (exports, require, module, __filename, __dirname) { ��u<��\���� ^ SyntaxError: Invalid or unexpected token at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:542:28) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at init (/opt/iobroker/node_modules/daemonize2/lib/wrapper.js:105:17) at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at process.nextTick (internal/child_process.js:787:12) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)</anonymous>hatte dann folgendes gemacht sudo npm install iobroker.js-controller –production
da bekomme ich aber ebenfalls fehler.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: redis@^2.8.0 (node_modules/iobroker.js-controller/node_modules/redis): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token 'v' at 1:8 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: views[view].widgets[id].data['visibility-val'] = false; npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^ npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /root/.npm/redis/2.8.0/package/package.json npm WARN optional SKIPPING OPTIONAL DEPENDENCY: le-challenge-fs@^2.0.8 (node_modules/iobroker.js-controller/node_modules/le-challenge-fs): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token 't' at 1:1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: tus('Forbidden') // => 403\nstatus(306) // throws, as it's not supported by nod npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^ npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /root/.npm/le-challenge-fs/2.0.8/package/package.json npm WARN optional SKIPPING OPTIONAL DEPENDENCY: winston-syslog@^1.2.6 (node_modules/iobroker.js-controller/node_modules/winston-syslog): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token 'e' at 1:1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: exports.parse = require('./lib/parse'); npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^ npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /root/.npm/winston-syslog/1.2.6/package/package.json npm ERR! file /root/.npm/jszip/3.1.5/package/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! Unexpected token 'e' at 1:1 npm ERR! ength,f=new o(i,s,u,a),l=this.$lines.slice(e,t+1);return this.applyDelta({start npm ERR! ^ npm ERR! File: /root/.npm/jszip/3.1.5/package/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-12-23T18_01_40_031Z-debug.logkomme hier nichtmehr weiter
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden