Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. iobroker bringt mich zum Verzweifeln...

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    467

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    385

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    976

iobroker bringt mich zum Verzweifeln...

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installation abgebrochenmacosraspi setupsupport
6 Beiträge 3 Kommentatoren 675 Aufrufe 1 Beobachtet
  • Ä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.
  • M Offline
    M Offline
    marios774
    schrieb am zuletzt editiert von
    #1

    OS: macOS 10.14 - Installation auf /usr/local/iobroker
    Nach ca. 1 Jahr ohne Probleme lief von jetzt auf gleich nach einem Update eines Adapters nichts mehr..

    der NPM war weg, in der INFO Kachel stand NPM: -

    Es ließ sich nichts mehr installieren.
    Per Terminal brachten auch Update-Versuche von node.js keinen Erfolg. Alle tollen Anleitungen mit / ohne brew klappten nicht.

    Die supertolle Installationsroutine auf der Seite iobroker.ent zeigt immer an Ende ...installed successfully mit kilometerweise Fehlermeldungen...

    Aktuell versuche ich mich mit VirtualBox und dem RASPIAN-Desktop, dort ließ es sich aber auch nur wiederwillig installieren, da das max. Node das sich installieren ließ v10.15.2 mit npm v.5.8.0 war. Durch einen sudo npm install -g npm@6 konnte ich mit vielen Fehlermeldungen das npm zumindest auf 6.13.4 updaten. das Node ist irgendwie immer noch bei 10.15.2

    Aktuell sehe ich zumindest eine halbwegs vertraute Oberfläche....
    Hat irgendjemand eine Idee wie ich die Probleme mit dem MAC oder dem VB in den Griff bekommen kann.

    Gibt es eigentlich auch User die TeamVIEWER Support anbieten??

    Gruß uns schöne Weihnachtstage.
    Mario

    HomoranH PeoplesP 2 Antworten Letzte Antwort
    0
    • M marios774

      OS: macOS 10.14 - Installation auf /usr/local/iobroker
      Nach ca. 1 Jahr ohne Probleme lief von jetzt auf gleich nach einem Update eines Adapters nichts mehr..

      der NPM war weg, in der INFO Kachel stand NPM: -

      Es ließ sich nichts mehr installieren.
      Per Terminal brachten auch Update-Versuche von node.js keinen Erfolg. Alle tollen Anleitungen mit / ohne brew klappten nicht.

      Die supertolle Installationsroutine auf der Seite iobroker.ent zeigt immer an Ende ...installed successfully mit kilometerweise Fehlermeldungen...

      Aktuell versuche ich mich mit VirtualBox und dem RASPIAN-Desktop, dort ließ es sich aber auch nur wiederwillig installieren, da das max. Node das sich installieren ließ v10.15.2 mit npm v.5.8.0 war. Durch einen sudo npm install -g npm@6 konnte ich mit vielen Fehlermeldungen das npm zumindest auf 6.13.4 updaten. das Node ist irgendwie immer noch bei 10.15.2

      Aktuell sehe ich zumindest eine halbwegs vertraute Oberfläche....
      Hat irgendjemand eine Idee wie ich die Probleme mit dem MAC oder dem VB in den Griff bekommen kann.

      Gibt es eigentlich auch User die TeamVIEWER Support anbieten??

      Gruß uns schöne Weihnachtstage.
      Mario

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von Homoran
      #2

      @marios774 sagte in iobroker bringt mich zum Verzweifeln...:

      Aktuell versuche ich mich mit VirtualBox und dem RASPIAN-Desktop

      Raspbian Desktop ist nur für Raspberry geeignet.

      in einer VM solltest du ein debian, passend zu deiner (simulierten) Hardware nehmen

      @marios774 sagte in iobroker bringt mich zum Verzweifeln...:

      Alle tollen Anleitungen mit / ohne brew klappten nicht.

      Was ist das denn?
      Stehen die bei uns auf der Website?

      kein Support per PN! - Fragen im Forum stellen -
      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Antwort Letzte Antwort
      0
      • M marios774

        OS: macOS 10.14 - Installation auf /usr/local/iobroker
        Nach ca. 1 Jahr ohne Probleme lief von jetzt auf gleich nach einem Update eines Adapters nichts mehr..

        der NPM war weg, in der INFO Kachel stand NPM: -

        Es ließ sich nichts mehr installieren.
        Per Terminal brachten auch Update-Versuche von node.js keinen Erfolg. Alle tollen Anleitungen mit / ohne brew klappten nicht.

        Die supertolle Installationsroutine auf der Seite iobroker.ent zeigt immer an Ende ...installed successfully mit kilometerweise Fehlermeldungen...

        Aktuell versuche ich mich mit VirtualBox und dem RASPIAN-Desktop, dort ließ es sich aber auch nur wiederwillig installieren, da das max. Node das sich installieren ließ v10.15.2 mit npm v.5.8.0 war. Durch einen sudo npm install -g npm@6 konnte ich mit vielen Fehlermeldungen das npm zumindest auf 6.13.4 updaten. das Node ist irgendwie immer noch bei 10.15.2

        Aktuell sehe ich zumindest eine halbwegs vertraute Oberfläche....
        Hat irgendjemand eine Idee wie ich die Probleme mit dem MAC oder dem VB in den Griff bekommen kann.

        Gibt es eigentlich auch User die TeamVIEWER Support anbieten??

        Gruß uns schöne Weihnachtstage.
        Mario

        PeoplesP Offline
        PeoplesP Offline
        Peoples
        schrieb am zuletzt editiert von
        #3

        @marios774

        Wie Homoran schon sagte musst du händisch installieren. Hier der Link: https://www.iobroker.net/#de/documentation/install/linux.md

        Ich beantworte keine Fragen zu Themen via PN

        1 Antwort Letzte Antwort
        0
        • M Offline
          M Offline
          marios774
          schrieb am zuletzt editiert von
          #4

          Da ich bei einem normalen Debian VM an dem node 10.15. & npm 5.8.0 stecken geblieben bin, versuchte ich es eben folgendem.. Link
          https://webnist.de/wie-man-raspberry-pi-desktop-unter-virtualbox-einrichtet/

          Bei i386 CPU's gibt es im Node wohl aktuell Probleme mit höheren Versionen.
          Die folgenden Fehler entstehen beim Installation auf macOS mit Xcode und aktuelle Installation des node ..13.5.0.pkg

          macos-10:~ user$ curl -sL https://iobroker.net/install.sh | bash -
          
          ==========================================================================
          
              Welcome to the ioBroker installer!
              Installer version: 2019-11-10
              
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/4)
          ==========================================================================
          
          Password:
          sudo: brew: command not found
          Changing npm registry to https://registry.npmjs.org
          Since brew is not installed, frequently-used dependencies could not be installed.
          Before installing some adapters, you might have to install some packages yourself.
          Please check the adapter manuals before installing them.
          
          ==========================================================================
              Creating ioBroker user and directory (2/4)
          ==========================================================================
          
          Directory /usr/local/iobroker created
          
          ==========================================================================
              Installing ioBroker (3/4)
          ==========================================================================
          
          ../src/unix_dgram.cc:118:8: warning: 'MakeCallback' is deprecated
                [-Wdeprecated-declarations]
            Nan::MakeCallback(Nan::GetCurrentContext()->Global(),
                 ^
          ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked
                deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/unix_dgram.cc:127:8: warning: 'MakeCallback' is deprecated
                [-Wdeprecated-declarations]
            Nan::MakeCallback(Nan::GetCurrentContext()->Global(),
                 ^
          ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked
                deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/unix_dgram.cc:189:37: error: too few arguments to function call, single
                argument 'context' was not specified
            domain      = info[0]->Int32Value();
                          ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:190:37: error: too few arguments to function call, single
                argument 'context' was not specified
            type        = info[1]->Int32Value();
                          ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:191:37: error: too few arguments to function call, single
                argument 'context' was not specified
            protocol    = info[2]->Int32Value();
                          ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:230:28: error: too few arguments to function call, single
                argument 'context' was not specified
            fd = info[0]->Int32Value();
                 ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:231:21: error: no matching constructor for initialization
                of 'String::Utf8Value'
            String::Utf8Value path(info[1]);
                              ^    ~~~~~~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: 
                candidate constructor not viable: no known conversion from
                'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
              Utf8Value(const Utf8Value&) = delete;
              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: 
                candidate constructor not viable: requires 2 arguments, but 1 was provided
              Utf8Value(Isolate* isolate, Local<v8::Value> obj);
              ^
          ../src/unix_dgram.cc:258:28: error: too few arguments to function call, single
                argument 'context' was not specified
            fd = info[0]->Int32Value();
                 ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:259:27: error: too few arguments to function call, single
                argument 'context' was not specified
            buf = info[1]->ToObject();
                  ~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                'ToObject' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:260:33: error: too few arguments to function call, single
                argument 'context' was not specified
            offset = info[2]->Uint32Value();
                     ~~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2776:3: note: 
                'Uint32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:261:33: error: too few arguments to function call, single
                argument 'context' was not specified
            length = info[3]->Uint32Value();
                     ~~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2776:3: note: 
                'Uint32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:262:21: error: no matching constructor for initialization
                of 'String::Utf8Value'
            String::Utf8Value path(info[4]);
                              ^    ~~~~~~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: 
                candidate constructor not viable: no known conversion from
                'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
              Utf8Value(const Utf8Value&) = delete;
              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: 
                candidate constructor not viable: requires 2 arguments, but 1 was provided
              Utf8Value(Isolate* isolate, Local<v8::Value> obj);
              ^
          ../src/unix_dgram.cc:302:28: error: too few arguments to function call, single
                argument 'context' was not specified
            fd = info[0]->Int32Value();
                 ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:303:27: error: too few arguments to function call, single
                argument 'context' was not specified
            buf = info[1]->ToObject();
                  ~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                'ToObject' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:340:28: error: too few arguments to function call, single
                argument 'context' was not specified
            fd = info[0]->Int32Value();
                 ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:341:21: error: no matching constructor for initialization
                of 'String::Utf8Value'
            String::Utf8Value path(info[1]);
                              ^    ~~~~~~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: 
                candidate constructor not viable: no known conversion from
                'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
              Utf8Value(const Utf8Value&) = delete;
              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: 
                candidate constructor not viable: requires 2 arguments, but 1 was provided
              Utf8Value(Isolate* isolate, Local<v8::Value> obj);
              ^
          ../src/unix_dgram.cc:361:28: error: too few arguments to function call, single
                argument 'context' was not specified
            fd = info[0]->Int32Value();
                 ~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                'Int32Value' declared here
            V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:395:11: error: no matching member function for call to
                'Set'
            target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX));
            ~~~~~~~~^~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                              ^
          ../src/unix_dgram.cc:396:11: error: no matching member function for call to
                'Set'
            target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM));
            ~~~~~~~~^~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                              ^
          ../src/unix_dgram.cc:399:63: error: too few arguments to function call, single
                argument 'context' was not specified
                        Nan::New<FunctionTemplate>(Socket)->GetFunction());
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:6283:3: note: 
                'GetFunction' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/unix_dgram.cc:402:61: error: too few arguments to function call, single
                argument 'context' was not specified
                        Nan::New<FunctionTemplate>(Bind)->GetFunction());
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:6283:3: note: 
                'GetFunction' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          fatal error: too many errors emitted, stopping now [-ferror-limit=]
          2 warnings and 20 errors generated.
          make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
          gyp 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:194:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:305:20)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
          gyp ERR! System Darwin 18.7.0
          gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /usr/local/iobroker/node_modules/unix-dgram
          gyp ERR! node -v v13.5.0
          gyp ERR! node-gyp -v v5.0.5
          gyp ERR! not ok 
          ../src/serialport.cpp:41:48: error: too few arguments to function call, single
                argument 'context' was not specified
            v8::String::Utf8Value path(info[0]->ToString());
                                       ~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2750:3: note: 
                'ToString' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/serialport.cpp:48:53: error: too few arguments to function call, single
                argument 'context' was not specified
            v8::Local<v8::Object> options = info[1]->ToObject();
                                            ~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                'ToObject' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/serialport.cpp:95:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(2, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:113:53: error: too few arguments to function call, single
                argument 'context' was not specified
            v8::Local<v8::Object> options = info[1]->ToObject();
                                            ~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                'ToObject' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/serialport.cpp:150:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(1, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:188:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(1, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:231:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(1, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:250:53: error: too few arguments to function call, single
                argument 'context' was not specified
            v8::Local<v8::Object> options = info[1]->ToObject();
                                            ~~~~~~~~~~~~~~~~~ ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                'ToObject' declared here
            V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
            ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                expanded from macro 'V8_WARN_UNUSED_RESULT'
          #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                        ^
          ../src/serialport.cpp:285:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(1, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:329:14: error: no matching member function for call to
                'Set'
              results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<...
              ~~~~~~~~~^~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                              ^
          ../src/serialport.cpp:330:14: error: no matching member function for call to
                'Set'
              results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<...
              ~~~~~~~~~^~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                              ^
          ../src/serialport.cpp:331:14: error: no matching member function for call to
                'Set'
              results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<...
              ~~~~~~~~~^~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                              ^
          ../src/serialport.cpp:336:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(2, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:378:14: error: no matching member function for call to
                'Set'
              results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan:...
              ~~~~~~~~~^~~
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                              ^
          /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                candidate function not viable: requires 3 arguments, but 2 were provided
            V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                              ^
          ../src/serialport.cpp:383:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(2, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:424:18: warning: 'Call' is deprecated
                [-Wdeprecated-declarations]
            data->callback.Call(1, argv);
                           ^
          ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
            NAN_DEPRECATED inline v8::Local<v8::Value>
            ^
          ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
          # define NAN_DEPRECATED __attribute__((deprecated))
                                                 ^
          ../src/serialport.cpp:460:8: error: variable has incomplete type 'void'
            void init(v8::Handle<v8::Object> target) {
                 ^
          ../src/serialport.cpp:460:34: error: expected '(' for function-style cast or
                type construction
            void init(v8::Handle<v8::Object> target) {
                                 ~~~~~~~~~~^
          ../src/serialport.cpp:460:17: error: no member named 'Handle' in namespace 'v8'
            void init(v8::Handle<v8::Object> target) {
                      ~~~~^
          ../src/serialport.cpp:460:36: error: use of undeclared identifier 'target'
            void init(v8::Handle<v8::Object> target) {
                                             ^
          ../src/serialport.cpp:460:43: error: expected ';' after top level declarator
            void init(v8::Handle<v8::Object> target) {
                                                    ^
                                                    ;
          8 warnings and 13 errors generated.
          make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
          gyp 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:194:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:305:20)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
          gyp ERR! System Darwin 18.7.0
          gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /usr/local/iobroker/node_modules/serialport
          gyp ERR! node -v v13.5.0
          gyp ERR! node-gyp -v v5.0.5
          gyp ERR! not ok 
          
          ==========================================================================
              Finalizing installation (4/4)
          ==========================================================================
          
          Enabling autostart...
          bash: line 1047: /Users/user/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory
          /Users/user/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory
          Autostart enabled!
          bash: line 272: return: 10.211.55.4: numeric argument required
          
          ==========================================================================
          
              ioBroker was installed successfully
              Open http://:8081 in a browser and start configuring!
          
          ==========================================================================
          
          
          You need to re-login before doing anything else on the console!
          
          macos-10:~ user$ node -v
          v13.5.0
          macos-10:~ user$ npm -v
          6.13.4
          
          
          HomoranH 1 Antwort Letzte Antwort
          0
          • M marios774

            Da ich bei einem normalen Debian VM an dem node 10.15. & npm 5.8.0 stecken geblieben bin, versuchte ich es eben folgendem.. Link
            https://webnist.de/wie-man-raspberry-pi-desktop-unter-virtualbox-einrichtet/

            Bei i386 CPU's gibt es im Node wohl aktuell Probleme mit höheren Versionen.
            Die folgenden Fehler entstehen beim Installation auf macOS mit Xcode und aktuelle Installation des node ..13.5.0.pkg

            macos-10:~ user$ curl -sL https://iobroker.net/install.sh | bash -
            
            ==========================================================================
            
                Welcome to the ioBroker installer!
                Installer version: 2019-11-10
                
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            Password:
            sudo: brew: command not found
            Changing npm registry to https://registry.npmjs.org
            Since brew is not installed, frequently-used dependencies could not be installed.
            Before installing some adapters, you might have to install some packages yourself.
            Please check the adapter manuals before installing them.
            
            ==========================================================================
                Creating ioBroker user and directory (2/4)
            ==========================================================================
            
            Directory /usr/local/iobroker created
            
            ==========================================================================
                Installing ioBroker (3/4)
            ==========================================================================
            
            ../src/unix_dgram.cc:118:8: warning: 'MakeCallback' is deprecated
                  [-Wdeprecated-declarations]
              Nan::MakeCallback(Nan::GetCurrentContext()->Global(),
                   ^
            ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked
                  deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/unix_dgram.cc:127:8: warning: 'MakeCallback' is deprecated
                  [-Wdeprecated-declarations]
              Nan::MakeCallback(Nan::GetCurrentContext()->Global(),
                   ^
            ../../nan/nan.h:1024:3: note: 'MakeCallback' has been explicitly marked
                  deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/unix_dgram.cc:189:37: error: too few arguments to function call, single
                  argument 'context' was not specified
              domain      = info[0]->Int32Value();
                            ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:190:37: error: too few arguments to function call, single
                  argument 'context' was not specified
              type        = info[1]->Int32Value();
                            ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:191:37: error: too few arguments to function call, single
                  argument 'context' was not specified
              protocol    = info[2]->Int32Value();
                            ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:230:28: error: too few arguments to function call, single
                  argument 'context' was not specified
              fd = info[0]->Int32Value();
                   ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:231:21: error: no matching constructor for initialization
                  of 'String::Utf8Value'
              String::Utf8Value path(info[1]);
                                ^    ~~~~~~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: 
                  candidate constructor not viable: no known conversion from
                  'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
                Utf8Value(const Utf8Value&) = delete;
                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: 
                  candidate constructor not viable: requires 2 arguments, but 1 was provided
                Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                ^
            ../src/unix_dgram.cc:258:28: error: too few arguments to function call, single
                  argument 'context' was not specified
              fd = info[0]->Int32Value();
                   ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:259:27: error: too few arguments to function call, single
                  argument 'context' was not specified
              buf = info[1]->ToObject();
                    ~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                  'ToObject' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:260:33: error: too few arguments to function call, single
                  argument 'context' was not specified
              offset = info[2]->Uint32Value();
                       ~~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2776:3: note: 
                  'Uint32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:261:33: error: too few arguments to function call, single
                  argument 'context' was not specified
              length = info[3]->Uint32Value();
                       ~~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2776:3: note: 
                  'Uint32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:262:21: error: no matching constructor for initialization
                  of 'String::Utf8Value'
              String::Utf8Value path(info[4]);
                                ^    ~~~~~~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: 
                  candidate constructor not viable: no known conversion from
                  'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
                Utf8Value(const Utf8Value&) = delete;
                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: 
                  candidate constructor not viable: requires 2 arguments, but 1 was provided
                Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                ^
            ../src/unix_dgram.cc:302:28: error: too few arguments to function call, single
                  argument 'context' was not specified
              fd = info[0]->Int32Value();
                   ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:303:27: error: too few arguments to function call, single
                  argument 'context' was not specified
              buf = info[1]->ToObject();
                    ~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                  'ToObject' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:340:28: error: too few arguments to function call, single
                  argument 'context' was not specified
              fd = info[0]->Int32Value();
                   ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:341:21: error: no matching constructor for initialization
                  of 'String::Utf8Value'
              String::Utf8Value path(info[1]);
                                ^    ~~~~~~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3187:5: note: 
                  candidate constructor not viable: no known conversion from
                  'v8::Local<v8::Value>' to 'const v8::String::Utf8Value' for 1st argument
                Utf8Value(const Utf8Value&) = delete;
                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3180:5: note: 
                  candidate constructor not viable: requires 2 arguments, but 1 was provided
                Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                ^
            ../src/unix_dgram.cc:361:28: error: too few arguments to function call, single
                  argument 'context' was not specified
              fd = info[0]->Int32Value();
                   ~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2778:3: note: 
                  'Int32Value' declared here
              V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:395:11: error: no matching member function for call to
                  'Set'
              target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX));
              ~~~~~~~~^~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                ^
            ../src/unix_dgram.cc:396:11: error: no matching member function for call to
                  'Set'
              target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM));
              ~~~~~~~~^~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                ^
            ../src/unix_dgram.cc:399:63: error: too few arguments to function call, single
                  argument 'context' was not specified
                          Nan::New<FunctionTemplate>(Socket)->GetFunction());
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:6283:3: note: 
                  'GetFunction' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/unix_dgram.cc:402:61: error: too few arguments to function call, single
                  argument 'context' was not specified
                          Nan::New<FunctionTemplate>(Bind)->GetFunction());
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:6283:3: note: 
                  'GetFunction' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            fatal error: too many errors emitted, stopping now [-ferror-limit=]
            2 warnings and 20 errors generated.
            make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
            gyp 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:194:23)
            gyp ERR! stack     at ChildProcess.emit (events.js:305:20)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
            gyp ERR! System Darwin 18.7.0
            gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
            gyp ERR! cwd /usr/local/iobroker/node_modules/unix-dgram
            gyp ERR! node -v v13.5.0
            gyp ERR! node-gyp -v v5.0.5
            gyp ERR! not ok 
            ../src/serialport.cpp:41:48: error: too few arguments to function call, single
                  argument 'context' was not specified
              v8::String::Utf8Value path(info[0]->ToString());
                                         ~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2750:3: note: 
                  'ToString' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/serialport.cpp:48:53: error: too few arguments to function call, single
                  argument 'context' was not specified
              v8::Local<v8::Object> options = info[1]->ToObject();
                                              ~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                  'ToObject' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/serialport.cpp:95:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(2, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:113:53: error: too few arguments to function call, single
                  argument 'context' was not specified
              v8::Local<v8::Object> options = info[1]->ToObject();
                                              ~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                  'ToObject' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/serialport.cpp:150:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(1, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:188:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(1, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:231:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(1, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:250:53: error: too few arguments to function call, single
                  argument 'context' was not specified
              v8::Local<v8::Object> options = info[1]->ToObject();
                                              ~~~~~~~~~~~~~~~~~ ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:2754:3: note: 
                  'ToObject' declared here
              V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
              ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8config.h:419:31: note: 
                  expanded from macro 'V8_WARN_UNUSED_RESULT'
            #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
                                          ^
            ../src/serialport.cpp:285:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(1, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:329:14: error: no matching member function for call to
                  'Set'
                results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<...
                ~~~~~~~~~^~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                ^
            ../src/serialport.cpp:330:14: error: no matching member function for call to
                  'Set'
                results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<...
                ~~~~~~~~~^~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                ^
            ../src/serialport.cpp:331:14: error: no matching member function for call to
                  'Set'
                results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<...
                ~~~~~~~~~^~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                ^
            ../src/serialport.cpp:336:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(2, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:378:14: error: no matching member function for call to
                  'Set'
                results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan:...
                ~~~~~~~~~^~~
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3547:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                ^
            /Users/user/Library/Caches/node-gyp/13.5.0/include/node/v8.h:3550:37: note: 
                  candidate function not viable: requires 3 arguments, but 2 were provided
              V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                ^
            ../src/serialport.cpp:383:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(2, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:424:18: warning: 'Call' is deprecated
                  [-Wdeprecated-declarations]
              data->callback.Call(1, argv);
                             ^
            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
              NAN_DEPRECATED inline v8::Local<v8::Value>
              ^
            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
            # define NAN_DEPRECATED __attribute__((deprecated))
                                                   ^
            ../src/serialport.cpp:460:8: error: variable has incomplete type 'void'
              void init(v8::Handle<v8::Object> target) {
                   ^
            ../src/serialport.cpp:460:34: error: expected '(' for function-style cast or
                  type construction
              void init(v8::Handle<v8::Object> target) {
                                   ~~~~~~~~~~^
            ../src/serialport.cpp:460:17: error: no member named 'Handle' in namespace 'v8'
              void init(v8::Handle<v8::Object> target) {
                        ~~~~^
            ../src/serialport.cpp:460:36: error: use of undeclared identifier 'target'
              void init(v8::Handle<v8::Object> target) {
                                               ^
            ../src/serialport.cpp:460:43: error: expected ';' after top level declarator
              void init(v8::Handle<v8::Object> target) {
                                                      ^
                                                      ;
            8 warnings and 13 errors generated.
            make: *** [Release/obj.target/serialport/src/serialport.o] Error 1
            gyp 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:194:23)
            gyp ERR! stack     at ChildProcess.emit (events.js:305:20)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
            gyp ERR! System Darwin 18.7.0
            gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
            gyp ERR! cwd /usr/local/iobroker/node_modules/serialport
            gyp ERR! node -v v13.5.0
            gyp ERR! node-gyp -v v5.0.5
            gyp ERR! not ok 
            
            ==========================================================================
                Finalizing installation (4/4)
            ==========================================================================
            
            Enabling autostart...
            bash: line 1047: /Users/user/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory
            /Users/user/Library/LaunchAgents/org.ioBroker.LaunchAtLogin.plist: No such file or directory
            Autostart enabled!
            bash: line 272: return: 10.211.55.4: numeric argument required
            
            ==========================================================================
            
                ioBroker was installed successfully
                Open http://:8081 in a browser and start configuring!
            
            ==========================================================================
            
            
            You need to re-login before doing anything else on the console!
            
            macos-10:~ user$ node -v
            v13.5.0
            macos-10:~ user$ npm -v
            6.13.4
            
            
            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #5

            @marios774
            Warum arbeitest du mit fremden Anleitungen.
            Dafür geben wir keinen Support, weil wir diese (alle) weder überprüfen können/wollen, noch einen Einfluss auf die Richtigkeit haben!

            @marios774 sagte in iobroker bringt mich zum Verzweifeln...:

            Bei i386 CPU's gibt es im Node wohl aktuell Probleme mit höheren Versionen.

            Nein, das ist wahrscheinlich dein Problem!
            Bei 64Bit Sytemene darf nicht mehr das i386 Image verwendet werden, sondern es muss das AMD64 Image verwendet werden, auch wenn es eine INTEL CPU ist

            kein Support per PN! - Fragen im Forum stellen -
            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Antwort Letzte Antwort
            0
            • PeoplesP Offline
              PeoplesP Offline
              Peoples
              schrieb am zuletzt editiert von
              #6

              Ich habe folgende verwendet und da läuft alles perfekt:
              debian-10.1.0-amd64-netinst.iso

              Ich beantworte keine Fragen zu Themen via PN

              1 Antwort Letzte Antwort
              1

              Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

              Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

              Mit deinem Input könnte dieser Beitrag noch besser werden 💗

              Registrieren Anmelden
              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

              487

              Online

              32.8k

              Benutzer

              82.8k

              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