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. ioBroker Allgemein
  4. Installation maxcul schlägt fehl

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    280

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Installation maxcul schlägt fehl

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
4 Beiträge 2 Kommentatoren 310 Aufrufe
  • Ä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.
  • I Offline
    I Offline
    itze
    schrieb am zuletzt editiert von
    #1

    Hallo Zusammen,

    ich brauche bitte eure Hilfe.

    habe den ganzen Abend vergeblich versucht, den maxcul Adapter zu installieren.

    Um nicht das ganze log zu posten, hier der Beginn des Problems im Log:

    node-pre-gyp info using node-pre-gyp@0.6.32
    node-pre-gyp info using node@11.4.0 | linux | arm
    node-pre-gyp verb command install []
    node-pre-gyp
     info check checked for "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" (not found)
    node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
    node-pre-gyp
     http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
    node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp)
    

    iobroker ist auf nem Raspberry installiert.

    node -v

    v6.15.1

    nodejs -v

    v6.15.1

    Das Problem ist, das es den Pfad https://github.com/EmergingTechnologyAd … oad/4.0.7/ nicht gibt.

    Wie mache ich der Installation klar, dass der Pfad falsch ist?

    Sorry für evtl. dumme Frage, bin ein echter Noob.

    Danke für eure Hilfe im voraus.

    Andreas

    1 Antwort Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #2

      Was steht denn danach im install log. Das ist ggf normal weil er versucht vorkompilierte Pakete zu laden und wenn er für nicht findet kompiliert er selbst.

      Gesendet vom Handy …

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      0
      • I Offline
        I Offline
        itze
        schrieb am zuletzt editiert von
        #3

        Hier die folgenden vielen Zeilen.

        Ich kann damit ehrlich gesagt nix anfangen.

        Vielen Dank für die Hilfe.

         <code>make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
        make: *** [Release/obj.target/serialport/src/serialport.o] Error 1gypgyp ERR! build error 
         ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR!
         stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
        gyp ERR! System Linux 4.9.35-v7+
        
        gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
        gyp ERR! node -v v11.4.0
        gyp ERR! node-gyp -v v3.8.0
        gyp ERR! not ok 
        
        gyp
         ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
        gyp
         ERR! System Linux 4.9.35-v7+gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release"
        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
        gyp ERR! node -v v11.4.0
        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/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release' (1)node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
        node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
        node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:978:16)
        node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
        node-pre-gyp ERR! System Linux 4.9.35-v7+
        node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
        node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
        node-pre-gyp ERR! node -v v11.4.0
        node-pre-gyp ERR! node-pre-gyp -v v0.6.32
        node-pre-gyp ERR! not ok 
        
        npm
         ERR! 
        code
         ELIFECYCLEnpm ERR!
         errno 1
        npm
         ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
        npm ERR!
         Exit status 1npm ERR! 
        
        npm ERR!
         Failed at the serialport@4.0.7 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/2018-12-19T20_33_11_691Z-debug.log
        host.raspberrypi install adapter maxcul
        NPM version: 6.4.1
        npm install iobroker.maxcul --production --save --prefix "/opt/iobroker" (System call)
        node-pre-gyp
        
        info it worked if it ends with
         ok
        node-pre-gyp
         verb 
        cli [ '/usr/local/bin/node',node-pre-gyp
         verb cli   '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp',node-pre-gyp verb cli   'install',
        node-pre-gyp verb cli   '--fallback-to-build' ]
        node-pre-gyp info using node-pre-gyp@0.6.32
        
        node-pre-gyp info using node@11.4.0 | linux | armnode-pre-gyp verb command install []
        
        node-pre-gyp 
        info check checked for "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" (not found)node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
        
        node-pre-gyp
         http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gznode-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz 
        node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) 
        node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz 
        
        node-pre-gyp verb command build [ 'rebuild' ]
        node-pre-gyp
         ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) 
        node-pre-gyp http Connection closed while downloading tarball file 
        node-pre-gyp verb command build [ 'rebuild' ]
        
        In file included from ../src/./serialport.h:7:0,                 from ../src/serialport.cpp:1:
        ../../../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::value>)’:
        ../../../../nan/nan.h:1064:78: warning: ‘v8::Local <v8::string>v8::Value::ToString(v8::Isolate*) const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2537): Use maybe version [-Wdeprecated-declarations]
               v8::Local <v8::string>string = from->ToString(v8::Isolate::GetCurrent());
                                                                                      ^
        
        ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
           return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                            ^
        ../src/serialport.cpp:90:52: note: candidates are:
        
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,                 from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::object>, std::string)’:
        ../src/serialport.cpp:94:54: warning: ‘v8::Local <v8::boolean>v8::Value::ToBoolean() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10242): Use maybe version [-Wdeprecated-declarations]
           return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
                                                              ^
        
        ../src/serialport.cpp:94:70: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2568): Use maybe version [-Wdeprecated-declarations]   return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
                                                                              ^
        ../src/serialport.cpp: In function ‘v8::Local <v8::string>getStringFromObj(v8::Local<v8::object>, std::string)’:
        ../src/serialport.cpp:98:53: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations]
           return getValueFromObject(options, key)->ToString();
                                                             ^
        ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:
        ../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
           return getValueFromObject(options, key)->ToNumber()->NumberValue();
                                                             ^
        ../src/serialport.cpp:102:53: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note: v8::MaybeLocal <v8::number>v8::Value::ToNumber(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <number>ToNumber(
                                                    ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note: v8::Local <v8::number>v8::Value::ToNumber(v8::Isolate*) const
                         Local <number>ToNumber(Isolate* isolate) const);
                                       ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note:   candidate expects 1 argument, 0 provided
                         Local <number>ToNumber(Isolate* isolate) const);
                                       ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:111:48: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations]
           v8::String::Utf8Value path(info[0]->ToString());
                                                        ^
        ../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::value>)’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2991): Use Isolate version [-Wdeprecated-declarations]
           v8::String::Utf8Value path(info[0]->ToString());
                                                         ^
        ../src/serialport.cpp:118:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]
           v8::Local <v8::object>options = info[1]->ToObject();
                                                             ^
        ../src/serialport.cpp:141:100: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]
           v8::Local <v8::object>platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
                                                                                                            ^
        
        In file included from ../src/./serialport.h:7:0,                 from ../src/serialport.cpp:1:
        ../../../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::value>)’:
        ../../../../nan/nan.h:1064:78: warning: ‘v8::Local <v8::string>v8::Value::ToString(v8::Isolate*) const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2537): Use maybe version [-Wdeprecated-declarations]
               v8::Local <v8::string>string = from->ToString(v8::Isolate::GetCurrent());
                                                                                      ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
             int fd = argv[1]->ToInt32()->Int32Value();
                                       ^
        ../src/serialport.cpp:174:31: note: candidates are:
        
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,                 from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp:180:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(2, argv);
                                      ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:193:29: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp:200:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]   v8::Local <v8::object>options = info[1]->ToObject();
                                                             ^
        ../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’
           baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                            ^
        ../src/serialport.cpp:217:116: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:240:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:252:29: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp:259:52: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]
           v8::Local <v8::object>buffer = info[1]->ToObject();
                                                            ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:../src/serialport.cpp:339:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
           baton->fd = info[0]->ToInt32()->Int32Value();
                                        ^
        ../src/serialport.cpp:369:32: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:403:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:../src/serialport.cpp:465:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(2, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:480:29: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:516:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(2, argv);
                                      ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:528:29: note: candidates are:
        
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,                 from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp:535:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]
           v8::Local <v8::object>options = info[1]->ToObject();
                                                             ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:573:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:585:29: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:617:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’
           return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                            ^
        ../src/serialport.cpp:90:52: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::object>, std::string)’:
        ../src/serialport.cpp:94:54: warning: ‘v8::Local <v8::boolean>v8::Value::ToBoolean() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10242): Use maybe version [-Wdeprecated-declarations]
           return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
                                                              ^
        ../src/serialport.cpp:94:70: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2568): Use maybe version [-Wdeprecated-declarations]
           return getValueFromObject(options, key)->ToBoolean()->BooleanValue();
                                                                              ^
        
        ../src/serialport.cpp: In function ‘v8::Local <v8::string>getStringFromObj(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:98:53: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations]
           return getValueFromObject(options, key)->ToString();
                                                             ^
        ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:
        ../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’
           return getValueFromObject(options, key)->ToNumber()->NumberValue();
                                                             ^
        ../src/serialport.cpp:102:53: note: candidates are:
        
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,                 from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note: v8::MaybeLocal <v8::number>v8::Value::ToNumber(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <number>ToNumber(
                                                    ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note: v8::Local <v8::number>v8::Value::ToNumber(v8::Isolate*) const
                         Local <number>ToNumber(Isolate* isolate) const);
                                       ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note:   candidate expects 1 argument, 0 provided
                         Local <number>ToNumber(Isolate* isolate) const);
                                       ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:111:48: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations]
           v8::String::Utf8Value path(info[0]->ToString());
                                                        ^
        ../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::value>)’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2991): Use Isolate version [-Wdeprecated-declarations]
           v8::String::Utf8Value path(info[0]->ToString());
                                                         ^
        
        ../src/serialport.cpp:118:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]   v8::Local <v8::object>options = info[1]->ToObject();
                                                             ^
        
        ../src/serialport.cpp:141:100: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]   v8::Local <v8::object>platformOptions = getValueFromObject(options, "platformOptions")->ToObject();
                                                                                                            ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
             int fd = argv[1]->ToInt32()->Int32Value();
                                       ^
        ../src/serialport.cpp:174:31: note: candidates are:
        
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,                 from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp:180:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]   data->callback.Call(2, argv);
                                      ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:193:29: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp:200:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]   v8::Local <v8::object>options = info[1]->ToObject();
                                                             ^
        
        ../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’   baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                            ^
        ../src/serialport.cpp:217:116: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
        ../src/serialport.cpp:240:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        ../src/serialport.cpp:252:29: note: candidates are:
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided                 Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp:259:52: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]
           v8::Local <v8::object>buffer = info[1]->ToObject();
                                                            ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:../src/serialport.cpp:339:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
           baton->fd = info[0]->ToInt32()->Int32Value();
                                        ^
        
        ../src/serialport.cpp:369:32: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
        ../src/serialport.cpp:403:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:../src/serialport.cpp:465:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(2, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        
        ../src/serialport.cpp:480:29: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,                 from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:516:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(2, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        
        ../src/serialport.cpp:528:29: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp:535:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations]   v8::Local <v8::object>options = info[1]->ToObject();
                                                             ^
        
        ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:573:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
           int fd = info[0]->ToInt32()->Int32Value();
                                     ^
        
        ../src/serialport.cpp:585:29: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: v8::MaybeLocal <v8::int32>v8::Value::ToInt32(v8::Local<v8::context>) const
           V8_WARN_UNUSED_RESULT MaybeLocal <int32>ToInt32(Local <context>context) const;
                                                   ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0,
                         from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63,
                         from ../../../../nan/nan.h:52,
                         from ../src/./serialport.h:7,
                         from ../src/serialport.cpp:1:
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const
                         Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note:   candidate expects 1 argument, 0 provided                 Local <int32>ToInt32(Isolate* isolate) const);
                                      ^
        /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^
        
        ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:91:1: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
        ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
        ../src/serialport.cpp:617:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations]
           data->callback.Call(1, argv);
                                      ^
        
        ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:103:1: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
        
        ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:91:1: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
        
        ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:103:1: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
        
        make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
        gyp
        make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
         ERR! build error 
        gypgyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)</v8::object></v8::object></v8::object></v8::value></v8::value></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::string></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::object></v8::object></v8::object></v8::object></v8::value></v8::string></number></number></v8::number></number></v8::context></v8::number></v8::object></v8::string></v8::object></v8::string></v8::boolean></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::object></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::string></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::string></v8::string></v8::value></v8::object></v8::object></v8::object></v8::object></v8::value></v8::string></number></number></v8::number></number></v8::context></v8::number></v8::object></v8::string></v8::object></v8::string></v8::boolean></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::object></v8::string></v8::string></v8::value></anonymous></code>
        
        1 Antwort Letzte Antwort
        0
        • I Offline
          I Offline
          itze
          schrieb am zuletzt editiert von
          #4

          Über die console kommt dann folgendes:

          root@raspberrypi:/opt/iobroker# npm install iobroker.maxcul
          
          > serialport@4.0.7 install /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
          > node-pre-gyp install --fallback-to-build
          
          node-pre-gyp info it worked if it ends with ok
          node-pre-gyp verb cli [ '/usr/local/bin/node',
          node-pre-gyp verb cli   '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp',
          node-pre-gyp verb cli   'install',
          node-pre-gyp verb cli   '--fallback-to-build' ]
          node-pre-gyp info using node-pre-gyp@0.6.32
          node-pre-gyp info using node@11.4.0 | linux | arm
          node-pre-gyp verb command install []
          node-pre-gyp info check checked for "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" (not found)
          node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
          node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
          node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp)
          node-pre-gyp http EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build'
          node-pre-gyp verb command build [ 'rebuild' ]
          node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
          node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
          node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp)
          node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
          node-pre-gyp verb command build [ 'rebuild' ]
          node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz
          node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp)
          node-pre-gyp http Connection closed while downloading tarball file
          node-pre-gyp verb command build [ 'rebuild' ]
          gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.4.0"
          gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp"
          gyp WARN install got an error, rolling back install
          gyp WARN install got an error, rolling back install
          gyp ERR! configure error
          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp'
          gyp ERR! System Linux 4.9.35-v7+
          gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
          gyp ERR! node -v v11.4.0
          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/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release' (1)
          node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:978:16)
          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
          node-pre-gyp ERR! System Linux 4.9.35-v7+
          node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
          node-pre-gyp ERR! node -v v11.4.0
          node-pre-gyp ERR! node-pre-gyp -v v0.6.32
          node-pre-gyp ERR! not ok
          Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release' (1)
          gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.4.0"
          gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp"
          gyp WARN install got an error, rolling back install
          gyp WARN install got an error, rolling back install
          gyp ERR! configure error
          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul'
          gyp ERR!gyp System  Linux 4.9.35-v7+
          WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.4.0"
          gypgyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp"
           ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
          gyp ERR! node -v v11.4.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          gyp WARN install got an error, rolling back install
          gyp WARN install got an error, rolling back install
          gyp ERR! configure error
          gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul'
          gyp ERR! System Linux 4.9.35-v7+
          gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport
          gyp ERR! node -v v11.4.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the serialport@4.0.7 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/2018-12-19T22_21_38_983Z-debug.log</anonymous> 
          
          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
          FAQ Cloud / IOT
          HowTo: Node.js-Update
          HowTo: Backup/Restore
          Downloads
          BLOG

          536

          Online

          32.7k

          Benutzer

          82.5k

          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