Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Node.Js wird nicht gefunden

    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

    Node.Js wird nicht gefunden

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Zlorsh last edited by

      @zlorsh

      iobroker stop
      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller
      iobroker status
      
      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Zlorsh last edited by Thomas Braun

        @zlorsh

        Die Zeile nur node12 in der influxdb.list würde ich löschen.
        Die ist a) falsch bei dir (falsches Release) und b) ist node12 abgekündigt

        Z 1 Reply Last reply Reply Quote 0
        • Z
          Zlorsh @Thomas Braun last edited by

          @thomas-braun ok werde ich raus löschen, leider hat der versuch auch nicht geklappt 😞

          pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
          
          > iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller
          > node lib/preinstallCheck.js
          
          NPM version: 6.14.17
          
          > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram
          > node-gyp rebuild
          
          make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
            CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
          In file included from ../../nan/nan.h:60,
                           from ../src/unix_dgram.cc:5:
          /home/iobroker/.cache/node-gyp/14.19.3/include/node/node.h:793: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),                          \
                                                     ^
          /home/iobroker/.cache/node-gyp/14.19.3/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
             ^~~~~~~~~~~~~
          ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
           NODE_MODULE(unix_dgram, Initialize)
           ^~~~~~~~~~~
            SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
            COPY Release/unix_dgram.node
          make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
          
          > iobroker.js-controller@4.0.23 install /opt/iobroker/node_modules/iobroker.js-controller
          > node iobroker.js setup first
          
          Successfully migrated 2083 objects to Redis Sets
          object _design/system updated
          host.raspberrypi install adapter backitup
          These apt-get packages were already installed: cifs-utils, nfs-common
          upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript
          upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
          upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml
          upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
          upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
          upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript
          upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css
          upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css
          upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html
          upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript
          upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
          host.raspberrypi Invalid version of "admin". Installed "4.2.1", required ">=5.2.0"
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
          
          npm ERR! code ELIFECYCLE
          npm ERR! errno 32
          npm ERR! iobroker.js-controller@4.0.23 install: `node iobroker.js setup first`
          npm ERR! Exit status 32
          npm ERR!
          npm ERR! Failed at the iobroker.js-controller@4.0.23 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-06-01T20_20_36_990Z-debug.log
          pi@raspberrypi:/opt/iobroker $ iobroker status
          internal/modules/cjs/loader.js:905
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
              at Function.Module._load (internal/modules/cjs/loader.js:746:27)
              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
              at internal/main/run_main_module.js:17:47 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          
          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Zlorsh last edited by

            @zlorsh sagte in Node.Js wird nicht gefunden:

            host.raspberrypi Invalid version of "admin". Installed "4.2.1", required ">=5.2.0"

            wie lange hast du keine updates mehr gemacht?

            Z 1 Reply Last reply Reply Quote 0
            • Z
              Zlorsh @Homoran last edited by Zlorsh

              @homoran Leider sehr lange 😞

              Ich hatte es so verstanden dass ich erst das nodejs update machen muss und dann den admin

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

                @zlorsh sagte in Node.Js wird nicht gefunden:

                @homoran Leider sehr lange 😞

                Ich hatte es so verstanden dass ich erst das nodejs update machen muss und dann den admin

                ist auch richtig.

                und du hast wirlich ubuntu auf einen Pi2?

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  Zlorsh @Homoran last edited by

                  @homoran sehr gute frage, das hab ich vor Ewigkeiten installiert das Teil. Wenn ich so drüber nach denke ist es wohl eher ein Raspberian oder so?!

                  Kurz geprüft....

                  pi@raspberrypi:/opt/iobroker $ cat /etc/*release
                  PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                  NAME="Raspbian GNU/Linux"
                  VERSION_ID="10"
                  VERSION="10 (buster)"
                  VERSION_CODENAME=buster
                  ID=raspbian
                  ID_LIKE=debian
                  HOME_URL="http://www.raspbian.org/"
                  SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                  BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                  
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Zlorsh last edited by

                    @zlorsh

                    Da ist Chaos drin...

                    iobroker update -i
                    

                    funktioniert noch?

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      Zlorsh @Thomas Braun last edited by

                      @thomas-braun leider nein

                      pi@raspberrypi:/opt/iobroker $ iobroker update -i
                      internal/modules/cjs/loader.js:905
                        throw err;
                        ^
                      
                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                          at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                          at internal/main/run_main_module.js:17:47 {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: []
                      }
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Zlorsh last edited by

                        @zlorsh sagte in Node.Js wird nicht gefunden:

                        VERSION="10 (buster)"

                        langsam gefällt mir deine Idee

                        @zlorsh sagte in Node.Js wird nicht gefunden:

                        Ich glaube ich mach einfach ein ganz cleanen reinstall von allem

                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          Zlorsh @Homoran last edited by

                          @homoran Ja ist vermutlich das einfachste...

                          Genau aus dem Grund hab ich nie Updates gemacht, never change a running system 🙂

                          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Zlorsh last edited by Homoran

                            @zlorsh sagte in Node.Js wird nicht gefunden:

                            @homoran Ja ist vermutlich das einfachste...

                            Genau aus dem Grund hab ich nie Updates gemacht, never change a running system 🙂

                            Das war jetzt der falscheste Satz an der ungünstigsten Stelle!
                            Deine Probleme hast du weil du so gehandelt hast.

                            Z 1 Reply Last reply Reply Quote 0
                            • Z
                              Zlorsh @Homoran last edited by Zlorsh

                              @homoran Ja, da könnte was dran sein, shame on me 😨🙊

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

                                @zlorsh sagte in Node.Js wird nicht gefunden:

                                @homoran Ja, da könnte was dran sein, shame on me 😨🙊

                                Ich weiß nicht ob @Thomas-Braun noch Lust hat das tote Pferd wiederzubeleben. Könnte eine Herausforderung für ihn sein.

                                Sonst mach am besten alles neu, angefangen vom aktuellen Raspberry Pi OS lite.

                                und erzähl uns wenn du wieder in local installiert hast, wie du das gemacht hast. Interessiert uns brennend!

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Zlorsh last edited by

                                  @zlorsh sagte in Node.Js wird nicht gefunden:

                                  never change a running system

                                  So lange, bis dir das tolle running system komplett versumpft.
                                  Ist dir hier passiert.

                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Homoran last edited by

                                    @homoran sagte in Node.Js wird nicht gefunden:

                                    Ich weiß nicht ob @Thomas-Braun noch Lust hat das tote Pferd wiederzubeleben. Könnte eine Herausforderung für ihn sein.

                                    Ehrlich gesagt nicht. Wobei das Grundsystem ja jetzt wohl auf Stand ist.
                                    Ist 'nur' noch der ioBroker in der Update-Falle versunken.

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z
                                      Zlorsh @Thomas Braun last edited by

                                      @thomas-braun

                                      Ich habe nun ganz neu installiert, trotzdem vielen Dank für eure Versuche mein Problem zu lösen.

                                      Von mir aus kann der Thread gerne geschlossen werden.

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      931
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      3
                                      26
                                      812
                                      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