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. Beim Installieren von Zigbee Adapter abgestürzt!!!

NEWS

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

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

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

Beim Installieren von Zigbee Adapter abgestürzt!!!

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
zigbee adapter
34 Beiträge 4 Kommentatoren 1.3k Aufrufe 2 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.
  • J jwedenig

    @Asgothian
    buh, wie immer das alles auch geht!
    d.h. ich muss eine neue Sd Karte kaufen und IObroker von der Pike neu installieren?
    Da brauch ich ein Monat, bis dass alles wieder spielt:-(
    Bin leider ein purer Anwender:-(

    AsgothianA Offline
    AsgothianA Offline
    Asgothian
    Developer
    schrieb am zuletzt editiert von Asgothian
    #7

    @jwedenig

    • Neue SD-Karte: Ja - am besten 2 (Grund: siehe unten)
    • Aus Image neu aufsetzen: Ja.
    • Frage: hast du den Backup Adapter laufen ?

    Dann beginnt der Versuch einer Rekonstruktion. Ich kann bei mir die SD-Karten am PC einstecken und lesen. Allerdings benutze ich kein Windows - da weiss ich nicht ob das geht. Wenn bei Dir der Backup adapter läuft kannst du versuchen die Backup Datei von der defekten Karte zu lesen und das Backup dann auf dem neu installierten ioBroker einspielen.

    Wenn nicht kannst du versuchen das Verzeichnis /opt/iobroker von der defekten Karte zu lesen und auf die neue Karte zu übertragen. Da solltest du dann alle Skripte und Einstellungen sowie alle installierten Adapter haben.

    Ich würde zur Sicherheit allerdings vorher zumindest die bei Dir installierten Adapter vorher auf dem ioBroker installieren.

    Als letztes: Wenn alles soweit aufgesetzt ist wie du es laufen haben willst - Karte ziehen, Karte klonen, geklonte Karte bei Seite legen.

    A.

    Nachtrag: Dieser Artikel listet 2 Programme für Windows, die in der Lage sein sollten auf Daten der defekten Karte zuzugreifen.

    ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
    "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

    1 Antwort Letzte Antwort
    0
    • J Offline
      J Offline
      jwedenig
      Most Active
      schrieb am zuletzt editiert von
      #8

      hey super, danke erstmals, werde heute Abend mal alles versuchen und dann weiter berichten!
      Danke Dir vorerst
      Liebe Grüße
      Jürgen

      1 Antwort Letzte Antwort
      0
      • J Offline
        J Offline
        jwedenig
        Most Active
        schrieb am zuletzt editiert von
        #9

        Hi! Bin leider beim Neuinstallieren und habe alles nach Anleitung gemacht, leider lässt sich Iobroker nicht starten.
        Irgend wer eine Idee?
        Hier mal ein Auszug vom Terminal:

        ioBroker was installed successfully
        Open http://192.168.1.232:8081 in a browser and start configuring!

        ==========================================================================

        You need to re-login before doing anything else on the console!

        root@raspberrypi:~# ssh root@192.168.1.232
        The authenticity of host '192.168.1.232 (192.168.1.232)' can't be established.
        ECDSA key fingerprint is SHA256:tT6L/H1YSEyQ1/TvNJ6L8w5xO8XWPGw+Es6R3lMRtiM.
        Are you sure you want to continue connecting (yes/no)? yes
        Warning: Permanently added '192.168.1.232' (ECDSA) to the list of known hosts.
        root@192.168.1.232's password:
        Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.

        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Tue Oct 1 08:57:35 2019 from 192.168.1.159
        root@raspberrypi:~# reboot
        Connection to 192.168.1.232 closed by remote host.
        Connection to 192.168.1.232 closed.
        Wedls-MacBook-Pro:~ wedl$ ssh root@192.168.1.232
        root@192.168.1.232's password:
        Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.

        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Tue Oct 1 09:01:25 2019 from 192.168.1.232

        arteckA 2 Antworten Letzte Antwort
        0
        • J jwedenig

          Hi! Bin leider beim Neuinstallieren und habe alles nach Anleitung gemacht, leider lässt sich Iobroker nicht starten.
          Irgend wer eine Idee?
          Hier mal ein Auszug vom Terminal:

          ioBroker was installed successfully
          Open http://192.168.1.232:8081 in a browser and start configuring!

          ==========================================================================

          You need to re-login before doing anything else on the console!

          root@raspberrypi:~# ssh root@192.168.1.232
          The authenticity of host '192.168.1.232 (192.168.1.232)' can't be established.
          ECDSA key fingerprint is SHA256:tT6L/H1YSEyQ1/TvNJ6L8w5xO8XWPGw+Es6R3lMRtiM.
          Are you sure you want to continue connecting (yes/no)? yes
          Warning: Permanently added '192.168.1.232' (ECDSA) to the list of known hosts.
          root@192.168.1.232's password:
          Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

          The programs included with the Debian GNU/Linux system are free software;
          the exact distribution terms for each program are described in the
          individual files in /usr/share/doc/*/copyright.

          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Tue Oct 1 08:57:35 2019 from 192.168.1.159
          root@raspberrypi:~# reboot
          Connection to 192.168.1.232 closed by remote host.
          Connection to 192.168.1.232 closed.
          Wedls-MacBook-Pro:~ wedl$ ssh root@192.168.1.232
          root@192.168.1.232's password:
          Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

          The programs included with the Debian GNU/Linux system are free software;
          the exact distribution terms for each program are described in the
          individual files in /usr/share/doc/*/copyright.

          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Tue Oct 1 09:01:25 2019 from 192.168.1.232

          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          schrieb am zuletzt editiert von
          #10

          @jwedenig sagte in Beim Installieren von Zigbee Adapter abgestürzt!!!:

          act distribution terms for each program are described in the
          individual files in /usr/share/doc/*/copyright.
          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Tue Oct 1 08:57:35 2019 from 192.168.1.159
          root@raspberrypi:~# reboot
          Connection to 192.168.1.232 closed by remote host.
          Connection to 192.168.1.232 closed.

          könntest du bitte den Log im code tag packen..

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          1 Antwort Letzte Antwort
          0
          • J Offline
            J Offline
            jwedenig
            Most Active
            schrieb am zuletzt editiert von
            #11
            ioBroker was installed successfully
            Open http://192.168.1.232:8081 in a browser and start configuring!
            
            ==========================================================================
            
            You need to re-login before doing anything else on the console!
            
            root@raspberrypi:~# ssh root@192.168.1.232
            The authenticity of host '192.168.1.232 (192.168.1.232)' can't be established.
            ECDSA key fingerprint is SHA256:tT6L/H1YSEyQ1/TvNJ6L8w5xO8XWPGw+Es6R3lMRtiM.
            Are you sure you want to continue connecting (yes/no)? yes
            Warning: Permanently added '192.168.1.232' (ECDSA) to the list of known hosts.
            root@192.168.1.232's password:
            Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Tue Oct 1 08:57:35 2019 from 192.168.1.159
            root@raspberrypi:~# reboot
            Connection to 192.168.1.232 closed by remote host.
            Connection to 192.168.1.232 closed.
            Wedls-MacBook-Pro:~ wedl$ ssh root@192.168.1.232
            root@192.168.1.232's password:
            Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Tue Oct 1 09:01:25 2019 from 192.168.1.232
            
            1 Antwort Letzte Antwort
            0
            • J jwedenig

              Hi! Bin leider beim Neuinstallieren und habe alles nach Anleitung gemacht, leider lässt sich Iobroker nicht starten.
              Irgend wer eine Idee?
              Hier mal ein Auszug vom Terminal:

              ioBroker was installed successfully
              Open http://192.168.1.232:8081 in a browser and start configuring!

              ==========================================================================

              You need to re-login before doing anything else on the console!

              root@raspberrypi:~# ssh root@192.168.1.232
              The authenticity of host '192.168.1.232 (192.168.1.232)' can't be established.
              ECDSA key fingerprint is SHA256:tT6L/H1YSEyQ1/TvNJ6L8w5xO8XWPGw+Es6R3lMRtiM.
              Are you sure you want to continue connecting (yes/no)? yes
              Warning: Permanently added '192.168.1.232' (ECDSA) to the list of known hosts.
              root@192.168.1.232's password:
              Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

              The programs included with the Debian GNU/Linux system are free software;
              the exact distribution terms for each program are described in the
              individual files in /usr/share/doc/*/copyright.

              Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
              permitted by applicable law.
              Last login: Tue Oct 1 08:57:35 2019 from 192.168.1.159
              root@raspberrypi:~# reboot
              Connection to 192.168.1.232 closed by remote host.
              Connection to 192.168.1.232 closed.
              Wedls-MacBook-Pro:~ wedl$ ssh root@192.168.1.232
              root@192.168.1.232's password:
              Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

              The programs included with the Debian GNU/Linux system are free software;
              the exact distribution terms for each program are described in the
              individual files in /usr/share/doc/*/copyright.

              Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
              permitted by applicable law.
              Last login: Tue Oct 1 09:01:25 2019 from 192.168.1.232

              arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              schrieb am zuletzt editiert von arteck
              #12

              @jwedenig sagte in Beim Installieren von Zigbee Adapter abgestürzt!!!:

              Hi! Bin leider beim Neuinstallieren und habe alles nach Anleitung gemacht, leider lässt sich Iobroker nicht starten.

              der läuft doch schon... ssh ist nur nicht aktiviert
              rufmal im Borwser
              http://192.168.1.232:8081

              zigbee hab ich, zwave auch, nuc's genauso und HA auch

              1 Antwort Letzte Antwort
              0
              • J Offline
                J Offline
                jwedenig
                Most Active
                schrieb am zuletzt editiert von
                #13

                nö, habe keine Verbindung!
                das habe ich auch noch, passt da alles?
                IMG_2087.JPG

                1 Antwort Letzte Antwort
                0
                • J Offline
                  J Offline
                  jwedenig
                  Most Active
                  schrieb am zuletzt editiert von
                  #14

                  habe alles so gemacht :

                  sudo nano /etc/ssh/sshd_config
                  
                  zur Zeile gehen:
                  #PermitRootlogin usw.
                  
                  die Raute löschen und nach Login mit Abstand yes schreiben
                  dann ctrl-O speichern Enter
                  dann ctrl-x verlassen
                  
                  sudo /etc/init.d/ssh restart
                  sudo su
                  passwd
                  reboot
                  
                  jetzt mit ssh root@192.168.1.232 einloggen
                  
                  sudo apt-get update && sudo apt-get upgrade -y
                  dauert 20 min
                  
                  apt-get --purge remove node
                  
                  apt-get --purge remove nodejs
                  
                  apt-get autoremove
                  
                  reboot
                  
                  
                  	1	curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
                  	2	sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                  	3	sudo reboot
                  
                  wieder einloggen!
                  
                  dann
                  
                  node -v
                  
                  nun IOBroker installieren:
                  
                  curl -sL https://iobroker.net/install.sh | bash -
                  
                  
                  arteckA 1 Antwort Letzte Antwort
                  0
                  • J Offline
                    J Offline
                    jwedenig
                    Most Active
                    schrieb am zuletzt editiert von
                    #15

                    Habe node und nodejs neu installiert ich glaube beim npm happerts:
                    sorry, kenn mich nicht aus:

                    root@192.168.1.232's password: 
                    Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
                    
                    The programs included with the Debian GNU/Linux system are free software;
                    the exact distribution terms for each program are described in the
                    individual files in /usr/share/doc/*/copyright.
                    
                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                    permitted by applicable law.
                    Last login: Tue Oct  1 10:07:31 2019 from 192.168.1.159
                    root@raspberrypi:~# node -v
                    v10.15.2
                    root@raspberrypi:~# nodejs -v
                    v10.15.2
                    root@raspberrypi:~# npm -v
                    -bash: npm: Kommando nicht gefunden.
                    root@raspberrypi:~# sudo -H npm install -g npm@6
                    sudo: npm: Befehl nicht gefunden
                    root@raspberrypi:~# sudo npm install -g npm@4
                    sudo: npm: Befehl nicht gefunden
                    root@raspberrypi:~# 
                    
                    1 Antwort Letzte Antwort
                    0
                    • J jwedenig

                      habe alles so gemacht :

                      sudo nano /etc/ssh/sshd_config
                      
                      zur Zeile gehen:
                      #PermitRootlogin usw.
                      
                      die Raute löschen und nach Login mit Abstand yes schreiben
                      dann ctrl-O speichern Enter
                      dann ctrl-x verlassen
                      
                      sudo /etc/init.d/ssh restart
                      sudo su
                      passwd
                      reboot
                      
                      jetzt mit ssh root@192.168.1.232 einloggen
                      
                      sudo apt-get update && sudo apt-get upgrade -y
                      dauert 20 min
                      
                      apt-get --purge remove node
                      
                      apt-get --purge remove nodejs
                      
                      apt-get autoremove
                      
                      reboot
                      
                      
                      	1	curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
                      	2	sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                      	3	sudo reboot
                      
                      wieder einloggen!
                      
                      dann
                      
                      node -v
                      
                      nun IOBroker installieren:
                      
                      curl -sL https://iobroker.net/install.sh | bash -
                      
                      
                      arteckA Offline
                      arteckA Offline
                      arteck
                      Developer Most Active
                      schrieb am zuletzt editiert von
                      #16

                      @jwedenig na jetzt vermischen wir aber 2 themen ... von zigbee adapter geht nicht zu installation von iobroker

                      laut deinem screenshot ist nix installiert.

                      zigbee hab ich, zwave auch, nuc's genauso und HA auch

                      J 1 Antwort Letzte Antwort
                      0
                      • arteckA arteck

                        @jwedenig na jetzt vermischen wir aber 2 themen ... von zigbee adapter geht nicht zu installation von iobroker

                        laut deinem screenshot ist nix installiert.

                        J Offline
                        J Offline
                        jwedenig
                        Most Active
                        schrieb am zuletzt editiert von
                        #17

                        @arteck
                        ja, sorry, bin in dem Thread geblieben, weil meine SD Karte abgeschmiert ist.
                        Aber warum kann ich npm nicht installieren?

                        Oder muss ich nun ein neues Thema erstellen damit ich Hilfe bekomme?

                        Sag Bescheid!
                        Danke

                        arteckA 1 Antwort Letzte Antwort
                        0
                        • J jwedenig

                          @arteck
                          ja, sorry, bin in dem Thread geblieben, weil meine SD Karte abgeschmiert ist.
                          Aber warum kann ich npm nicht installieren?

                          Oder muss ich nun ein neues Thema erstellen damit ich Hilfe bekomme?

                          Sag Bescheid!
                          Danke

                          arteckA Offline
                          arteckA Offline
                          arteck
                          Developer Most Active
                          schrieb am zuletzt editiert von
                          #18

                          @jwedenig gaaaaannz ruhig...

                          wo versuchst du gerade zu installieren Hardware ??.. und welches Betriebssystem ??

                          zigbee hab ich, zwave auch, nuc's genauso und HA auch

                          J 1 Antwort Letzte Antwort
                          0
                          • arteckA arteck

                            @jwedenig gaaaaannz ruhig...

                            wo versuchst du gerade zu installieren Hardware ??.. und welches Betriebssystem ??

                            J Offline
                            J Offline
                            jwedenig
                            Most Active
                            schrieb am zuletzt editiert von
                            #19

                            @arteck
                            Pi Version 3
                            2019-07-10-raspbian-buster

                            Hoffe, dass meintest du

                            arteckA 1 Antwort Letzte Antwort
                            0
                            • J jwedenig

                              @arteck
                              Pi Version 3
                              2019-07-10-raspbian-buster

                              Hoffe, dass meintest du

                              arteckA Offline
                              arteckA Offline
                              arteck
                              Developer Most Active
                              schrieb am zuletzt editiert von arteck
                              #20

                              @jwedenig so bei buster kannst du kein node 8 installieren

                              also

                              curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                              

                              dann

                              sudo apt install -y nodejs
                              

                              wenn fertig zeigen

                              node -v
                              npm -v
                              

                              zigbee hab ich, zwave auch, nuc's genauso und HA auch

                              1 Antwort Letzte Antwort
                              0
                              • J Offline
                                J Offline
                                jwedenig
                                Most Active
                                schrieb am zuletzt editiert von
                                #21

                                @arteck said in Beim Installieren von Zigbee Adapter abgestürzt!!!:

                                sudo apt install -y nodejs

                                root@raspberrypi:~# node -v
                                v10.16.3
                                root@raspberrypi:~# npm -v
                                6.9.0
                                root@raspberrypi:~# 
                                
                                1 Antwort Letzte Antwort
                                0
                                • J Offline
                                  J Offline
                                  jwedenig
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #22

                                  jetzt habe ich npm installiert dank Dir!
                                  und wie bekomm ich noch den iobroker installiert?
                                  Danke schon mal!

                                  arteckA 1 Antwort Letzte Antwort
                                  0
                                  • J jwedenig

                                    jetzt habe ich npm installiert dank Dir!
                                    und wie bekomm ich noch den iobroker installiert?
                                    Danke schon mal!

                                    arteckA Offline
                                    arteckA Offline
                                    arteck
                                    Developer Most Active
                                    schrieb am zuletzt editiert von arteck
                                    #23

                                    @jwedenig einz nach dem anderen

                                    sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                                    
                                    cd /opt
                                    
                                    curl -sL https://iobroker.net/install.sh | bash -
                                    

                                    zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                    AlCalzoneA 1 Antwort Letzte Antwort
                                    0
                                    • J Offline
                                      J Offline
                                      jwedenig
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #24
                                      root@raspberrypi:~# cd /opt
                                      root@raspberrypi:/opt# curl -sL https://iobroker.net/install.sh | bash -
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installer!
                                          Installer version: 2019-07-21
                                          
                                          You might need to enter your password a couple of times.
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/4)
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Creating ioBroker user and directory (2/4)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Directory /opt/iobroker created
                                      
                                      ==========================================================================
                                          Installing ioBroker (3/4)
                                      ==========================================================================
                                      
                                      In file included from ../src/main.cpp:3:
                                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                    ^
                                      In file included from ../../nan/nan.h:54,
                                                       from ../src/main.cpp:3:
                                      ../src/main.cpp: At global scope:
                                      /root/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                             (node::addon_register_func) (regfunc),                          \
                                                                                 ^
                                      /root/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro NODE_MODULE_X’
                                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                         ^~~~~~~~~~~~~
                                      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                                       NODE_MODULE(diskusage, Init)
                                       ^~~~~~~~~~~
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/main.cpp:3:
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                      /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                      reinterpret_cast<Callback>(callback), type);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                      ../../nan/nan_object_wrap.h:65:61:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                    ^
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                         v8::String::Utf8Value path(info[0]->ToString());
                                                                                       ^
                                      In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26,
                                                       from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
                                                         explicit Utf8Value(Local<v8::Value> obj));
                                                                  ^~~~~~~~~
                                      /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                           ^
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
                                       Local<Object> Value::ToObject() const {
                                                     ^~~~~
                                      ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                                           ^~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                      ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                           ^
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
                                       Local<Object> Value::ToObject() const {
                                                     ^~~~~
                                      ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                                             ^~~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                      ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                                            ^~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                      ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                                            ^~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                      ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                           ^
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
                                       Local<Object> Value::ToObject() const {
                                                     ^~~~~
                                      ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSe);
                                                                                                          ^~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                      ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGe);
                                                                                                          ^~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                      ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                                                  ^~~~~~~~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                      ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(2, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                                            ^~~~~~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                      ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         data->callback.Call(1, argv);
                                                                    ^
                                      In file included from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      ../src/serialport.cpp: At global scope:
                                      ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                                       SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                                                  ^
                                      ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                                       SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                                    ^
                                      In file included from ../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                             (node::addon_register_func) (regfunc),                          \
                                                                                 ^
                                      /root/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro NODE_MODULE_X’
                                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                         ^~~~~~~~~~~~~
                                      ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                       NODE_MODULE(serialport, init);
                                       ^~~~~~~~~~~
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                      /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                      reinterpret_cast<Callback>(callback), type);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                      ../../nan/nan_object_wrap.h:65:61:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                      In file included from ../src/serialport.h:6,
                                                       from ../src/serialport_unix.cpp:2:
                                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                    ^
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/serialport.h:6,
                                                       from ../src/serialport_unix.cpp:2:
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                      /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                      reinterpret_cast<Callback>(callback), type);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                      ../../nan/nan_object_wrap.h:65:61:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                      ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
                                      ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                                           snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
                                      ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                                           snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
                                      ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                                           snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                                           snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      In file included from ../src/poller.cpp:1:
                                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                    ^
                                      ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
                                      ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                         obj->callback.Call(2, argv);
                                                                   ^
                                      In file included from ../src/poller.cpp:1:
                                      ../../nan/nan.h:1740:3: note: declared here
                                         Call(int argc, v8::Local<v8::Value> argv[]) const {
                                         ^~~~
                                      In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                       from ../../nan/nan.h:54,
                                                       from ../src/poller.cpp:1:
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                      /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                      reinterpret_cast<Callback>(callback), type);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                      ../../nan/nan_object_wrap.h:65:61:   required from here
                                      /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                      
                                      ==========================================================================
                                          Finalizing installation (4/4)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                      
                                          ioBroker was installed successfully
                                          Open http://192.168.1.232:8081 in a browser and start configuring!
                                      
                                      ==========================================================================
                                      
                                      
                                      You need to re-login before doing anything else on the console!
                                      
                                      root@raspberrypi:/opt# 
                                      
                                      
                                      arteckA 1 Antwort Letzte Antwort
                                      0
                                      • J jwedenig
                                        root@raspberrypi:~# cd /opt
                                        root@raspberrypi:/opt# curl -sL https://iobroker.net/install.sh | bash -
                                        
                                        ==========================================================================
                                        
                                            Welcome to the ioBroker installer!
                                            Installer version: 2019-07-21
                                            
                                            You might need to enter your password a couple of times.
                                        
                                        ==========================================================================
                                        
                                        
                                        ==========================================================================
                                            Installing prerequisites (1/4)
                                        ==========================================================================
                                        
                                        
                                        ==========================================================================
                                            Creating ioBroker user and directory (2/4)
                                        ==========================================================================
                                        
                                        Created /etc/sudoers.d/iobroker
                                        Directory /opt/iobroker created
                                        
                                        ==========================================================================
                                            Installing ioBroker (3/4)
                                        ==========================================================================
                                        
                                        In file included from ../src/main.cpp:3:
                                        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                      ^
                                        In file included from ../../nan/nan.h:54,
                                                         from ../src/main.cpp:3:
                                        ../src/main.cpp: At global scope:
                                        /root/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                               (node::addon_register_func) (regfunc),                          \
                                                                                   ^
                                        /root/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro NODE_MODULE_X’
                                           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                           ^~~~~~~~~~~~~
                                        ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                                         NODE_MODULE(diskusage, Init)
                                         ^~~~~~~~~~~
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/main.cpp:3:
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                        /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                        reinterpret_cast<Callback>(callback), type);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                        ../../nan/nan_object_wrap.h:65:61:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                      ^
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                           v8::String::Utf8Value path(info[0]->ToString());
                                                                                         ^
                                        In file included from /root/.node-gyp/10.16.3/include/node/v8.h:26,
                                                         from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
                                                           explicit Utf8Value(Local<v8::Value> obj));
                                                                    ^~~~~~~~~
                                        /root/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                             ^
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
                                         Local<Object> Value::ToObject() const {
                                                       ^~~~~
                                        ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                                             ^~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                        ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(2, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                             ^
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
                                         Local<Object> Value::ToObject() const {
                                                       ^~~~~
                                        ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                                               ^~~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                        ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                                              ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                        ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                                              ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                        ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           v8::Local<v8::Object> options = info[1]->ToObject();
                                                                                             ^
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
                                         Local<Object> Value::ToObject() const {
                                                       ^~~~~
                                        ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSe);
                                                                                                            ^~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                        ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGe);
                                                                                                            ^~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                        ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(2, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                                                    ^~~~~~~~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                        ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(2, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                                        ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                                              ^~~~~~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                        ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           data->callback.Call(1, argv);
                                                                      ^
                                        In file included from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        ../src/serialport.cpp: At global scope:
                                        ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                                         SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                                                    ^
                                        ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                                         SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                                      ^
                                        In file included from ../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                                               (node::addon_register_func) (regfunc),                          \
                                                                                   ^
                                        /root/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro NODE_MODULE_X’
                                           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                           ^~~~~~~~~~~~~
                                        ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
                                         NODE_MODULE(serialport, init);
                                         ^~~~~~~~~~~
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                        /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                        reinterpret_cast<Callback>(callback), type);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                        ../../nan/nan_object_wrap.h:65:61:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                        In file included from ../src/serialport.h:6,
                                                         from ../src/serialport_unix.cpp:2:
                                        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                      ^
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/serialport.h:6,
                                                         from ../src/serialport_unix.cpp:2:
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                        /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                        reinterpret_cast<Callback>(callback), type);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                        ../../nan/nan_object_wrap.h:65:61:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                        ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
                                        ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                                             snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
                                        ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                                             snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
                                        ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                                             snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                                             snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        In file included from ../src/poller.cpp:1:
                                        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                      ^
                                        ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
                                        ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                           obj->callback.Call(2, argv);
                                                                     ^
                                        In file included from ../src/poller.cpp:1:
                                        ../../nan/nan.h:1740:3: note: declared here
                                           Call(int argc, v8::Local<v8::Value> argv[]) const {
                                           ^~~~
                                        In file included from /root/.node-gyp/10.16.3/include/node/node.h:63,
                                                         from ../../nan/nan.h:54,
                                                         from ../src/poller.cpp:1:
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
                                        /root/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                                        reinterpret_cast<Callback>(callback), type);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        /root/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
                                        ../../nan/nan_object_wrap.h:65:61:   required from here
                                        /root/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                                        
                                        ==========================================================================
                                            Finalizing installation (4/4)
                                        ==========================================================================
                                        
                                        Enabling autostart...
                                        Autostart enabled!
                                        Fixing directory permissions...
                                        
                                        ==========================================================================
                                        
                                            ioBroker was installed successfully
                                            Open http://192.168.1.232:8081 in a browser and start configuring!
                                        
                                        ==========================================================================
                                        
                                        
                                        You need to re-login before doing anything else on the console!
                                        
                                        root@raspberrypi:/opt# 
                                        
                                        
                                        arteckA Offline
                                        arteckA Offline
                                        arteck
                                        Developer Most Active
                                        schrieb am zuletzt editiert von arteck
                                        #25

                                        @jwedenig sagte in Beim Installieren von Zigbee Adapter abgestürzt!!!:

                                        http://192.168.1.232:8081

                                        so http://192.168.1.232:8081 im Browser

                                        und ??

                                        zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                        1 Antwort Letzte Antwort
                                        0
                                        • J Offline
                                          J Offline
                                          jwedenig
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #26

                                          läuft! Vielen lieben Dank!

                                          Trotz allen Anleitungen schaffe ich es leider nie alleine, verschiedene Versionen, veraltete Anleitungen!
                                          Ich glaube eine Anleitung die immer 100% funktioniert gibt es nicht oder täusche ich mich da?
                                          Dieses Forum ist super dafür!
                                          Herzlichen Dank!"

                                          arteckA 1 Antwort Letzte Antwort
                                          0

                                          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

                                          463

                                          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