NEWS
Iobroker simple web Adapter probleme beim installieren
-
Möchte gerade meine iobroker von bananapi auf eine Windows 8.1 Plattform umziehen.
Installation ist soweit gut gegangen, doch lässt sich der iobroker simple WEB nicht installieren und den benötige ich doch für VIS.
Die Installation bring immer mit der Meldung WARN deprecated object-keys@0.2.0: Please update to the latest object-keys ab.
Egal ob allein installieren oder ob der zusammen mit VIS installiert wird, immer der gleiche Fehler ab.
Hat mit jemand nen Tipp was ich da updaten muss? deprecated object-keys@0.2.0 sagt mir nichts.
iobroker 2015-06-21 14:48:52 info exit 25 iobroker 2015-06-21 14:48:52 info Cannot install iobroker.web: 1 iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info npm ERR! Please include the following file with any support request:npm ERR! C:\npm-debug.log iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info ERR! iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info npm ERR! If you need help, you may report this error at: iobroker 2015-06-21 14:48:52 info ERR! Uncaught, unspecified "error" event.npm ERR! iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info ERR! npm v2.7.4 iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info node v0.12.2 iobroker 2015-06-21 14:48:52 info ERR! iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info ERR! Windows_NT 6.3.9600npm ERR! argv "C:\\ioBroker\\\\node.exe" "C:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.web" "--production" "--prefix" "C:/ioBroker" iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info npm ERR! Tell the package author to fix their package.json file. JSON.parse iobroker 2015-06-21 14:48:52 info npm ERR! This is not a bug in npm. iobroker 2015-06-21 14:48:52 info package.json must be actual JSON, not just JavaScript.npm ERR! iobroker 2015-06-21 14:48:52 info Failed to parse package.json data.npm ERR! iobroker 2015-06-21 14:48:52 info ERR! iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info File: C:\Users\Friedhelm\AppData\Roaming\npm-cache\type-is\1.3.2\package\package.json iobroker 2015-06-21 14:48:52 info ERR! iobroker 2015-06-21 14:48:52 info ERR! ^npm iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info npm ERR! iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info npm ERR! Failed to parse jsonnpm ERR! No data, empty input at 1:1 iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info code EJSONPARSE iobroker 2015-06-21 14:48:52 info ERR! iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info ERR! file C:\Users\Friedhelm\AppData\Roaming\npm-cache\type-is\1.3.2\package\package.json iobroker 2015-06-21 14:48:52 info v2.7.4npm iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info npm ERR! iobroker 2015-06-21 14:48:52 info ERR! node v0.12.2 iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:52 info iobroker 2015-06-21 14:48:52 info ERR! Windows_NT 6.3.9600npm ERR! argv "C:\\ioBroker\\\\node.exe" "C:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.web" "--production" "--prefix" "C:/ioBroker" iobroker 2015-06-21 14:48:52 info npm iobroker 2015-06-21 14:48:44 info WARN deprecated object-keys@0.2.0: Please update to the latest object-keys iobroker 2015-06-21 14:48:44 info npm iobroker 2015-06-21 14:48:31 info npm install iobroker.web --production --prefix "C:/ioBroker" (System call) iobroker 2015-06-21 14:48:30 info add web
-
Schreib bitte
npm cache clean
Und dann in c:/Program Files/iobroker/
npm install iobroker.web npm add web
-
supper, jetzt ist zumindest der Adapter mal drauf. Wenn ich VIS starten möchte kommt folgende meldung
Error: Bad Request at SendStream.error (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\node_modules\send\index.js:245:16) at SendStream.pipe (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\node_modules\send\index.js:417:32) at serveStatic (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\node_modules\serve-static\index.js:111:12) at Layer.handle [as handle_request] (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\router\layer.js:82:5) at trim_prefix (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\router\index.js:302:13) at C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\router\index.js:270:7 at Function.proto.process_params (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\router\index.js:321:12) at next (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\router\index.js:261:10) at expressInit (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\middleware\init.js:23:5) at Layer.handle [as handle_request] (C:\ioBroker\node_modules\iobroker.admin\node_modules\express\lib\router\layer.js:82:5)
Jetzt mal VIS nochmals komplett runter und neu drauf.
-
Jetzt ist es installiert doch beim Starten von VIS kommt folgendes im LOG
Server 2015-06-21 19:15:37 info host.Server Restart adapter system.adapter.web.0 because enabled Server 2015-06-21 19:15:37 error host.Server instance system.adapter.web.0 terminated with code 6 (uncaught exception) Server 2015-06-21 19:15:37 info host.Server Restart adapter system.adapter.web.0 because enabled Server 2015-06-21 19:15:37 error host.Server instance system.adapter.web.0 terminated with code 6 (uncaught exception) Server 2015-06-21 19:15:35 info host.Server instance system.adapter.web.0 started with pid 2780