NEWS
Amazon Dash-Button Adapter, Fehler beim Upgrade auf 0.2.1
-
Kurzes Feedback.
Upgrade Amazon Dash-Button Adapter von 0.1.2 auf 0.2.1 wird mit folgenden Fehlermeldungen abgebrochen:
! ````
$ ./iobroker upgrade amazon-dash
npm install iobroker.amazon-dash@0.2.1 --production --prefix "/opt/iobroker" (System call)
debconf: kann Oberfläche nicht initialisieren: Dialogdebconf: (Die Dialog-Oberfläche funktioniert nicht auf einem Dumb-Terminal, einem Emacs-Shellbuffer oder ohne ein steuerndes Terminal.)
debconf: greife zurück auf die Oberfläche: Readline
! debconf: kann Oberfläche nicht initialisieren: Readlinedebconf: (Diese Oberfläche bedarf eines steuernden Terminals.)
debconf: greife zurück auf die Oberfläche: Teletype
! dpkg-preconfigure: kann Stdin nicht wieder öffnen:
make: g++: Befehl nicht gefunden
make: *** [Release/obj.target/socketwatcher/socket_watcher.o] Fehler 127gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp
ERR!stack
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
gypERR!
System
Linux 4.4.0-78-generic
gypERR!
command
"/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gypERR!
cwd /opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/node_modules/socketwatchergyp ERR! node -v v4.8.3
gyp ERR!
node-gyp -v v3.4.0gyp ERR! not ok! npm ERR! Linux 4.4.0-78-genericnpm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash@0.2.1" "--production" "--prefix" "/opt/iobroker"
npm ERR! node v4.8.3
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
! npm ERR! socketwatcher@0.3.0 install:node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the socketwatcher package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs socketwatcher
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls socketwatcher
npm ERR! There is likely additional logging output above.
! npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
! ERROR: Cannot find io-package.json in /opt/iobroker/node_modules/iobroker.js-controller/adapter/amazon-dash
ERROR: process exited with code 10Ubuntu: 16.04 LTS Linux 4.4.0-78-generic node v4.8.3 npm v2.15.11
-
Kein Compiler da?!
make: g++: Befehl nicht gefunden
apt-get install build-essentials (Linux)