Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspberry PI 1 Probleme mit Installationsanleitung

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Raspberry PI 1 Probleme mit Installationsanleitung

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      haddedudde last edited by

      Hallo Community,

      ich habe wohl noch einen Raspberry 1 Modell, denn ein cat /proc/cpuinfo gibt folgende Informationen aus:

      processor : 0

      model name : ARMv6-compatible processor rev 7 (v6l)

      BogoMIPS : 697.95

      Features : half thumb fastmult vfp edsp java tls

      CPU implementer : 0x41

      CPU architecture: 7

      CPU variant : 0x0

      CPU part : 0xb76

      CPU revision : 7

      Hardware : BCM2835

      Revision : 000d

      Serial : 000000007fff7337

      Anhand der Revisionszeile habe ich wohl einen

      Hardware Revision Raspberry Pi PCB Revision Memory

      BCM2708 000d Model B 2.0 512 MB

      Probleme hae ich mit der Installationsanleitung unter

      http://www.iobroker.net/docu/?page_id=5106&lang=de

      im speziellen mit der Installation von Node.js

      dort steht ja

      Node.js neu installieren nur für Raspbery 1

      wget http://node-arm.herokuapp.com/node_archive_armhf.deb

      sudo dpkg -i node_archive_armhf.deb

      sudo apt-get install build-essential libavahi-compat-libdnssd-dev libudev-dev

      reboot

      nach der "Installation" gibt das Kommando „node -v“ die Version von node.js zurück, da steht dann aber

      v0.12.6

      ???

      Versuche ich jedoch die Methode für Raspi2/3,

      Node.js neu installieren für Raspbery 2/3

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

      sagt mein Raspi mir

      You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js v4 and later.

      Kann wer helfen?

      Wie kriege ich mit meiner alten Hardware das Node.js Framework ans Laufenß

      Danke im Voraus!

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        @haddedudde:

        Kann wer helfen? `
        Ja!

        Ich muss mal die Anleitung gegen eine andere austauschen, bei der ein aktuelles nodejs benutzt wird.

        Vielleicht schaffe ich das heute abend.

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          @haddedudde:

          Kann wer helfen? `
          Hallo nochmal,

          habe eben die Anleitung in der Doku aktualisiert:
          @[url=http://www.iobroker.net/docu/?page_id=5106⟨=de#Installation_Nodejs:

          ~~Doku"]~~Node.js neu installieren nur für Raspberry Pi1

          wget http://nodejs.org/dist/latest-v6.x/node … v6l.tar.gz

          tar -xvf node-v6.10.0-linux-armv6l.tar.gz

          cd node-v6.10.0-linux-armv6l

          sudo cp -R * /usr/local/

          sudo ln -s /usr/local/bin/node /usr/bin/nodejs `

          Aber nicht erneut getestet. Das hatte ich damals noch unter Jessie gemacht.

          Sollte also unter Stretch etwas nicht klappen, bitte erneute Meldung!

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • H
            haddedudde last edited by

            @Homoran:

            @haddedudde:

            Kann wer helfen? `
            Hallo nochmal,

            habe eben die Anleitung in der Doku aktualisiert:
            @[url=http://www.iobroker.net/docu/?page_id=5106⟨=de#Installation_Nodejs:

            ~~Doku"]~~Node.js neu installieren nur für Raspberry Pi1

            wget http://nodejs.org/dist/latest-v6.x/node … v6l.tar.gz

            tar -xvf node-v6.10.0-linux-armv6l.tar.gz

            cd node-v6.10.0-linux-armv6l

            sudo cp -R * /usr/local/

            sudo ln -s /usr/local/bin/node /usr/bin/nodejs `

            Aber nicht erneut getestet. Das hatte ich damals noch unter Jessie gemacht.

            Sollte also unter Stretch etwas nicht klappen, bitte erneute Meldung!

            Gruß

            Rainer `

            Hallo Rainer,

            ich teste das morgen früh aus und melde mich dann zurück.

            VG

            1 Reply Last reply Reply Quote 0
            • H
              haddedudde last edited by

              @Homoran:

              @haddedudde:

              Kann wer helfen? `
              Hallo nochmal,

              habe eben die Anleitung in der Doku aktualisiert:
              @[url=http://www.iobroker.net/docu/?page_id=5106⟨=de#Installation_Nodejs:

              ~~Doku"]~~Node.js neu installieren nur für Raspberry Pi1

              wget http://nodejs.org/dist/latest-v6.x/node … v6l.tar.gz `

              Gruß

              Rainer `

              was mir noch aufgefallen ist ohne den Pi vor mir zu haben

              Unter http://nodejs.org/dist/latest-v6.x/node … v6l.tar.gz ist kein gepacktes tarball mehr zu finden, latest istnämlich die node-v6.12.0 version.

              hier der index des repositorys

              https://nodejs.org/dist/latest-v6.x/

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                ähm ja,

                aber der Link ist nicht vollständig zu sehen, das war:

                http://nodejs.org/dist/latest-v6.x/node … v6l.tar.gz

                Also,
                @haddedudde:

                hier der index des repositorys

                https://nodejs.org/dist/latest-v6.x/ `

                und darin der tarball node-v6.10.0-linux-armv6l.tar.gz

                und weil du so gut aufgepasst hast solltest du natürlich den tarball ändern in:

                node-v6.12.0-linux-armv6l.tar.gz

                wobei ich jetzt auch nicht weiß, warum da in dem Repo 2 davon mit unterschiedlicher Größe drin sind.

                Gruß

                Rainer

                1 Reply Last reply Reply Quote 0
                • H
                  haddedudde last edited by

                  @Homoran:

                  ähm ja,

                  aber der Link ist nicht vollständig zu sehen, das war:

                  http://nodejs.org/dist/latest-v6.x/node … v6l.tar.gz

                  Also,
                  @haddedudde:

                  hier der index des repositorys

                  https://nodejs.org/dist/latest-v6.x/ `

                  und darin der tarball node-v6.10.0-linux-armv6l.tar.gz

                  und weil du so gut aufgepasst hast solltest du natürlich den tarball ändern in:

                  node-v6.12.0-linux-armv6l.tar.gz

                  wobei ich jetzt auch nicht weiß, warum da in dem Repo 2 davon mit unterschiedlicher Größe drin sind.

                  Gruß

                  Rainer `

                  Guten Morgen, Rainer,

                  das node.js ließ sich nun in Version 6.12 installieren.

                  Jedoch kann man jetzt den IOBroker nicht installieren

                  npm ERR! not a package /opt/iobroker/iobroker
                  npm ERR! addLocal Could not install /opt/iobroker/iobroker
                  npm ERR! Linux 4.9.59+
                  npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "-                                                                                                                                                             -unsafe-perm"
                  npm ERR! node v6.12.0
                  npm ERR! npm  v3.10.10
                  npm ERR! path /tmp/npm-462-3293c98e/unpack-913b05ce/package.json
                  npm ERR! code ENOENT
                  npm ERR! errno -2
                  npm ERR! syscall open
                  
                  npm ERR! enoent ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/u                                                                                                                                                             npack-913b05ce/package.json'
                  npm ERR! enoent ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/u                                                                                                                                                             npack-913b05ce/package.json'
                  npm ERR! enoent This is most likely not a problem with npm itself
                  npm ERR! enoent and is related to npm not being able to find a file.
                  npm ERR! enoent
                  
                  npm ERR! Please include the following file with any support request:
                  npm ERR!     /opt/iobroker/npm-debug.log
                  
                  

                  Nachfolgend der npm-debug.log

                  0 info it worked if it ends with ok
                  1 verbose cli [ '/usr/local/bin/node',
                  1 verbose cli   '/usr/local/bin/npm',
                  1 verbose cli   'install',
                  1 verbose cli   'iobroker',
                  1 verbose cli   '--unsafe-perm' ]
                  2 info using npm@3.10.10
                  3 info using node@v6.12.0
                  4 silly loadCurrentTree Starting
                  5 silly install loadCurrentTree
                  6 silly install readLocalPackageData
                  7 silly fetchPackageMetaData iobroker
                  8 silly fetchOtherPackageData iobroker
                  9 silly cache add args [ 'iobroker', null ]
                  10 verbose cache add spec iobroker
                  11 silly cache add parsed spec Result {
                  11 silly cache add   raw: 'iobroker',
                  11 silly cache add   scope: null,
                  11 silly cache add   escapedName: 'iobroker',
                  11 silly cache add   name: null,
                  11 silly cache add   rawSpec: 'iobroker',
                  11 silly cache add   spec: '/opt/iobroker/iobroker',
                  11 silly cache add   type: 'local' }
                  12 silly addLocalTarball shasum (computed) 172d89ea6df6ab508c7b69dc0540b583db07e40c
                  13 verbose addTmpTarball /opt/iobroker/iobroker not in flight; adding
                  14 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing
                  15 verbose addTmpTarball validating metadata from /opt/iobroker/iobroker
                  16 verbose tar unpack /opt/iobroker/iobroker
                  17 verbose tar unpacking to /tmp/npm-462-3293c98e/unpack-913b05ce
                  18 silly gentlyRm /tmp/npm-462-3293c98e/unpack-913b05ce is being purged
                  19 verbose gentlyRm don't care about contents; nuking /tmp/npm-462-3293c98e/unpack-913b05ce
                  20 silly gunzTarPerm modes [ '755', '644' ]
                  21 error not a package /opt/iobroker/iobroker
                  22 error addLocal Could not install /opt/iobroker/iobroker
                  23 silly fetchPackageMetaData Error: ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/unpack-913b05ce/package.json'
                  23 silly fetchPackageMetaData     at Error (native)
                  23 silly fetchPackageMetaData  error for iobroker { Error: ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/unpack-913b05ce/package.json'
                  23 silly fetchPackageMetaData     at Error (native)
                  23 silly fetchPackageMetaData   errno: -2,
                  23 silly fetchPackageMetaData   code: 'ENOENT',
                  23 silly fetchPackageMetaData   syscall: 'open',
                  23 silly fetchPackageMetaData   path: '/tmp/npm-462-3293c98e/unpack-913b05ce/package.json' }
                  24 silly rollbackFailedOptional Starting
                  25 silly rollbackFailedOptional Finishing
                  26 silly runTopLevelLifecycles Finishing
                  27 silly install printInstalled
                  28 verbose stack Error: ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/unpack-913b05ce/package.json'
                  28 verbose stack     at Error (native)
                  29 verbose cwd /opt/iobroker
                  30 error Linux 4.9.59+
                  31 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker" "--unsafe-perm"
                  32 error node v6.12.0
                  33 error npm  v3.10.10
                  34 error path /tmp/npm-462-3293c98e/unpack-913b05ce/package.json
                  35 error code ENOENT
                  36 error errno -2
                  37 error syscall open
                  38 error enoent ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/unpack-913b05ce/package.json'
                  39 error enoent ENOENT: no such file or directory, open '/tmp/npm-462-3293c98e/unpack-913b05ce/package.json'
                  39 error enoent This is most likely not a problem with npm itself
                  39 error enoent and is related to npm not being able to find a file.
                  40 verbose exit [ -2, true ]
                  

                  Danke im Voraus!

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    Bitte code in code tags setzen!

                    Wie hast du die Installation losgetreten?

                    Hast du vorher mit node -v geprüft ob diese Installation gefunden wird?

                    Was gibt npm -v zurück?

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • H
                      haddedudde last edited by

                      @Homoran:

                      Bitte code in code tags setzen!

                      Wie hast du die Installation losgetreten?

                      Hast du vorher mit node -v geprüft ob diese Installation gefunden wird?

                      Was gibt npm -v zurück?

                      Gruß

                      Rainer `

                      Hi,

                      npm -v gibt 3.10.10 zurück

                      node -v gibt v6.12.0 zurück

                      Installation losgetreten als root wie in deiner Anleitung …

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        Das sieht alles gut aus.

                        Dann habe ich keine Ahnung was da schief gelaufen sein könnte.

                        Ich bin leider auch kein Linux-Crack, vermute den Fehler bei der Begründung für die not a package Meldung.

                        Diese Meldung habe ich noch in Erinnerung - aber nicht in Guter 😉

                        Hattest du alles als "echter" root ausgeführt und alle Schritte der Anleitung exakt befolgt?

                        Ein ENOENT kann auch wegen fehlender Rechte sein.

                        Wenn ja, dann mache mal bitte:

                        cd /opt/iobroker
                        sudo npm cache clean
                        sudo npm install iobroker --unsafe-perm
                        

                        Wenn das dann alles durchläuft noch ein

                        sudo iobroker start
                        

                        Wenn es nicht durchläuft ist es wahrscheinlich besser nochmal von vorne zu beginnen.

                        Gruß

                        Rainer

                        1 Reply Last reply Reply Quote 0
                        • H
                          haddedudde last edited by

                          @Homoran:

                          Das sieht alles gut aus.

                          Dann habe ich keine Ahnung was da schief gelaufen sein könnte.

                          Ich bin leider auch kein Linux-Crack, vermute den Fehler bei der Begründung für die not a package Meldung.

                          Diese Meldung habe ich noch in Erinnerung - aber nicht in Guter 😉

                          Hattest du alles als "echter" root ausgeführt und alle Schritte der Anleitung exakt befolgt?

                          Ein ENOENT kann auch wegen fehlender Rechte sein.

                          Wenn ja, dann mache mal bitte:

                          cd /opt/iobroker
                          sudo npm cache clean
                          sudo npm install iobroker --unsafe-perm
                          

                          Wenn das dann alles durchläuft noch ein

                          sudo iobroker start
                          

                          Wenn es nicht durchläuft ist es wahrscheinlich besser nochmal von vorne zu beginnen.

                          Gruß

                          Rainer `

                          So, alles von neuem installiert, jedoch erneut mit Fehlermeldungen:

                          > iobroker@1.0.2 install /opt/iobroker/node_modules/iobroker
                          > node lib/setup.js
                          
                          npm install iobroker.discovery --production --prefix /opt/iobroker
                          node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyA                                                                                                                                                             dvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v48-linux                                                                                                                                                             -arm.tar.gz
                          node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.1                                                                                                                                                             2.0 (node-v48 ABI) (falling back to source compile with node-gyp)
                          ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::__cxx11::string)’:
                          ../src/serialport.cpp:90:52: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             return getValueFromObject(options, key)->ToInt32()->Int32Value();
                                                                              ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::__cxx11::string)’:
                          ../src/serialport.cpp:102:53: warning: ‘v8::Local <v8::number>v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             return getValueFromObject(options, key)->ToNumber()->NumberValue();
                                                                               ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8178:15: note: declared here
                           Local <number>Value::ToNumber() const {
                                         ^~~~~
                          ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                          ../src/serialport.cpp:174:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                               int fd = argv[1]->ToInt32()->Int32Value();
                                                         ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:193:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             int fd = info[0]->ToInt32()->Int32Value();
                                                       ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp:217:116: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                              ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:252:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             int fd = info[0]->ToInt32()->Int32Value();
                                                       ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:369:32: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             baton->fd = info[0]->ToInt32()->Int32Value();
                                                          ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:480:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             int fd = info[0]->ToInt32()->Int32Value();
                                                       ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:528:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             int fd = info[0]->ToInt32()->Int32Value();
                                                       ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport.cpp:585:29: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             int fd = info[0]->ToInt32()->Int32Value();
                                                       ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Local<v8::object>&)’:
                          ../src/serialport_unix.cpp:44:109: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             result->vmin = Nan::Get(options, Nan::New<v8::string>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                       ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport_unix.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport_unix.cpp:45:111: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             result->vtime = Nan::Get(options, Nan::New<v8::string>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
                                                                                                                                         ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/./serialport.h:7,
                                           from ../src/serialport_unix.cpp:1:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          ../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)’:
                          ../src/serialport_poller.cpp:86:31: warning: ‘v8::Local <v8::int32>v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             obj->fd_ = info[0]->ToInt32()->Int32Value();
                                                         ^
                          In file included from /root/.node-gyp/6.12.0/include/node/node.h:42:0,
                                           from ../../nan/nan.h:51,
                                           from ../src/serialport_poller.cpp:5:
                          /root/.node-gyp/6.12.0/include/node/v8.h:8214:14: note: declared here
                           Local <int32>Value::ToInt32() const {
                                        ^~~~~
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                          npm WARN iobroker No description
                          npm WARN iobroker No repository field.
                          npm WARN iobroker No README data
                          npm WARN iobroker No license field.
                          npm install iobroker.admin --production --prefix /opt/iobroker
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                          npm WARN iobroker No description
                          npm WARN iobroker No repository field.
                          npm WARN iobroker No README data
                          npm WARN iobroker No license field.
                          npm install iobroker.js-controller --production --prefix /opt/iobroker
                          npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
                          npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                          npm WARN iobroker No description
                          npm WARN iobroker No repository field.
                          npm WARN iobroker No README data
                          npm WARN iobroker No license field.
                          Write "./iobroker start" to start the ioBroker
                          /usr/bin/env: „node\r“: Datei oder Verzeichnis nicht gefunden
                          Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                          iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                          /opt/iobroker
                          └─┬ iobroker@1.0.2
                            └─┬ yargs@7.1.0
                              ├── camelcase@3.0.0
                              ├─┬ cliui@3.2.0
                              │ ├─┬ strip-ansi@3.0.1
                              │ │ └── ansi-regex@2.1.1
                              │ └── wrap-ansi@2.1.0
                              ├── decamelize@1.2.0
                              ├── get-caller-file@1.0.2
                              ├─┬ os-locale@1.4.0
                              │ └─┬ lcid@1.0.0
                              │   └── invert-kv@1.0.0
                              ├─┬ read-pkg-up@1.0.1
                              │ ├─┬ find-up@1.1.2
                              │ │ ├── path-exists@2.1.0
                              │ │ └─┬ pinkie-promise@2.0.1
                              │ │   └── pinkie@2.0.4
                              │ └─┬ read-pkg@1.1.0
                              │   ├─┬ load-json-file@1.1.0
                              │   │ ├── graceful-fs@4.1.11
                              │   │ ├─┬ parse-json@2.2.0
                              │   │ │ └─┬ error-ex@1.3.1
                              │   │ │   └── is-arrayish@0.2.1
                              │   │ ├── pify@2.3.0
                              │   │ └─┬ strip-bom@2.0.0
                              │   │   └── is-utf8@0.2.1
                              │   ├─┬ normalize-package-data@2.4.0
                              │   │ ├── hosted-git-info@2.5.0
                              │   │ ├─┬ is-builtin-module@1.0.0
                              │   │ │ └── builtin-modules@1.1.1
                              │   │ ├── semver@5.4.1
                              │   │ └─┬ validate-npm-package-license@3.0.1
                              │   │   ├─┬ spdx-correct@1.0.2
                              │   │   │ └── spdx-license-ids@1.2.2
                              │   │   └── spdx-expression-parse@1.0.4
                              │   └── path-type@1.1.0
                              ├── require-directory@2.1.1
                              ├── require-main-filename@1.0.1
                              ├── set-blocking@2.0.0
                              ├─┬ string-width@1.0.2
                              │ ├── code-point-at@1.1.0
                              │ └─┬ is-fullwidth-code-point@1.0.0
                              │   └── number-is-nan@1.0.1
                              ├── which-module@1.0.0
                              ├── y18n@3.2.1
                              └── yargs-parser@5.0.0
                          
                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                          npm WARN iobroker No description
                          npm WARN iobroker No repository field.
                          npm WARN iobroker No README data
                          npm WARN iobroker No license field.</int32></v8::int32></int32></v8::string></v8::int32></int32></v8::string></v8::int32></v8::object></int32></v8::int32></int32></v8::int32></int32></v8::int32></int32></v8::int32></int32></v8::int32></int32></v8::string></v8::int32></int32></v8::int32></int32></v8::int32></number></v8::number></v8::object></int32></v8::int32></v8::object> 
                          

                          die admin ui kann ich momentan jedoch schon über den browser aufrufen.

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators last edited by

                            Ich habe mir jetzt auf dem Handy nicht das ganze log angesehen. Serialport generiert schon mal gerne viele Meldungen, die aber meistens nicht wirklich böse sind.

                            Wenn es dann läuft ist wahrscheinlich alles OK.

                            Gruß

                            Rainer

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate
                            FAQ Cloud / IOT
                            HowTo: Node.js-Update
                            HowTo: Backup/Restore
                            Downloads
                            BLOG

                            1.0k
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            2
                            12
                            2215
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo