NEWS
Sonos Update 1.7.7 Problem
-
Hallo Community,
beim Versuch das Sonst Adapter 1.6.2 auf 1.7.7 upzudaten erhalte ich folgende Fehlermeldung:
` > $ ./iobroker upgrade sonos
Update sonos from @1.6.2 to @1.7.7
NPM version: 3.10.10
npm install iobroker.sonos@1.7.7 –production --save --prefix "/opt/iobroker" (System call)
npm
ERR! Linux 4.14.71-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.sonos@1.7.7" "--production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node v6.13.1
npm ERR! npm v3.10.10
npm ERR! file /root/.npm/async/2.6.1/package/package.json
npm ERR! code EJSONPARSE
npm
ERR! Failed to parse jsonnpm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /root/.npm/async/2.6.1/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! /npm-debug.log
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.sonos"
npm ERR! Linux 4.14.71-v7+
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--production"npm ERR! node v6.13.1
npm ERR! npm v3.10.10
npm ERR! file /root/.npm/async/2.6.1/package/package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse jsonnpm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /root/.npm/async/2.6.1/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/node_modules/iobroker.sonos/npm-debug.log
Cannot install iobroker.sonos: 1
ERROR: process exited with code 25 `
Meine node und nodejs Version ist 6.13.1, npm hat die Version 3.10.10
Im Forum finde ich keinen mit einem Update Problem mit dem Sonos Adapter 1.7.7 - also liegt der Fehler bei mir. Aber wo?
Gruß aus der Eifel
Eugen
-
Leider komme ich hier nicht voran.
Ich habe NPM auf 4.6 gebracht und zwischenzeitlich einige andere Adapter sowohl 'geupdated' als auch neu installiert, das Sonos Update will mir aber noch immer nicht gelingen. Bin für jede Idee dankbar:
` > $ ./iobroker upgrade sonos
Update sonos from @1.6.2 to @1.7.7
NPM version: 4.6.1
npm install iobroker.sonos@1.7.7 –production --save --prefix "/opt/iobroker" (System call)
npm
ERR! unpack Could not read data for async@2.6.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! file /root/.npm/async/2.6.1/package/package.jsonnpm 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/async/2.6.1/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-05T10_59_44_248Z-debug.log
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.sonos"
npm
ERR! unpack Could not read data for async@2.6.1
npm ERR!
file /root/.npm/async/2.6.1/package/package.jsonnpm ERR! code EJSONPARSE
npm ERR! Failed to parse jsonnpm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /root/.npm/async/2.6.1/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-05T11_00_21_847Z-debug.log
Cannot install iobroker.sonos: 1
ERROR: process exited with code 25 `
Gruß
Eugen