NEWS
[gelöst] Kann auf einmal Node-Red nicht mehr installieren - Fehlermeldung
-
Ich hatte auf einmal Probleme mit Node-Red.
Deshalb wollte ich es deinstallieren (hat funktioniert) und neu installieren.
Die Neuinstallation funktioniert nicht mehr:
root@rasp1:/opt/iobroker# iobroker install node-red npm install iobroker.node-red --production --prefix "/opt/iobroker" (System call) npm WARN optional dep failed, continuing node-red-node-serialport@0.1.* npm ERR! Linux 4.1.19-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.node-red" "--production" "--prefix" "/opt/iobroker" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! file /root/.npm/node-red-node-feedparser/0.1.5/package/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! No data, empty input at 1:1 npm ERR! npm ERR! ^ npm ERR! File: /root/.npm/node-red-node-feedparser/0.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! Please include the following file with any support request: npm ERR! /opt/iobroker/npm-debug.log host.rasp1 Cannot install iobroker.node-red: 1 root@rasp1:/opt/iobroker#
Als einige Änderung zu der seit Wochen stabil laufenden Umgebung habe ich die neue Admin-Adapter Version eingespielt (0.8.6)
Kann das daran liegen - doch eigentlich nicht - oder?
Mir fällt nichts mehr ein. Wer kann helfen und hat eine Idee?
Grüße Thomas
-
@tom57:Ich hatte auf einmal Probleme mit Node-Red.
Deshalb wollte ich es deinstallieren (hat funktioniert) und neu installieren.
Die Neuinstallation funktioniert nicht mehr:
root@rasp1:/opt/iobroker# iobroker install node-red npm install iobroker.node-red --production --prefix "/opt/iobroker" (System call) npm WARN optional dep failed, continuing node-red-node-serialport@0.1.* npm ERR! Linux 4.1.19-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.node-red" "--production" "--prefix" "/opt/iobroker" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! file /root/.npm/node-red-node-feedparser/0.1.5/package/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! No data, empty input at 1:1 npm ERR! npm ERR! ^ npm ERR! File: /root/.npm/node-red-node-feedparser/0.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! Please include the following file with any support request: npm ERR! /opt/iobroker/npm-debug.log host.rasp1 Cannot install iobroker.node-red: 1 root@rasp1:/opt/iobroker#
Als einige Änderung zu der seit Wochen stabil laufenden Umgebung habe ich die neue Admin-Adapter Version eingespielt (0.8.6)
Kann das daran liegen - doch eigentlich nicht - oder?
Mir fällt nichts mehr ein. Wer kann helfen und hat eine Idee?
Grüße Thomas `
Probier einfach noch mal. -
Habs schon mehrfach versucht und sicherheitshalber node.js deinstalliert und neu installiert (0.12.6)
Der Fehler bleibt
-
@tom57:Habs schon mehrfach versucht und sicherheitshalber node.js deinstalliert un neu installiert (0.12.6)
Der Fehler bleibt
`
Cache löschen probiert?npm cache clean
-
super, das wars
Danke bluefox für die schnelle Hilfe.