Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst] Adapterinstallation - node gyp error

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.6k

[gelöst] Adapterinstallation - node gyp error

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
node-pre-gyp erradapter installationinstallation
47 Beiträge 6 Kommentatoren 6.1k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Sundance

    @Glasfaser - dein Vorschlag hat soweit erstmal super funktioniert, ich habe jetzt folgende Versionen:

    Node v10.16.2
    NPM 6.9.0

    Allerdings habe ich jetzt wieder ein anderes Problem, nämlich mit dem Zigbee Adapter:

    error: Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:88
    error: Caught by controller[0]: throw e
    error: Caught by controller[0]: ^
    error: Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
    error: Caught by controller[0]: was compiled against a different Node.js version using
    error: Caught by controller[0]: NODE_MODULE_VERSION 67. This version of Node.js requires
    error: Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
    error: Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
    error: Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    error: Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
    error: Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    error: Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    error: Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
    error: Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
    error: Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:81:44)
    error: Caught by controller[0]: at Object. (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:1:36)
    error: Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
    error: Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    error: host.HOME instance system.adapter.zigbee.0 terminated with code 1 ()
    

    das war eigentlich mal behoben, ist jetzt aber wieder da.. hat wohl offenbar mit dem Serialport zu tun. Hast du da zufällig auch eine Idee?

    Danke und beste Grüße

    Sundance

    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    schrieb am zuletzt editiert von Glasfaser
    #12

    @Sundance

    Versuch mal :

    npm rebuild

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    S 1 Antwort Letzte Antwort
    0
    • GlasfaserG Glasfaser

      @Sundance

      Versuch mal :

      npm rebuild

      S Offline
      S Offline
      Sundance
      schrieb am zuletzt editiert von
      #13

      @Glasfaser - das Serialport Problem konnte ich mit deinem ersten Vorschlag jetzt lösen. Allerdings ist das ursprüngliche problem, nämlich die iobroker.roomba Adapterinstallation leider immernoch ein Problem.. ich bekomme die gleiche Fehlermeldung:

      pi@HOME:~ $ iobroker install iobroker.roomba
      NPM version: 6.9.0
      npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
      node-pre-gyp WARN Using request for node-pre-gyp https download 
      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
      node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
      ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
      ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         E(ptr - data > imgdOffset, "image data overlaps with another structure");
           ~~~~~~~~~~~^~~
      ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
       #define E(cond, msg) if(cond) return setErr(msg)
                               ^~~~
      ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         E(ptr - data + imgdSize > len, "not enough image data");
           ~~~~~~~~~~~~~~~~~~~~~~^~~
      ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
       #define E(cond, msg) if(cond) return setErr(msg)
                               ^~~~
      ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
      ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
         double current_scale_x = abs(transforms[1]);
                                                   ^
      In file included from /usr/include/c++/6/cstdlib:75:0,
                       from /usr/include/c++/6/ext/string_conversions.h:41,
                       from /usr/include/c++/6/bits/basic_string.h:5417,
                       from /usr/include/c++/6/string:52,
                       from /usr/include/c++/6/stdexcept:39,
                       from /usr/include/c++/6/array:39,
                       from /usr/include/c++/6/tuple:39,
                       from /usr/include/c++/6/functional:55,
                       from /usr/include/c++/6/memory:79,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/backend/Backend.h:6,
                       from ../src/Canvas.h:5,
                       from ../src/CanvasRenderingContext2d.h:6,
                       from ../src/CanvasRenderingContext2d.cc:3:
      /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
       extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                  ^~~
      In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                       from /usr/include/c++/6/bits/basic_string.h:5417,
                       from /usr/include/c++/6/string:52,
                       from /usr/include/c++/6/stdexcept:39,
                       from /usr/include/c++/6/array:39,
                       from /usr/include/c++/6/tuple:39,
                       from /usr/include/c++/6/functional:55,
                       from /usr/include/c++/6/memory:79,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/backend/Backend.h:6,
                       from ../src/Canvas.h:5,
                       from ../src/CanvasRenderingContext2d.h:6,
                       from ../src/CanvasRenderingContext2d.cc:3:
      /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
         abs(long long __x) { return __builtin_llabs (__x); }
         ^~~
      /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
         abs(long __i) { return __builtin_labs(__i); }
         ^~~
      ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
         double current_scale_y = abs(transforms[2]);
                                                   ^
      In file included from /usr/include/c++/6/cstdlib:75:0,
                       from /usr/include/c++/6/ext/string_conversions.h:41,
                       from /usr/include/c++/6/bits/basic_string.h:5417,
                       from /usr/include/c++/6/string:52,
                       from /usr/include/c++/6/stdexcept:39,
                       from /usr/include/c++/6/array:39,
                       from /usr/include/c++/6/tuple:39,
                       from /usr/include/c++/6/functional:55,
                       from /usr/include/c++/6/memory:79,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/backend/Backend.h:6,
                       from ../src/Canvas.h:5,
                       from ../src/CanvasRenderingContext2d.h:6,
                       from ../src/CanvasRenderingContext2d.cc:3:
      /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
       extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                  ^~~
      In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                       from /usr/include/c++/6/bits/basic_string.h:5417,
                       from /usr/include/c++/6/string:52,
                       from /usr/include/c++/6/stdexcept:39,
                       from /usr/include/c++/6/array:39,
                       from /usr/include/c++/6/tuple:39,
                       from /usr/include/c++/6/functional:55,
                       from /usr/include/c++/6/memory:79,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/backend/Backend.h:6,
                       from ../src/Canvas.h:5,
                       from ../src/CanvasRenderingContext2d.h:6,
                       from ../src/CanvasRenderingContext2d.cc:3:
      /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
         abs(long long __x) { return __builtin_llabs (__x); }
         ^~~
      /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
         abs(long __i) { return __builtin_labs(__i); }
         ^~~
      make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
      gyp 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:262:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.19.57-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
      gyp ERR! cwd /opt/iobroker/node_modules/canvas
      gyp ERR! node -v v10.16.2
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      node-pre-gyp ERR! build error 
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      node-pre-gyp ERR! System Linux 4.19.57-v7+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
      node-pre-gyp ERR! node -v v10.16.2
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok 
      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the canvas@2.5.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T10_20_42_621Z-debug.log
      host.HOME Adapter directory "null" does not exists
      Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
      

      Kann ich die canvas Installation irgendwie manuell machen, damit sich der Installer nicht daran aufhängt? Oder ist die Wurzel des Problems woanders?

      Danke nochmal für deine Hilfe..

      Beste Grüße

      sundance

      GlasfaserG 1 Antwort Letzte Antwort
      0
      • S Sundance

        @Glasfaser - das Serialport Problem konnte ich mit deinem ersten Vorschlag jetzt lösen. Allerdings ist das ursprüngliche problem, nämlich die iobroker.roomba Adapterinstallation leider immernoch ein Problem.. ich bekomme die gleiche Fehlermeldung:

        pi@HOME:~ $ iobroker install iobroker.roomba
        NPM version: 6.9.0
        npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
        node-pre-gyp WARN Using request for node-pre-gyp https download 
        node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
        node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
        ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
        ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           E(ptr - data > imgdOffset, "image data overlaps with another structure");
             ~~~~~~~~~~~^~~
        ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
         #define E(cond, msg) if(cond) return setErr(msg)
                                 ^~~~
        ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           E(ptr - data + imgdSize > len, "not enough image data");
             ~~~~~~~~~~~~~~~~~~~~~~^~~
        ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
         #define E(cond, msg) if(cond) return setErr(msg)
                                 ^~~~
        ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
        ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
           double current_scale_x = abs(transforms[1]);
                                                     ^
        In file included from /usr/include/c++/6/cstdlib:75:0,
                         from /usr/include/c++/6/ext/string_conversions.h:41,
                         from /usr/include/c++/6/bits/basic_string.h:5417,
                         from /usr/include/c++/6/string:52,
                         from /usr/include/c++/6/stdexcept:39,
                         from /usr/include/c++/6/array:39,
                         from /usr/include/c++/6/tuple:39,
                         from /usr/include/c++/6/functional:55,
                         from /usr/include/c++/6/memory:79,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                         from ../../nan/nan.h:54,
                         from ../src/backend/Backend.h:6,
                         from ../src/Canvas.h:5,
                         from ../src/CanvasRenderingContext2d.h:6,
                         from ../src/CanvasRenderingContext2d.cc:3:
        /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
         extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                    ^~~
        In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                         from /usr/include/c++/6/bits/basic_string.h:5417,
                         from /usr/include/c++/6/string:52,
                         from /usr/include/c++/6/stdexcept:39,
                         from /usr/include/c++/6/array:39,
                         from /usr/include/c++/6/tuple:39,
                         from /usr/include/c++/6/functional:55,
                         from /usr/include/c++/6/memory:79,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                         from ../../nan/nan.h:54,
                         from ../src/backend/Backend.h:6,
                         from ../src/Canvas.h:5,
                         from ../src/CanvasRenderingContext2d.h:6,
                         from ../src/CanvasRenderingContext2d.cc:3:
        /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
           abs(long long __x) { return __builtin_llabs (__x); }
           ^~~
        /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
           abs(long __i) { return __builtin_labs(__i); }
           ^~~
        ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
           double current_scale_y = abs(transforms[2]);
                                                     ^
        In file included from /usr/include/c++/6/cstdlib:75:0,
                         from /usr/include/c++/6/ext/string_conversions.h:41,
                         from /usr/include/c++/6/bits/basic_string.h:5417,
                         from /usr/include/c++/6/string:52,
                         from /usr/include/c++/6/stdexcept:39,
                         from /usr/include/c++/6/array:39,
                         from /usr/include/c++/6/tuple:39,
                         from /usr/include/c++/6/functional:55,
                         from /usr/include/c++/6/memory:79,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                         from ../../nan/nan.h:54,
                         from ../src/backend/Backend.h:6,
                         from ../src/Canvas.h:5,
                         from ../src/CanvasRenderingContext2d.h:6,
                         from ../src/CanvasRenderingContext2d.cc:3:
        /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
         extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                    ^~~
        In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                         from /usr/include/c++/6/bits/basic_string.h:5417,
                         from /usr/include/c++/6/string:52,
                         from /usr/include/c++/6/stdexcept:39,
                         from /usr/include/c++/6/array:39,
                         from /usr/include/c++/6/tuple:39,
                         from /usr/include/c++/6/functional:55,
                         from /usr/include/c++/6/memory:79,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                         from ../../nan/nan.h:54,
                         from ../src/backend/Backend.h:6,
                         from ../src/Canvas.h:5,
                         from ../src/CanvasRenderingContext2d.h:6,
                         from ../src/CanvasRenderingContext2d.cc:3:
        /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
           abs(long long __x) { return __builtin_llabs (__x); }
           ^~~
        /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
           abs(long __i) { return __builtin_labs(__i); }
           ^~~
        make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
        gyp 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:262:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
        gyp ERR! System Linux 4.19.57-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
        gyp ERR! cwd /opt/iobroker/node_modules/canvas
        gyp ERR! node -v v10.16.2
        gyp ERR! node-gyp -v v3.8.0
        gyp ERR! not ok 
        node-pre-gyp ERR! build error 
        node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
        node-pre-gyp ERR! System Linux 4.19.57-v7+
        node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
        node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
        node-pre-gyp ERR! node -v v10.16.2
        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
        node-pre-gyp ERR! not ok 
        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
        npm ERR! Exit status 1
        npm ERR! 
        npm ERR! Failed at the canvas@2.5.0 install script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T10_20_42_621Z-debug.log
        host.HOME Adapter directory "null" does not exists
        Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
        

        Kann ich die canvas Installation irgendwie manuell machen, damit sich der Installer nicht daran aufhängt? Oder ist die Wurzel des Problems woanders?

        Danke nochmal für deine Hilfe..

        Beste Grüße

        sundance

        GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        schrieb am zuletzt editiert von
        #14

        @Sundance

        Welche Versin von Js-controller hast du ?

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        S 1 Antwort Letzte Antwort
        0
        • GlasfaserG Glasfaser

          @Sundance

          Welche Versin von Js-controller hast du ?

          S Offline
          S Offline
          Sundance
          schrieb am zuletzt editiert von
          #15

          @Glasfaser ich habe aktuell die 1.5.14 installiert.

          GlasfaserG 1 Antwort Letzte Antwort
          0
          • S Sundance

            @Glasfaser ich habe aktuell die 1.5.14 installiert.

            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            schrieb am zuletzt editiert von
            #16

            @Sundance

            Wie sieht es hiermit aus

            Installationsanweisungen folgen !!!

            Link Text

            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

            S 1 Antwort Letzte Antwort
            0
            • GlasfaserG Glasfaser

              @Sundance

              Wie sieht es hiermit aus

              Installationsanweisungen folgen !!!

              Link Text

              S Offline
              S Offline
              Sundance
              schrieb am zuletzt editiert von
              #17

              @Glasfaser Ja, das hatte ich schon probiert vorhin.. ironischerweise kommen bei der Canvas installation gemäß dem Befehl aus der Installationsanleitung die gleichen Fehler (zumindest auf den ersten Blick):

              root@HOME:~# cd /opt/iobroker
              root@HOME:/opt/iobroker# sudo npm install canvas --unsafe-perm=true
              
              > canvas@2.5.0 install /opt/iobroker/node_modules/canvas
              > node-pre-gyp install --fallback-to-build
              
              node-pre-gyp WARN Using request for node-pre-gyp https download 
              node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
              node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
              make: Entering directory '/opt/iobroker/node_modules/canvas/build'
                SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                COPY Release/canvas-postbuild.node
                CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
                CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
              ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
              ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 E(ptr - data > imgdOffset, "image data overlaps with another structure");
                   ~~~~~~~~~~~^~~
              ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
               #define E(cond, msg) if(cond) return setErr(msg)
                                       ^~~~
              ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 E(ptr - data + imgdSize > len, "not enough image data");
                   ~~~~~~~~~~~~~~~~~~~~~~^~~
              ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
               #define E(cond, msg) if(cond) return setErr(msg)
                                       ^~~~
                CXX(target) Release/obj.target/canvas/src/Backends.o
                CXX(target) Release/obj.target/canvas/src/Canvas.o
                CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
                CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
                CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
              ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
              ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                 double current_scale_x = abs(transforms[1]);
                                                           ^
              In file included from /usr/include/c++/6/cstdlib:75:0,
                               from /usr/include/c++/6/ext/string_conversions.h:41,
                               from /usr/include/c++/6/bits/basic_string.h:5417,
                               from /usr/include/c++/6/string:52,
                               from /usr/include/c++/6/stdexcept:39,
                               from /usr/include/c++/6/array:39,
                               from /usr/include/c++/6/tuple:39,
                               from /usr/include/c++/6/functional:55,
                               from /usr/include/c++/6/memory:79,
                               from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                               from /root/.node-gyp/10.16.2/include/node/node.h:63,
                               from ../../nan/nan.h:54,
                               from ../src/backend/Backend.h:6,
                               from ../src/Canvas.h:5,
                               from ../src/CanvasRenderingContext2d.h:6,
                               from ../src/CanvasRenderingContext2d.cc:3:
              /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
               extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                          ^~~
              In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                               from /usr/include/c++/6/bits/basic_string.h:5417,
                               from /usr/include/c++/6/string:52,
                               from /usr/include/c++/6/stdexcept:39,
                               from /usr/include/c++/6/array:39,
                               from /usr/include/c++/6/tuple:39,
                               from /usr/include/c++/6/functional:55,
                               from /usr/include/c++/6/memory:79,
                               from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                               from /root/.node-gyp/10.16.2/include/node/node.h:63,
                               from ../../nan/nan.h:54,
                               from ../src/backend/Backend.h:6,
                               from ../src/Canvas.h:5,
                               from ../src/CanvasRenderingContext2d.h:6,
                               from ../src/CanvasRenderingContext2d.cc:3:
              /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                 abs(long long __x) { return __builtin_llabs (__x); }
                 ^~~
              /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                 abs(long __i) { return __builtin_labs(__i); }
                 ^~~
              ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                 double current_scale_y = abs(transforms[2]);
                                                           ^
              In file included from /usr/include/c++/6/cstdlib:75:0,
                               from /usr/include/c++/6/ext/string_conversions.h:41,
                               from /usr/include/c++/6/bits/basic_string.h:5417,
                               from /usr/include/c++/6/string:52,
                               from /usr/include/c++/6/stdexcept:39,
                               from /usr/include/c++/6/array:39,
                               from /usr/include/c++/6/tuple:39,
                               from /usr/include/c++/6/functional:55,
                               from /usr/include/c++/6/memory:79,
                               from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                               from /root/.node-gyp/10.16.2/include/node/node.h:63,
                               from ../../nan/nan.h:54,
                               from ../src/backend/Backend.h:6,
                               from ../src/Canvas.h:5,
                               from ../src/CanvasRenderingContext2d.h:6,
                               from ../src/CanvasRenderingContext2d.cc:3:
              /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
               extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                          ^~~
              In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                               from /usr/include/c++/6/bits/basic_string.h:5417,
                               from /usr/include/c++/6/string:52,
                               from /usr/include/c++/6/stdexcept:39,
                               from /usr/include/c++/6/array:39,
                               from /usr/include/c++/6/tuple:39,
                               from /usr/include/c++/6/functional:55,
                               from /usr/include/c++/6/memory:79,
                               from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                               from /root/.node-gyp/10.16.2/include/node/node.h:63,
                               from ../../nan/nan.h:54,
                               from ../src/backend/Backend.h:6,
                               from ../src/Canvas.h:5,
                               from ../src/CanvasRenderingContext2d.h:6,
                               from ../src/CanvasRenderingContext2d.cc:3:
              /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                 abs(long long __x) { return __builtin_llabs (__x); }
                 ^~~
              /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                 abs(long __i) { return __builtin_labs(__i); }
                 ^~~
              canvas.target.mk:138: recipe for target 'Release/obj.target/canvas/src/CanvasRenderingContext2d.o' failed
              make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
              make: Leaving directory '/opt/iobroker/node_modules/canvas/build'
              gyp 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:262:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
              gyp ERR! System Linux 4.19.57-v7+
              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
              gyp ERR! cwd /opt/iobroker/node_modules/canvas
              gyp ERR! node -v v10.16.2
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok 
              node-pre-gyp ERR! build error 
              node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
              node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
              node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
              node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
              node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
              node-pre-gyp ERR! System Linux 4.19.57-v7+
              node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
              node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
              node-pre-gyp ERR! node -v v10.16.2
              node-pre-gyp ERR! node-pre-gyp -v v0.11.0
              node-pre-gyp ERR! not ok 
              Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
              npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
              
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
              npm ERR! Exit status 1
              npm ERR! 
              npm ERR! Failed at the canvas@2.5.0 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /root/.npm/_logs/2019-08-08T11_38_50_244Z-debug.log
              

              Allerdings steht in der Anleitung auch, dass man Canvas in den iobroker.roomba Ordner erstellen soll. Der existiert aber bei mir (noch) nicht, zumindest nicht in /opt/iobroker/node_modules/ - oder muss der woanders hin? Muss ich den vorher händisch erstellen, oder bringt das nix?

              Sorry, ich bin lost :D Danke für deine Geduld

              Beste Grüße

              Florian

              GlasfaserG 1 Antwort Letzte Antwort
              0
              • S Sundance

                @Glasfaser Ja, das hatte ich schon probiert vorhin.. ironischerweise kommen bei der Canvas installation gemäß dem Befehl aus der Installationsanleitung die gleichen Fehler (zumindest auf den ersten Blick):

                root@HOME:~# cd /opt/iobroker
                root@HOME:/opt/iobroker# sudo npm install canvas --unsafe-perm=true
                
                > canvas@2.5.0 install /opt/iobroker/node_modules/canvas
                > node-pre-gyp install --fallback-to-build
                
                node-pre-gyp WARN Using request for node-pre-gyp https download 
                node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                make: Entering directory '/opt/iobroker/node_modules/canvas/build'
                  SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                  COPY Release/canvas-postbuild.node
                  CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                  CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                  CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                  CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
                  CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
                ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                   E(ptr - data > imgdOffset, "image data overlaps with another structure");
                     ~~~~~~~~~~~^~~
                ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                 #define E(cond, msg) if(cond) return setErr(msg)
                                         ^~~~
                ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                   E(ptr - data + imgdSize > len, "not enough image data");
                     ~~~~~~~~~~~~~~~~~~~~~~^~~
                ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                 #define E(cond, msg) if(cond) return setErr(msg)
                                         ^~~~
                  CXX(target) Release/obj.target/canvas/src/Backends.o
                  CXX(target) Release/obj.target/canvas/src/Canvas.o
                  CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
                  CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
                  CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
                ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                   double current_scale_x = abs(transforms[1]);
                                                             ^
                In file included from /usr/include/c++/6/cstdlib:75:0,
                                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                 from /usr/include/c++/6/bits/basic_string.h:5417,
                                 from /usr/include/c++/6/string:52,
                                 from /usr/include/c++/6/stdexcept:39,
                                 from /usr/include/c++/6/array:39,
                                 from /usr/include/c++/6/tuple:39,
                                 from /usr/include/c++/6/functional:55,
                                 from /usr/include/c++/6/memory:79,
                                 from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                 from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                 from ../../nan/nan.h:54,
                                 from ../src/backend/Backend.h:6,
                                 from ../src/Canvas.h:5,
                                 from ../src/CanvasRenderingContext2d.h:6,
                                 from ../src/CanvasRenderingContext2d.cc:3:
                /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                            ^~~
                In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                 from /usr/include/c++/6/bits/basic_string.h:5417,
                                 from /usr/include/c++/6/string:52,
                                 from /usr/include/c++/6/stdexcept:39,
                                 from /usr/include/c++/6/array:39,
                                 from /usr/include/c++/6/tuple:39,
                                 from /usr/include/c++/6/functional:55,
                                 from /usr/include/c++/6/memory:79,
                                 from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                 from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                 from ../../nan/nan.h:54,
                                 from ../src/backend/Backend.h:6,
                                 from ../src/Canvas.h:5,
                                 from ../src/CanvasRenderingContext2d.h:6,
                                 from ../src/CanvasRenderingContext2d.cc:3:
                /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                   abs(long long __x) { return __builtin_llabs (__x); }
                   ^~~
                /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                   abs(long __i) { return __builtin_labs(__i); }
                   ^~~
                ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                   double current_scale_y = abs(transforms[2]);
                                                             ^
                In file included from /usr/include/c++/6/cstdlib:75:0,
                                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                 from /usr/include/c++/6/bits/basic_string.h:5417,
                                 from /usr/include/c++/6/string:52,
                                 from /usr/include/c++/6/stdexcept:39,
                                 from /usr/include/c++/6/array:39,
                                 from /usr/include/c++/6/tuple:39,
                                 from /usr/include/c++/6/functional:55,
                                 from /usr/include/c++/6/memory:79,
                                 from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                 from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                 from ../../nan/nan.h:54,
                                 from ../src/backend/Backend.h:6,
                                 from ../src/Canvas.h:5,
                                 from ../src/CanvasRenderingContext2d.h:6,
                                 from ../src/CanvasRenderingContext2d.cc:3:
                /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                            ^~~
                In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                 from /usr/include/c++/6/bits/basic_string.h:5417,
                                 from /usr/include/c++/6/string:52,
                                 from /usr/include/c++/6/stdexcept:39,
                                 from /usr/include/c++/6/array:39,
                                 from /usr/include/c++/6/tuple:39,
                                 from /usr/include/c++/6/functional:55,
                                 from /usr/include/c++/6/memory:79,
                                 from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                 from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                 from ../../nan/nan.h:54,
                                 from ../src/backend/Backend.h:6,
                                 from ../src/Canvas.h:5,
                                 from ../src/CanvasRenderingContext2d.h:6,
                                 from ../src/CanvasRenderingContext2d.cc:3:
                /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                   abs(long long __x) { return __builtin_llabs (__x); }
                   ^~~
                /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                   abs(long __i) { return __builtin_labs(__i); }
                   ^~~
                canvas.target.mk:138: recipe for target 'Release/obj.target/canvas/src/CanvasRenderingContext2d.o' failed
                make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                make: Leaving directory '/opt/iobroker/node_modules/canvas/build'
                gyp 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:262:23)
                gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.19.57-v7+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                gyp ERR! cwd /opt/iobroker/node_modules/canvas
                gyp ERR! node -v v10.16.2
                gyp ERR! node-gyp -v v3.8.0
                gyp ERR! not ok 
                node-pre-gyp ERR! build error 
                node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                node-pre-gyp ERR! System Linux 4.19.57-v7+
                node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                node-pre-gyp ERR! node -v v10.16.2
                node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                node-pre-gyp ERR! not ok 
                Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                npm ERR! Exit status 1
                npm ERR! 
                npm ERR! Failed at the canvas@2.5.0 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2019-08-08T11_38_50_244Z-debug.log
                

                Allerdings steht in der Anleitung auch, dass man Canvas in den iobroker.roomba Ordner erstellen soll. Der existiert aber bei mir (noch) nicht, zumindest nicht in /opt/iobroker/node_modules/ - oder muss der woanders hin? Muss ich den vorher händisch erstellen, oder bringt das nix?

                Sorry, ich bin lost :D Danke für deine Geduld

                Beste Grüße

                Florian

                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                schrieb am zuletzt editiert von Glasfaser
                #18

                @Sundance

                Hast Du eingentlich schon mal wieder versucht roomba über die Konsole ganz normal zu installieren !?

                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                S 1 Antwort Letzte Antwort
                0
                • GlasfaserG Glasfaser

                  @Sundance

                  Hast Du eingentlich schon mal wieder versucht roomba über die Konsole ganz normal zu installieren !?

                  S Offline
                  S Offline
                  Sundance
                  schrieb am zuletzt editiert von
                  #19

                  @Glasfaser Ja, habe es grade nochmal probiert.. aber die Fehler bleiben leider bestehen. Die Canvas Installation schlägt nachwievor fehl.. manuell installiert bekomme ich sie auch nicht.

                  Ich habe grade nochmal die Verzeichnisberechtigungen "bereinigt", aber es hat leider nicht geholfen.

                  Hast du noch eine Idee? In meinem letzten Installations-log Scheint es auch Probleme zu geben, einfache Ordner zu erstellen:

                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.16.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
                  gyp ERR! configure error 
                  gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/build'
                  gyp ERR! System Linux 4.19.57-v7+
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                  
                  

                  Es hilft nicht, diese Ordner händisch zu erstellen, oder?

                  sigi234S 1 Antwort Letzte Antwort
                  0
                  • S Sundance

                    @Glasfaser Ja, habe es grade nochmal probiert.. aber die Fehler bleiben leider bestehen. Die Canvas Installation schlägt nachwievor fehl.. manuell installiert bekomme ich sie auch nicht.

                    Ich habe grade nochmal die Verzeichnisberechtigungen "bereinigt", aber es hat leider nicht geholfen.

                    Hast du noch eine Idee? In meinem letzten Installations-log Scheint es auch Probleme zu geben, einfache Ordner zu erstellen:

                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/10.16.2"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
                    gyp ERR! configure error 
                    gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/build'
                    gyp ERR! System Linux 4.19.57-v7+
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                    
                    

                    Es hilft nicht, diese Ordner händisch zu erstellen, oder?

                    sigi234S Online
                    sigi234S Online
                    sigi234
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #20

                    @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                    EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/build'

                    einfach mal den Installations-Fixer anwenden: curl -sL https://iobroker.net/fix.sh | bash -

                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Immer Daten sichern!

                    S 1 Antwort Letzte Antwort
                    0
                    • sigi234S sigi234

                      @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                      EACCES: permission denied, mkdir '/opt/iobroker/node_modules/canvas/build'

                      einfach mal den Installations-Fixer anwenden: curl -sL https://iobroker.net/fix.sh | bash -

                      S Offline
                      S Offline
                      Sundance
                      schrieb am zuletzt editiert von
                      #21

                      @sigi234 Danke, Das hat das "permission denied" Problem behoben - aber den Rest leider nicht..

                      root@HOME:/opt/iobroker# iobroker install iobroker.roomba
                      NPM version: 6.9.0
                      npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                      node-pre-gyp WARN Using request for node-pre-gyp https download 
                      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                      node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                      ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                      ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         E(ptr - data > imgdOffset, "image data overlaps with another structure");
                           ~~~~~~~~~~~^~~
                      ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                       #define E(cond, msg) if(cond) return setErr(msg)
                                               ^~~~
                      ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         E(ptr - data + imgdSize > len, "not enough image data");
                           ~~~~~~~~~~~~~~~~~~~~~~^~~
                      ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                       #define E(cond, msg) if(cond) return setErr(msg)
                                               ^~~~
                      ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                      ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                         double current_scale_x = abs(transforms[1]);
                                                                   ^
                      In file included from /usr/include/c++/6/cstdlib:75:0,
                                       from /usr/include/c++/6/ext/string_conversions.h:41,
                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                       from /usr/include/c++/6/string:52,
                                       from /usr/include/c++/6/stdexcept:39,
                                       from /usr/include/c++/6/array:39,
                                       from /usr/include/c++/6/tuple:39,
                                       from /usr/include/c++/6/functional:55,
                                       from /usr/include/c++/6/memory:79,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/backend/Backend.h:6,
                                       from ../src/Canvas.h:5,
                                       from ../src/CanvasRenderingContext2d.h:6,
                                       from ../src/CanvasRenderingContext2d.cc:3:
                      /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                       extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                  ^~~
                      In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                       from /usr/include/c++/6/string:52,
                                       from /usr/include/c++/6/stdexcept:39,
                                       from /usr/include/c++/6/array:39,
                                       from /usr/include/c++/6/tuple:39,
                                       from /usr/include/c++/6/functional:55,
                                       from /usr/include/c++/6/memory:79,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/backend/Backend.h:6,
                                       from ../src/Canvas.h:5,
                                       from ../src/CanvasRenderingContext2d.h:6,
                                       from ../src/CanvasRenderingContext2d.cc:3:
                      /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                         abs(long long __x) { return __builtin_llabs (__x); }
                         ^~~
                      /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                         abs(long __i) { return __builtin_labs(__i); }
                         ^~~
                      ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                         double current_scale_y = abs(transforms[2]);
                                                                   ^
                      In file included from /usr/include/c++/6/cstdlib:75:0,
                                       from /usr/include/c++/6/ext/string_conversions.h:41,
                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                       from /usr/include/c++/6/string:52,
                                       from /usr/include/c++/6/stdexcept:39,
                                       from /usr/include/c++/6/array:39,
                                       from /usr/include/c++/6/tuple:39,
                                       from /usr/include/c++/6/functional:55,
                                       from /usr/include/c++/6/memory:79,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/backend/Backend.h:6,
                                       from ../src/Canvas.h:5,
                                       from ../src/CanvasRenderingContext2d.h:6,
                                       from ../src/CanvasRenderingContext2d.cc:3:
                      /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                       extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                  ^~~
                      In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                       from /usr/include/c++/6/string:52,
                                       from /usr/include/c++/6/stdexcept:39,
                                       from /usr/include/c++/6/array:39,
                                       from /usr/include/c++/6/tuple:39,
                                       from /usr/include/c++/6/functional:55,
                                       from /usr/include/c++/6/memory:79,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                       from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                       from ../../nan/nan.h:54,
                                       from ../src/backend/Backend.h:6,
                                       from ../src/Canvas.h:5,
                                       from ../src/CanvasRenderingContext2d.h:6,
                                       from ../src/CanvasRenderingContext2d.cc:3:
                      /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                         abs(long long __x) { return __builtin_llabs (__x); }
                         ^~~
                      /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                         abs(long __i) { return __builtin_labs(__i); }
                         ^~~
                      make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                      gyp 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:262:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.19.57-v7+
                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                      gyp ERR! cwd /opt/iobroker/node_modules/canvas
                      gyp ERR! node -v v10.16.2
                      gyp ERR! node-gyp -v v3.8.0
                      gyp ERR! not ok 
                      node-pre-gyp ERR! build error 
                      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                      node-pre-gyp ERR! System Linux 4.19.57-v7+
                      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                      node-pre-gyp ERR! node -v v10.16.2
                      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                      node-pre-gyp ERR! not ok 
                      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                      npm ERR! Exit status 1
                      npm ERR! 
                      npm ERR! Failed at the canvas@2.5.0 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_06_49_697Z-debug.log
                      host.HOME Adapter directory "null" does not exists
                      Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
                      

                      Gibt es außer einer kompletten Neuinstallation noch irgendwas, was ich testen könnte?

                      Danke und beste grüße

                      Sundance

                      sigi234S 1 Antwort Letzte Antwort
                      0
                      • S Sundance

                        @sigi234 Danke, Das hat das "permission denied" Problem behoben - aber den Rest leider nicht..

                        root@HOME:/opt/iobroker# iobroker install iobroker.roomba
                        NPM version: 6.9.0
                        npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                        node-pre-gyp WARN Using request for node-pre-gyp https download 
                        node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                        node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                        ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                        ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                           E(ptr - data > imgdOffset, "image data overlaps with another structure");
                             ~~~~~~~~~~~^~~
                        ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                         #define E(cond, msg) if(cond) return setErr(msg)
                                                 ^~~~
                        ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                           E(ptr - data + imgdSize > len, "not enough image data");
                             ~~~~~~~~~~~~~~~~~~~~~~^~~
                        ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                         #define E(cond, msg) if(cond) return setErr(msg)
                                                 ^~~~
                        ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                        ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                           double current_scale_x = abs(transforms[1]);
                                                                     ^
                        In file included from /usr/include/c++/6/cstdlib:75:0,
                                         from /usr/include/c++/6/ext/string_conversions.h:41,
                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                         from /usr/include/c++/6/string:52,
                                         from /usr/include/c++/6/stdexcept:39,
                                         from /usr/include/c++/6/array:39,
                                         from /usr/include/c++/6/tuple:39,
                                         from /usr/include/c++/6/functional:55,
                                         from /usr/include/c++/6/memory:79,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                         from ../../nan/nan.h:54,
                                         from ../src/backend/Backend.h:6,
                                         from ../src/Canvas.h:5,
                                         from ../src/CanvasRenderingContext2d.h:6,
                                         from ../src/CanvasRenderingContext2d.cc:3:
                        /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                         extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                    ^~~
                        In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                         from /usr/include/c++/6/string:52,
                                         from /usr/include/c++/6/stdexcept:39,
                                         from /usr/include/c++/6/array:39,
                                         from /usr/include/c++/6/tuple:39,
                                         from /usr/include/c++/6/functional:55,
                                         from /usr/include/c++/6/memory:79,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                         from ../../nan/nan.h:54,
                                         from ../src/backend/Backend.h:6,
                                         from ../src/Canvas.h:5,
                                         from ../src/CanvasRenderingContext2d.h:6,
                                         from ../src/CanvasRenderingContext2d.cc:3:
                        /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                           abs(long long __x) { return __builtin_llabs (__x); }
                           ^~~
                        /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                           abs(long __i) { return __builtin_labs(__i); }
                           ^~~
                        ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                           double current_scale_y = abs(transforms[2]);
                                                                     ^
                        In file included from /usr/include/c++/6/cstdlib:75:0,
                                         from /usr/include/c++/6/ext/string_conversions.h:41,
                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                         from /usr/include/c++/6/string:52,
                                         from /usr/include/c++/6/stdexcept:39,
                                         from /usr/include/c++/6/array:39,
                                         from /usr/include/c++/6/tuple:39,
                                         from /usr/include/c++/6/functional:55,
                                         from /usr/include/c++/6/memory:79,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                         from ../../nan/nan.h:54,
                                         from ../src/backend/Backend.h:6,
                                         from ../src/Canvas.h:5,
                                         from ../src/CanvasRenderingContext2d.h:6,
                                         from ../src/CanvasRenderingContext2d.cc:3:
                        /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                         extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                    ^~~
                        In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                         from /usr/include/c++/6/string:52,
                                         from /usr/include/c++/6/stdexcept:39,
                                         from /usr/include/c++/6/array:39,
                                         from /usr/include/c++/6/tuple:39,
                                         from /usr/include/c++/6/functional:55,
                                         from /usr/include/c++/6/memory:79,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                         from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                         from ../../nan/nan.h:54,
                                         from ../src/backend/Backend.h:6,
                                         from ../src/Canvas.h:5,
                                         from ../src/CanvasRenderingContext2d.h:6,
                                         from ../src/CanvasRenderingContext2d.cc:3:
                        /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                           abs(long long __x) { return __builtin_llabs (__x); }
                           ^~~
                        /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                           abs(long __i) { return __builtin_labs(__i); }
                           ^~~
                        make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                        gyp 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:262:23)
                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                        gyp ERR! System Linux 4.19.57-v7+
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                        gyp ERR! cwd /opt/iobroker/node_modules/canvas
                        gyp ERR! node -v v10.16.2
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok 
                        node-pre-gyp ERR! build error 
                        node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                        node-pre-gyp ERR! System Linux 4.19.57-v7+
                        node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                        node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                        node-pre-gyp ERR! node -v v10.16.2
                        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                        node-pre-gyp ERR! not ok 
                        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                        
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                        npm ERR! Exit status 1
                        npm ERR! 
                        npm ERR! Failed at the canvas@2.5.0 install script.
                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_06_49_697Z-debug.log
                        host.HOME Adapter directory "null" does not exists
                        Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
                        

                        Gibt es außer einer kompletten Neuinstallation noch irgendwas, was ich testen könnte?

                        Danke und beste grüße

                        Sundance

                        sigi234S Online
                        sigi234S Online
                        sigi234
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von sigi234
                        #22

                        @Sundance

                        Was sagt :
                        node -v
                        npm -v
                        iobroker list instances

                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Immer Daten sichern!

                        S 1 Antwort Letzte Antwort
                        0
                        • sigi234S sigi234

                          @Sundance

                          Was sagt :
                          node -v
                          npm -v
                          iobroker list instances

                          S Offline
                          S Offline
                          Sundance
                          schrieb am zuletzt editiert von
                          #23

                          @sigi234

                          Hier die drei Ausgaben:

                          pi@HOME:~ $ node -v
                          v10.16.2
                          
                          pi@HOME:~ $ npm -v
                          6.9.0
                          
                          pi@HOME:~ $ iobroker list instances
                          + system.adapter.admin.0                 : admin       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                            system.adapter.cloud.0                 : cloud       - disabled
                          + system.adapter.discovery.0             : discovery   -  enabled
                            system.adapter.ham.0                   : ham         -  enabled
                          + system.adapter.history.0               : history     -  enabled
                          + system.adapter.hm-rega.0               : hm-rega     -  enabled
                          + system.adapter.hm-rpc.0                : hm-rpc      -  enabled, port: 0
                          + system.adapter.hm-rpc.1                : hm-rpc      -  enabled, port: 0
                          + system.adapter.hue.0                   : hue         -  enabled, port: 80
                            system.adapter.info.0                  : info        -  enabled
                            system.adapter.iot.0                   : iot         - disabled
                          + system.adapter.javascript.0            : javascript  -  enabled
                            system.adapter.mobile.0                : mobile      - disabled
                            system.adapter.node-red.0              : node-red    -  enabled, port: 1880, bind: 0.0.0.0
                            system.adapter.sayit.0                 : sayit       -  enabled, port: 0
                            system.adapter.sonos.0                 : sonos       -  enabled
                            system.adapter.tr-064.0                : tr-064      -  enabled
                          + system.adapter.web.0                   : web         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                            system.adapter.web.1                   : web         -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
                            system.adapter.zigbee.0                : zigbee      -  enabled, port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0019366630-if00
                          
                          + instance is alive
                          
                          sigi234S 1 Antwort Letzte Antwort
                          0
                          • S Sundance

                            @sigi234

                            Hier die drei Ausgaben:

                            pi@HOME:~ $ node -v
                            v10.16.2
                            
                            pi@HOME:~ $ npm -v
                            6.9.0
                            
                            pi@HOME:~ $ iobroker list instances
                            + system.adapter.admin.0                 : admin       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                              system.adapter.cloud.0                 : cloud       - disabled
                            + system.adapter.discovery.0             : discovery   -  enabled
                              system.adapter.ham.0                   : ham         -  enabled
                            + system.adapter.history.0               : history     -  enabled
                            + system.adapter.hm-rega.0               : hm-rega     -  enabled
                            + system.adapter.hm-rpc.0                : hm-rpc      -  enabled, port: 0
                            + system.adapter.hm-rpc.1                : hm-rpc      -  enabled, port: 0
                            + system.adapter.hue.0                   : hue         -  enabled, port: 80
                              system.adapter.info.0                  : info        -  enabled
                              system.adapter.iot.0                   : iot         - disabled
                            + system.adapter.javascript.0            : javascript  -  enabled
                              system.adapter.mobile.0                : mobile      - disabled
                              system.adapter.node-red.0              : node-red    -  enabled, port: 1880, bind: 0.0.0.0
                              system.adapter.sayit.0                 : sayit       -  enabled, port: 0
                              system.adapter.sonos.0                 : sonos       -  enabled
                              system.adapter.tr-064.0                : tr-064      -  enabled
                            + system.adapter.web.0                   : web         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                              system.adapter.web.1                   : web         -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
                              system.adapter.zigbee.0                : zigbee      -  enabled, port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0019366630-if00
                            
                            + instance is alive
                            
                            sigi234S Online
                            sigi234S Online
                            sigi234
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #24

                            @Sundance

                            Das passt Alles, ioBroker neu starten......

                            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Immer Daten sichern!

                            S 1 Antwort Letzte Antwort
                            0
                            • sigi234S sigi234

                              @Sundance

                              Das passt Alles, ioBroker neu starten......

                              S Offline
                              S Offline
                              Sundance
                              schrieb am zuletzt editiert von
                              #25

                              @sigi234 Habe ich gemacht - Installation nochmal versucht, gleiche Fehler wie vorher.. Gibt es noch etwas, was ich versuchen kann?

                              Danke vorab für deine Hilfe!

                              sigi234S 1 Antwort Letzte Antwort
                              0
                              • S Sundance

                                @sigi234 Habe ich gemacht - Installation nochmal versucht, gleiche Fehler wie vorher.. Gibt es noch etwas, was ich versuchen kann?

                                Danke vorab für deine Hilfe!

                                sigi234S Online
                                sigi234S Online
                                sigi234
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #26

                                @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                gleiche Fehler wie vorher

                                Was für welcher ? Was geht nicht, bzw. funktioniert nicht?
                                In den Admin kommst du normal rein?

                                Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                Immer Daten sichern!

                                S 1 Antwort Letzte Antwort
                                0
                                • sigi234S sigi234

                                  @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                  gleiche Fehler wie vorher

                                  Was für welcher ? Was geht nicht, bzw. funktioniert nicht?
                                  In den Admin kommst du normal rein?

                                  S Offline
                                  S Offline
                                  Sundance
                                  schrieb am zuletzt editiert von Sundance
                                  #27

                                  @sigi234

                                  Hier der aktuelle Fehler-output aus dem Terminal:

                                  pi@HOME:~ $ iobroker install iobroker.roomba
                                  NPM version: 6.9.0
                                  npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                                  node-pre-gyp WARN Using request for node-pre-gyp https download 
                                  node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                                  node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                  ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                                  ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                     E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                       ~~~~~~~~~~~^~~
                                  ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                   #define E(cond, msg) if(cond) return setErr(msg)
                                                           ^~~~
                                  ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                     E(ptr - data + imgdSize > len, "not enough image data");
                                       ~~~~~~~~~~~~~~~~~~~~~~^~~
                                  ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                   #define E(cond, msg) if(cond) return setErr(msg)
                                                           ^~~~
                                  ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                                  ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                                     double current_scale_x = abs(transforms[1]);
                                                                               ^
                                  In file included from /usr/include/c++/6/cstdlib:75:0,
                                                   from /usr/include/c++/6/ext/string_conversions.h:41,
                                                   from /usr/include/c++/6/bits/basic_string.h:5417,
                                                   from /usr/include/c++/6/string:52,
                                                   from /usr/include/c++/6/stdexcept:39,
                                                   from /usr/include/c++/6/array:39,
                                                   from /usr/include/c++/6/tuple:39,
                                                   from /usr/include/c++/6/functional:55,
                                                   from /usr/include/c++/6/memory:79,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/backend/Backend.h:6,
                                                   from ../src/Canvas.h:5,
                                                   from ../src/CanvasRenderingContext2d.h:6,
                                                   from ../src/CanvasRenderingContext2d.cc:3:
                                  /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                              ^~~
                                  In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                   from /usr/include/c++/6/bits/basic_string.h:5417,
                                                   from /usr/include/c++/6/string:52,
                                                   from /usr/include/c++/6/stdexcept:39,
                                                   from /usr/include/c++/6/array:39,
                                                   from /usr/include/c++/6/tuple:39,
                                                   from /usr/include/c++/6/functional:55,
                                                   from /usr/include/c++/6/memory:79,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/backend/Backend.h:6,
                                                   from ../src/Canvas.h:5,
                                                   from ../src/CanvasRenderingContext2d.h:6,
                                                   from ../src/CanvasRenderingContext2d.cc:3:
                                  /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                     abs(long long __x) { return __builtin_llabs (__x); }
                                     ^~~
                                  /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                     abs(long __i) { return __builtin_labs(__i); }
                                     ^~~
                                  ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                                     double current_scale_y = abs(transforms[2]);
                                                                               ^
                                  In file included from /usr/include/c++/6/cstdlib:75:0,
                                                   from /usr/include/c++/6/ext/string_conversions.h:41,
                                                   from /usr/include/c++/6/bits/basic_string.h:5417,
                                                   from /usr/include/c++/6/string:52,
                                                   from /usr/include/c++/6/stdexcept:39,
                                                   from /usr/include/c++/6/array:39,
                                                   from /usr/include/c++/6/tuple:39,
                                                   from /usr/include/c++/6/functional:55,
                                                   from /usr/include/c++/6/memory:79,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/backend/Backend.h:6,
                                                   from ../src/Canvas.h:5,
                                                   from ../src/CanvasRenderingContext2d.h:6,
                                                   from ../src/CanvasRenderingContext2d.cc:3:
                                  /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                   extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                              ^~~
                                  In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                   from /usr/include/c++/6/bits/basic_string.h:5417,
                                                   from /usr/include/c++/6/string:52,
                                                   from /usr/include/c++/6/stdexcept:39,
                                                   from /usr/include/c++/6/array:39,
                                                   from /usr/include/c++/6/tuple:39,
                                                   from /usr/include/c++/6/functional:55,
                                                   from /usr/include/c++/6/memory:79,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                   from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                   from ../../nan/nan.h:54,
                                                   from ../src/backend/Backend.h:6,
                                                   from ../src/Canvas.h:5,
                                                   from ../src/CanvasRenderingContext2d.h:6,
                                                   from ../src/CanvasRenderingContext2d.cc:3:
                                  /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                     abs(long long __x) { return __builtin_llabs (__x); }
                                     ^~~
                                  /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                     abs(long __i) { return __builtin_labs(__i); }
                                     ^~~
                                  make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                                  gyp 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:262:23)
                                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                  gyp ERR! System Linux 4.19.57-v7+
                                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                  gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                  gyp ERR! node -v v10.16.2
                                  gyp ERR! node-gyp -v v3.8.0
                                  gyp ERR! not ok 
                                  node-pre-gyp ERR! build error 
                                  node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                  node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                  node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                  node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                  node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                  node-pre-gyp ERR! System Linux 4.19.57-v7+
                                  node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                  node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                  node-pre-gyp ERR! node -v v10.16.2
                                  node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                  node-pre-gyp ERR! not ok 
                                  npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                  
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                                  npm ERR! Exit status 1
                                  npm ERR! 
                                  npm ERR! Failed at the canvas@2.5.0 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_17_48_762Z-debug.log
                                  host.HOME Adapter directory "null" does not exists
                                  Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
                                  

                                  In Admin komme ich normal rein, dort funktioniert auch alles wunderbar - allerdings hatte die Installation über Admin nie geklappt, daher habe ich es nun immer über die Konsole probiert. Leider bisher ohne Erfolg..

                                  Habe es hier zwar als user "Pi" installiert - per root kommen aber die gleichen fehler.

                                  sigi234S 1 Antwort Letzte Antwort
                                  0
                                  • S Sundance

                                    @sigi234

                                    Hier der aktuelle Fehler-output aus dem Terminal:

                                    pi@HOME:~ $ iobroker install iobroker.roomba
                                    NPM version: 6.9.0
                                    npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                                    node-pre-gyp WARN Using request for node-pre-gyp https download 
                                    node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                                    node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                    ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                                    ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                       E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                         ~~~~~~~~~~~^~~
                                    ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                     #define E(cond, msg) if(cond) return setErr(msg)
                                                             ^~~~
                                    ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                       E(ptr - data + imgdSize > len, "not enough image data");
                                         ~~~~~~~~~~~~~~~~~~~~~~^~~
                                    ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                     #define E(cond, msg) if(cond) return setErr(msg)
                                                             ^~~~
                                    ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                                    ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                                       double current_scale_x = abs(transforms[1]);
                                                                                 ^
                                    In file included from /usr/include/c++/6/cstdlib:75:0,
                                                     from /usr/include/c++/6/ext/string_conversions.h:41,
                                                     from /usr/include/c++/6/bits/basic_string.h:5417,
                                                     from /usr/include/c++/6/string:52,
                                                     from /usr/include/c++/6/stdexcept:39,
                                                     from /usr/include/c++/6/array:39,
                                                     from /usr/include/c++/6/tuple:39,
                                                     from /usr/include/c++/6/functional:55,
                                                     from /usr/include/c++/6/memory:79,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/backend/Backend.h:6,
                                                     from ../src/Canvas.h:5,
                                                     from ../src/CanvasRenderingContext2d.h:6,
                                                     from ../src/CanvasRenderingContext2d.cc:3:
                                    /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                     extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                ^~~
                                    In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                     from /usr/include/c++/6/bits/basic_string.h:5417,
                                                     from /usr/include/c++/6/string:52,
                                                     from /usr/include/c++/6/stdexcept:39,
                                                     from /usr/include/c++/6/array:39,
                                                     from /usr/include/c++/6/tuple:39,
                                                     from /usr/include/c++/6/functional:55,
                                                     from /usr/include/c++/6/memory:79,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/backend/Backend.h:6,
                                                     from ../src/Canvas.h:5,
                                                     from ../src/CanvasRenderingContext2d.h:6,
                                                     from ../src/CanvasRenderingContext2d.cc:3:
                                    /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                       abs(long long __x) { return __builtin_llabs (__x); }
                                       ^~~
                                    /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                       abs(long __i) { return __builtin_labs(__i); }
                                       ^~~
                                    ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                                       double current_scale_y = abs(transforms[2]);
                                                                                 ^
                                    In file included from /usr/include/c++/6/cstdlib:75:0,
                                                     from /usr/include/c++/6/ext/string_conversions.h:41,
                                                     from /usr/include/c++/6/bits/basic_string.h:5417,
                                                     from /usr/include/c++/6/string:52,
                                                     from /usr/include/c++/6/stdexcept:39,
                                                     from /usr/include/c++/6/array:39,
                                                     from /usr/include/c++/6/tuple:39,
                                                     from /usr/include/c++/6/functional:55,
                                                     from /usr/include/c++/6/memory:79,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/backend/Backend.h:6,
                                                     from ../src/Canvas.h:5,
                                                     from ../src/CanvasRenderingContext2d.h:6,
                                                     from ../src/CanvasRenderingContext2d.cc:3:
                                    /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                     extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                ^~~
                                    In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                     from /usr/include/c++/6/bits/basic_string.h:5417,
                                                     from /usr/include/c++/6/string:52,
                                                     from /usr/include/c++/6/stdexcept:39,
                                                     from /usr/include/c++/6/array:39,
                                                     from /usr/include/c++/6/tuple:39,
                                                     from /usr/include/c++/6/functional:55,
                                                     from /usr/include/c++/6/memory:79,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                     from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/backend/Backend.h:6,
                                                     from ../src/Canvas.h:5,
                                                     from ../src/CanvasRenderingContext2d.h:6,
                                                     from ../src/CanvasRenderingContext2d.cc:3:
                                    /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                       abs(long long __x) { return __builtin_llabs (__x); }
                                       ^~~
                                    /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                       abs(long __i) { return __builtin_labs(__i); }
                                       ^~~
                                    make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                                    gyp 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:262:23)
                                    gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                    gyp ERR! System Linux 4.19.57-v7+
                                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                    gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                    gyp ERR! node -v v10.16.2
                                    gyp ERR! node-gyp -v v3.8.0
                                    gyp ERR! not ok 
                                    node-pre-gyp ERR! build error 
                                    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                    node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                    node-pre-gyp ERR! System Linux 4.19.57-v7+
                                    node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                    node-pre-gyp ERR! node -v v10.16.2
                                    node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                    node-pre-gyp ERR! not ok 
                                    npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                    
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                                    npm ERR! Exit status 1
                                    npm ERR! 
                                    npm ERR! Failed at the canvas@2.5.0 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_17_48_762Z-debug.log
                                    host.HOME Adapter directory "null" does not exists
                                    Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json'
                                    

                                    In Admin komme ich normal rein, dort funktioniert auch alles wunderbar - allerdings hatte die Installation über Admin nie geklappt, daher habe ich es nun immer über die Konsole probiert. Leider bisher ohne Erfolg..

                                    Habe es hier zwar als user "Pi" installiert - per root kommen aber die gleichen fehler.

                                    sigi234S Online
                                    sigi234S Online
                                    sigi234
                                    Forum Testing Most Active
                                    schrieb am zuletzt editiert von
                                    #28

                                    @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                    sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

                                    sudo npm install canvas --unsafe-perm=true

                                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                    Immer Daten sichern!

                                    S 1 Antwort Letzte Antwort
                                    0
                                    • sigi234S sigi234

                                      @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                      sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

                                      sudo npm install canvas --unsafe-perm=true

                                      S Offline
                                      S Offline
                                      Sundance
                                      schrieb am zuletzt editiert von
                                      #29

                                      @sigi234 said in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                      sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

                                      Das hatte ich vorhin auch schonmal probiert, schlägt leider immernoch fehl.. hier die beiden outputs:

                                      pi@HOME:~ $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
                                      Reading package lists... Done
                                      Building dependency tree       
                                      Reading state information... Done
                                      build-essential is already the newest version (12.3).
                                      libgif-dev is already the newest version (5.1.4-0.4).
                                      libjpeg-dev is already the newest version (1:1.5.1-2).
                                      libpango1.0-dev is already the newest version (1.40.5-1).
                                      librsvg2-dev is already the newest version (2.40.16-1).
                                      libcairo2-dev is already the newest version (1.14.8-1+rpi1).
                                      0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
                                      

                                      Und bei canvas:

                                      pi@HOME:~ $ sudo npm install canvas --unsafe-perm=true
                                      
                                      > canvas@2.5.0 install /home/pi/node_modules/canvas
                                      > node-pre-gyp install --fallback-to-build
                                      
                                      node-pre-gyp WARN Using request for node-pre-gyp https download 
                                      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                                      node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                      make: Entering directory '/home/pi/node_modules/canvas/build'
                                        SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                                        COPY Release/canvas-postbuild.node
                                        CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                                        CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                                        CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                                        CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
                                        CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
                                      ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                                      ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                         E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                           ~~~~~~~~~~~^~~
                                      ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                       #define E(cond, msg) if(cond) return setErr(msg)
                                                               ^~~~
                                      ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                         E(ptr - data + imgdSize > len, "not enough image data");
                                           ~~~~~~~~~~~~~~~~~~~~~~^~~
                                      ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                       #define E(cond, msg) if(cond) return setErr(msg)
                                                               ^~~~
                                        CXX(target) Release/obj.target/canvas/src/Backends.o
                                        CXX(target) Release/obj.target/canvas/src/Canvas.o
                                        CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
                                        CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
                                        CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
                                      ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                                      ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                                         double current_scale_x = abs(transforms[1]);
                                                                                   ^
                                      In file included from /usr/include/c++/6/cstdlib:75:0,
                                                       from /usr/include/c++/6/ext/string_conversions.h:41,
                                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                                       from /usr/include/c++/6/string:52,
                                                       from /usr/include/c++/6/stdexcept:39,
                                                       from /usr/include/c++/6/array:39,
                                                       from /usr/include/c++/6/tuple:39,
                                                       from /usr/include/c++/6/functional:55,
                                                       from /usr/include/c++/6/memory:79,
                                                       from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                       from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/backend/Backend.h:6,
                                                       from ../src/Canvas.h:5,
                                                       from ../src/CanvasRenderingContext2d.h:6,
                                                       from ../src/CanvasRenderingContext2d.cc:3:
                                      /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                       extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                  ^~~
                                      In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                                       from /usr/include/c++/6/string:52,
                                                       from /usr/include/c++/6/stdexcept:39,
                                                       from /usr/include/c++/6/array:39,
                                                       from /usr/include/c++/6/tuple:39,
                                                       from /usr/include/c++/6/functional:55,
                                                       from /usr/include/c++/6/memory:79,
                                                       from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                       from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/backend/Backend.h:6,
                                                       from ../src/Canvas.h:5,
                                                       from ../src/CanvasRenderingContext2d.h:6,
                                                       from ../src/CanvasRenderingContext2d.cc:3:
                                      /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                         abs(long long __x) { return __builtin_llabs (__x); }
                                         ^~~
                                      /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                         abs(long __i) { return __builtin_labs(__i); }
                                         ^~~
                                      ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                                         double current_scale_y = abs(transforms[2]);
                                                                                   ^
                                      In file included from /usr/include/c++/6/cstdlib:75:0,
                                                       from /usr/include/c++/6/ext/string_conversions.h:41,
                                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                                       from /usr/include/c++/6/string:52,
                                                       from /usr/include/c++/6/stdexcept:39,
                                                       from /usr/include/c++/6/array:39,
                                                       from /usr/include/c++/6/tuple:39,
                                                       from /usr/include/c++/6/functional:55,
                                                       from /usr/include/c++/6/memory:79,
                                                       from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                       from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/backend/Backend.h:6,
                                                       from ../src/Canvas.h:5,
                                                       from ../src/CanvasRenderingContext2d.h:6,
                                                       from ../src/CanvasRenderingContext2d.cc:3:
                                      /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                       extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                  ^~~
                                      In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                       from /usr/include/c++/6/bits/basic_string.h:5417,
                                                       from /usr/include/c++/6/string:52,
                                                       from /usr/include/c++/6/stdexcept:39,
                                                       from /usr/include/c++/6/array:39,
                                                       from /usr/include/c++/6/tuple:39,
                                                       from /usr/include/c++/6/functional:55,
                                                       from /usr/include/c++/6/memory:79,
                                                       from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                       from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/backend/Backend.h:6,
                                                       from ../src/Canvas.h:5,
                                                       from ../src/CanvasRenderingContext2d.h:6,
                                                       from ../src/CanvasRenderingContext2d.cc:3:
                                      /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                         abs(long long __x) { return __builtin_llabs (__x); }
                                         ^~~
                                      /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                         abs(long __i) { return __builtin_labs(__i); }
                                         ^~~
                                      canvas.target.mk:138: recipe for target 'Release/obj.target/canvas/src/CanvasRenderingContext2d.o' failed
                                      make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                                      make: Leaving directory '/home/pi/node_modules/canvas/build'
                                      gyp 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:262:23)
                                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                      gyp ERR! System Linux 4.19.57-v7+
                                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/home/pi/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                      gyp ERR! cwd /home/pi/node_modules/canvas
                                      gyp ERR! node -v v10.16.2
                                      gyp ERR! node-gyp -v v3.8.0
                                      gyp ERR! not ok 
                                      node-pre-gyp ERR! build error 
                                      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                      node-pre-gyp ERR! System Linux 4.19.57-v7+
                                      node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                      node-pre-gyp ERR! cwd /home/pi/node_modules/canvas
                                      node-pre-gyp ERR! node -v v10.16.2
                                      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                      node-pre-gyp ERR! not ok 
                                      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                      npm WARN pi No description
                                      npm WARN pi No repository field.
                                      npm WARN pi No README data
                                      npm WARN pi No license field.
                                      
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                                      npm ERR! Exit status 1
                                      npm ERR! 
                                      npm ERR! Failed at the canvas@2.5.0 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /root/.npm/_logs/2019-08-08T12_31_14_478Z-debug.log
                                      
                                      sigi234S 1 Antwort Letzte Antwort
                                      0
                                      • S Sundance

                                        @sigi234 said in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                        sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

                                        Das hatte ich vorhin auch schonmal probiert, schlägt leider immernoch fehl.. hier die beiden outputs:

                                        pi@HOME:~ $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
                                        Reading package lists... Done
                                        Building dependency tree       
                                        Reading state information... Done
                                        build-essential is already the newest version (12.3).
                                        libgif-dev is already the newest version (5.1.4-0.4).
                                        libjpeg-dev is already the newest version (1:1.5.1-2).
                                        libpango1.0-dev is already the newest version (1.40.5-1).
                                        librsvg2-dev is already the newest version (2.40.16-1).
                                        libcairo2-dev is already the newest version (1.14.8-1+rpi1).
                                        0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
                                        

                                        Und bei canvas:

                                        pi@HOME:~ $ sudo npm install canvas --unsafe-perm=true
                                        
                                        > canvas@2.5.0 install /home/pi/node_modules/canvas
                                        > node-pre-gyp install --fallback-to-build
                                        
                                        node-pre-gyp WARN Using request for node-pre-gyp https download 
                                        node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz 
                                        node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                        make: Entering directory '/home/pi/node_modules/canvas/build'
                                          SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                                          COPY Release/canvas-postbuild.node
                                          CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                                          CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                                          CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                                          CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
                                          CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
                                        ../src/bmp/BMPParser.cc: In member function 'void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)':
                                        ../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                           E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                             ~~~~~~~~~~~^~~
                                        ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                         #define E(cond, msg) if(cond) return setErr(msg)
                                                                 ^~~~
                                        ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                           E(ptr - data + imgdSize > len, "not enough image data");
                                             ~~~~~~~~~~~~~~~~~~~~~~^~~
                                        ../src/bmp/BMPParser.cc:10:25: note: in definition of macro 'E'
                                         #define E(cond, msg) if(cond) return setErr(msg)
                                                                 ^~~~
                                          CXX(target) Release/obj.target/canvas/src/Backends.o
                                          CXX(target) Release/obj.target/canvas/src/Canvas.o
                                          CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
                                          CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
                                          CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
                                        ../src/CanvasRenderingContext2d.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)':
                                        ../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded 'abs(double&)' is ambiguous
                                           double current_scale_x = abs(transforms[1]);
                                                                                     ^
                                        In file included from /usr/include/c++/6/cstdlib:75:0,
                                                         from /usr/include/c++/6/ext/string_conversions.h:41,
                                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                                         from /usr/include/c++/6/string:52,
                                                         from /usr/include/c++/6/stdexcept:39,
                                                         from /usr/include/c++/6/array:39,
                                                         from /usr/include/c++/6/tuple:39,
                                                         from /usr/include/c++/6/functional:55,
                                                         from /usr/include/c++/6/memory:79,
                                                         from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                         from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/backend/Backend.h:6,
                                                         from ../src/Canvas.h:5,
                                                         from ../src/CanvasRenderingContext2d.h:6,
                                                         from ../src/CanvasRenderingContext2d.cc:3:
                                        /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                         extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                    ^~~
                                        In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                                         from /usr/include/c++/6/string:52,
                                                         from /usr/include/c++/6/stdexcept:39,
                                                         from /usr/include/c++/6/array:39,
                                                         from /usr/include/c++/6/tuple:39,
                                                         from /usr/include/c++/6/functional:55,
                                                         from /usr/include/c++/6/memory:79,
                                                         from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                         from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/backend/Backend.h:6,
                                                         from ../src/Canvas.h:5,
                                                         from ../src/CanvasRenderingContext2d.h:6,
                                                         from ../src/CanvasRenderingContext2d.cc:3:
                                        /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                           abs(long long __x) { return __builtin_llabs (__x); }
                                           ^~~
                                        /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                           abs(long __i) { return __builtin_labs(__i); }
                                           ^~~
                                        ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded 'abs(double&)' is ambiguous
                                           double current_scale_y = abs(transforms[2]);
                                                                                     ^
                                        In file included from /usr/include/c++/6/cstdlib:75:0,
                                                         from /usr/include/c++/6/ext/string_conversions.h:41,
                                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                                         from /usr/include/c++/6/string:52,
                                                         from /usr/include/c++/6/stdexcept:39,
                                                         from /usr/include/c++/6/array:39,
                                                         from /usr/include/c++/6/tuple:39,
                                                         from /usr/include/c++/6/functional:55,
                                                         from /usr/include/c++/6/memory:79,
                                                         from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                         from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/backend/Backend.h:6,
                                                         from ../src/Canvas.h:5,
                                                         from ../src/CanvasRenderingContext2d.h:6,
                                                         from ../src/CanvasRenderingContext2d.cc:3:
                                        /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                         extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                    ^~~
                                        In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                         from /usr/include/c++/6/bits/basic_string.h:5417,
                                                         from /usr/include/c++/6/string:52,
                                                         from /usr/include/c++/6/stdexcept:39,
                                                         from /usr/include/c++/6/array:39,
                                                         from /usr/include/c++/6/tuple:39,
                                                         from /usr/include/c++/6/functional:55,
                                                         from /usr/include/c++/6/memory:79,
                                                         from /root/.node-gyp/10.16.2/include/node/v8.h:21,
                                                         from /root/.node-gyp/10.16.2/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/backend/Backend.h:6,
                                                         from ../src/Canvas.h:5,
                                                         from ../src/CanvasRenderingContext2d.h:6,
                                                         from ../src/CanvasRenderingContext2d.cc:3:
                                        /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                           abs(long long __x) { return __builtin_llabs (__x); }
                                           ^~~
                                        /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                           abs(long __i) { return __builtin_labs(__i); }
                                           ^~~
                                        canvas.target.mk:138: recipe for target 'Release/obj.target/canvas/src/CanvasRenderingContext2d.o' failed
                                        make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Error 1
                                        make: Leaving directory '/home/pi/node_modules/canvas/build'
                                        gyp 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:262:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                        gyp ERR! System Linux 4.19.57-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/home/pi/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                        gyp ERR! cwd /home/pi/node_modules/canvas
                                        gyp ERR! node -v v10.16.2
                                        gyp ERR! node-gyp -v v3.8.0
                                        gyp ERR! not ok 
                                        node-pre-gyp ERR! build error 
                                        node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                        node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                        node-pre-gyp ERR! System Linux 4.19.57-v7+
                                        node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                        node-pre-gyp ERR! cwd /home/pi/node_modules/canvas
                                        node-pre-gyp ERR! node -v v10.16.2
                                        node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                        node-pre-gyp ERR! not ok 
                                        Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/home/pi/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)
                                        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                        npm WARN pi No description
                                        npm WARN pi No repository field.
                                        npm WARN pi No README data
                                        npm WARN pi No license field.
                                        
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                                        npm ERR! Exit status 1
                                        npm ERR! 
                                        npm ERR! Failed at the canvas@2.5.0 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2019-08-08T12_31_14_478Z-debug.log
                                        
                                        sigi234S Online
                                        sigi234S Online
                                        sigi234
                                        Forum Testing Most Active
                                        schrieb am zuletzt editiert von
                                        #30

                                        @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                        @sigi234 said in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                        sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

                                        Das hatte ich vorhin auch schonmal probiert, schlägt leider immernoch fehl.. hier die beiden outputs:

                                        Kommt das gleiche wenn du es über den Admin installierst?

                                        Gerade bei mir mal installiert:

                                        Screenshot (3837).png

                                        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                        Immer Daten sichern!

                                        S 1 Antwort Letzte Antwort
                                        0
                                        • sigi234S sigi234

                                          @Sundance sagte in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                          @sigi234 said in Adapterinstallation schlägt fehl - node-gyp Fehler:

                                          sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

                                          Das hatte ich vorhin auch schonmal probiert, schlägt leider immernoch fehl.. hier die beiden outputs:

                                          Kommt das gleiche wenn du es über den Admin installierst?

                                          Gerade bei mir mal installiert:

                                          Screenshot (3837).png

                                          S Offline
                                          S Offline
                                          Sundance
                                          schrieb am zuletzt editiert von
                                          #31

                                          @sigi234 Jap, das gleiche Spiel.. host.HOME cannot install roomba:

                                          $ ./iobroker add roomba  --host HOME
                                          NPM version: 6.9.0
                                          npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                                          node-pre-gyp
                                           
                                          WARN Using request for node-pre-gyp https download 
                                          node-pre-gyp
                                           WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz node-pre-gyp WARN 
                                          Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                          ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                             E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                               ~~~~~~~~~~~^~~
                                          ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                           #define E(cond, msg) if(cond) return setErr(msg)
                                                                   ^~~~
                                          
                                          ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                                               ~~~~~~~~~~~~~~~~~~~~~~^~~
                                          ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                           #define E(cond, msg) if(cond) return setErr(msg)
                                                                   ^~~~
                                          
                                          ../src/CanvasRenderingContext2d.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)’:../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded ‘abs(double&)’ is ambiguous
                                             double current_scale_x = abs(transforms[1]);
                                                                                       ^
                                          
                                          In file included from /usr/include/c++/6/cstdlib:75:0,                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                           extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                      ^~~
                                          In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                             abs(long long __x) { return __builtin_llabs (__x); }
                                             ^~~
                                          /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                             abs(long __i) { return __builtin_labs(__i); }
                                             ^~~
                                          ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded ‘abs(double&)’ is ambiguous
                                             double current_scale_y = abs(transforms[2]);
                                                                                       ^
                                          
                                          In file included from /usr/include/c++/6/cstdlib:75:0,                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                           extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                      ^~~
                                          In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                             abs(long long __x) { return __builtin_llabs (__x); }
                                             ^~~
                                          /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                             abs(long __i) { return __builtin_labs(__i); }
                                             ^~~
                                          
                                          make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Fehler 1
                                          gyp
                                           ERR! build error 
                                          gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                          
                                          gyp ERR! System Linux 4.19.57-v7+
                                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                          gyp ERR! node -v v10.16.2
                                          gyp ERR! node-gyp -v v3.8.0
                                          gyp ERR! not ok 
                                          
                                          node-pre-gyp ERR! build error 
                                          node-pre-gyp
                                           ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                          
                                          node-pre-gyp ERR! System Linux 4.19.57-v7+node-pre-gyp 
                                          ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                          node-pre-gyp ERR! node -v v10.16.2
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                          node-pre-gyp
                                           ERR! not ok 
                                          npm
                                           
                                          WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                          npm
                                           
                                          WARN
                                           optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          
                                          
                                          npm ERR! code ELIFECYCLEnpm ERR! errno 1
                                          
                                          npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1
                                          npm ERR! 
                                          npm ERR! Failed at the canvas@2.5.0 install script.
                                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          
                                          npm
                                           ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_39_29_830Z-debug.log
                                          
                                          host.HOME install adapter roomba
                                          NPM version: 6.9.0
                                          npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                                          node-pre-gyp
                                           
                                          WARN Using request for node-pre-gyp https download 
                                          node-pre-gyp
                                           WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz node-pre-gyp
                                           WARN 
                                          Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                          ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                             E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                               ~~~~~~~~~~~^~~
                                          ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                           #define E(cond, msg) if(cond) return setErr(msg)
                                                                   ^~~~
                                          
                                          ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                                               ~~~~~~~~~~~~~~~~~~~~~~^~~
                                          ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                           #define E(cond, msg) if(cond) return setErr(msg)
                                                                   ^~~~
                                          
                                          ../src/CanvasRenderingContext2d.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)’:../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded ‘abs(double&)’ is ambiguous
                                             double current_scale_x = abs(transforms[1]);
                                                                                       ^
                                          
                                          In file included from /usr/include/c++/6/cstdlib:75:0,                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                           extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                      ^~~
                                          
                                          In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,                 from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                             abs(long long __x) { return __builtin_llabs (__x); }
                                             ^~~
                                          
                                          /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)   abs(long __i) { return __builtin_labs(__i); }
                                             ^~~
                                          
                                          ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded ‘abs(double&)’ is ambiguous   double current_scale_y = abs(transforms[2]);
                                                                                       ^
                                          In file included from /usr/include/c++/6/cstdlib:75:0,
                                                           from /usr/include/c++/6/ext/string_conversions.h:41,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                           extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                      ^~~
                                          In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                             abs(long long __x) { return __builtin_llabs (__x); }
                                             ^~~
                                          /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                             abs(long __i) { return __builtin_labs(__i); }
                                             ^~~
                                          
                                          make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Fehler 1
                                          gyp ERR! 
                                          build error 
                                          gyp
                                           ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                          gyp ERR! 
                                          stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                          
                                          gyp ERR! System Linux 4.19.57-v7+gyp
                                           ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/canvas
                                          gyp ERR! node -v v10.16.2
                                          gyp 
                                          ERR! node-gyp -v v3.8.0gyp ERR! not ok 
                                          
                                          node-pre-gyp
                                           ERR! build error 
                                          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp
                                           ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                          
                                          node-pre-gyp
                                           ERR! System Linux 4.19.57-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                          
                                          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.16.2
                                          
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                          node-pre-gyp ERR! not ok 
                                          npm
                                           WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                          npm
                                           WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup
                                           SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          
                                          npm
                                           ERR! code ELIFECYCLE
                                          npm
                                           
                                          ERR! 
                                          errno
                                           1npm ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`
                                          npm ERR! Exit status 1
                                          npm ERR! 
                                          npm ERR! Failed at the canvas@2.5.0 install script.
                                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_41_18_181Z-debug.log
                                          
                                          host.HOME install adapter roomba
                                          NPM version: 6.9.0
                                          npm install iobroker.roomba@1.0.0 --production --save --prefix "/opt/iobroker" (System call)
                                          node-pre-gyp
                                           WARN Using request for node-pre-gyp https download 
                                          node-pre-gyp
                                           WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.5.0/canvas-v2.5.0-node-v64-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for canvas@2.5.0 and node@10.16.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
                                          
                                          ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:193:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                             E(ptr - data > imgdOffset, "image data overlaps with another structure");
                                               ~~~~~~~~~~~^~~
                                          ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                           #define E(cond, msg) if(cond) return setErr(msg)
                                                                   ^~~~
                                          
                                          ../src/bmp/BMPParser.cc:208:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]   E(ptr - data + imgdSize > len, "not enough image data");
                                               ~~~~~~~~~~~~~~~~~~~~~~^~~
                                          ../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’
                                           #define E(cond, msg) if(cond) return setErr(msg)
                                                                   ^~~~
                                          
                                          ../src/CanvasRenderingContext2d.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Context2d::DrawImage(Nan::NAN_METHOD_ARGS_TYPE)’:../src/CanvasRenderingContext2d.cc:1291:45: error: call of overloaded ‘abs(double&)’ is ambiguous
                                             double current_scale_x = abs(transforms[1]);
                                                                                       ^
                                          
                                          In file included from /usr/include/c++/6/cstdlib:75:0,                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                           extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                      ^~~
                                          In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                             abs(long long __x) { return __builtin_llabs (__x); }
                                             ^~~
                                          
                                          /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)   abs(long __i) { return __builtin_labs(__i); }
                                             ^~~
                                          
                                          ../src/CanvasRenderingContext2d.cc:1292:45: error: call of overloaded ‘abs(double&)’ is ambiguous   double current_scale_y = abs(transforms[2]);
                                                                                       ^
                                          
                                          In file included from /usr/include/c++/6/cstdlib:75:0,                 from /usr/include/c++/6/ext/string_conversions.h:41,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/stdlib.h:735:12: note: candidate: int abs(int)
                                           extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
                                                      ^~~
                                          In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
                                                           from /usr/include/c++/6/bits/basic_string.h:5417,
                                                           from /usr/include/c++/6/string:52,
                                                           from /usr/include/c++/6/stdexcept:39,
                                                           from /usr/include/c++/6/array:39,
                                                           from /usr/include/c++/6/tuple:39,
                                                           from /usr/include/c++/6/functional:55,
                                                           from /usr/include/c++/6/memory:79,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/v8.h:21,
                                                           from /home/iobroker/.node-gyp/10.16.2/include/node/node.h:63,
                                                           from ../../nan/nan.h:54,
                                                           from ../src/backend/Backend.h:6,
                                                           from ../src/Canvas.h:5,
                                                           from ../src/CanvasRenderingContext2d.h:6,
                                                           from ../src/CanvasRenderingContext2d.cc:3:
                                          /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
                                             abs(long long __x) { return __builtin_llabs (__x); }
                                             ^~~
                                          /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
                                             abs(long __i) { return __builtin_labs(__i); }
                                             ^~~
                                          
                                          make: *** [Release/obj.target/canvas/src/CanvasRenderingContext2d.o] Fehler 1
                                          gyp
                                           
                                          ERR!
                                           
                                          build error 
                                          gyp
                                           ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                          gyp ERR! 
                                          stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp
                                           ERR! System Linux 4.19.57-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
                                          
                                          gyp ERR! cwd /opt/iobroker/node_modules/canvasgyp ERR! node -v v10.16.2
                                          gyp ERR!
                                           node-gyp -v v3.8.0gyp ERR! not ok 
                                          
                                          node-pre-gyp
                                           ERR! build error 
                                          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                          
                                          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                                          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                          
                                          node-pre-gyp
                                           ERR! System Linux 4.19.57-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                          
                                          node-pre-gyp ERR! 
                                          cwd /opt/iobroker/node_modules/canvasnode-pre-gyp ERR! node -v v10.16.2
                                          
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0node-pre-gyp ERR! not ok 
                                          
                                          npm
                                           WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                          npm
                                           
                                          WARN
                                           
                                          optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                                          npm
                                           
                                          WARN
                                           
                                          notsup
                                           SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          
                                          npm
                                           
                                          ERR! code ELIFECYCLE
                                          npm 
                                          ERR! errno
                                           1
                                          npm
                                           ERR! canvas@2.5.0 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1
                                          
                                          npm ERR!
                                           npm ERR! Failed at the canvas@2.5.0 install script.
                                          npm ERR!
                                           This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2019-08-08T12_43_10_893Z-debug.log
                                          
                                          host.HOME install adapter roomba
                                          ERROR: host.HOME Cannot install roomba
                                          ERROR: process exited with code 13
                                          
                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          776

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe