Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Js-controller drüberinstallieren

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Js-controller drüberinstallieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Ich bekam heute mal wieder Probleme als normaler User mit sudo den js-controller upzudaten.

      Also als root eingeloggt und npm install iobroker.js-controller eingegeben.

      Lief gut durch bis zu einem fatal Error. So etwas habe ich noch nie gehabt.

      ! ````
      npm WARN deprecated localhost.daplie.com-certificates@1.2.5: Moved to localhost.daplie.me-certificates
      ! > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
      node-gyp rebuild
      ! make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
      CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
      ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden
      #include <security pam_appl.h="">^
      compilation terminated.
      authenticate_pam.target.mk:94: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheiterte
      make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
      gyp ERR! build error
      gyp ERR! stack Error: make failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
      gyp ERR! stack at emitTwo (events.js:106:13)
      gyp ERR! stack at ChildProcess.emit (events.js:194:7)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      gyp ERR! System Linux 4.9.0-2-amd64
      gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
      gyp ERR! node -v v7.7.3
      gyp ERR! node-gyp -v v3.5.0
      gyp ERR! not ok
      ! > iobroker.js-controller@0.17.2 install /opt/iobroker/node_modules/iobroker.js-controller
      node iobroker.js setup first
      ! iobroker.core@0.1.0 /opt/iobroker
      └── iobroker.js-controller@0.17.2
      ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: node-gyp rebuild
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      root@ioBroker-NUC:/opt/iobroker#</security>

      
      Zur Ehrenrettung:
      
      Debian 9
      
      nodejs 7
      
      :D :D
      
      Gruß
      
      Rainer
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        laut google:

        apt-get install libpam0g-dev

        … gehts dann?

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

          @apollon77:

          … gehts dann? `
          Ehrlich???

          Es läuft trotzdem - ich würde im Moment nicht gerne etwas dran ändern, weil meine anderen Installationen auch fast alle gerade zicken 😞

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 last edited by

            naja der Fehler kommt von einer optionalen Dependency … also ist es "ok" wenn es fehltschlägt.

            Effektiv will er was kompilieren und braucht dazu eine ".h" Datei ... die ist in dem genannten Paket drin ... wenn man Google glaubt 🙂

            Sollte also

            1 Reply Last reply Reply Quote 0
            • F
              Fitti last edited by

              @apollon77:

              laut google:

              apt-get install libpam0g-dev

              … gehts dann? `

              Ohh man. Wie lange nervt mich dieser Fehler. Ja - selbst andere Geräte kaufte ich mir. Hat mich bestimmt schon 300€ gekostet.

              Dieser Befehl und die Befehle:

              npm config set unsafe-perm true
              npm install authenticate-pam
              
              

              Sorgen nun für Ruhe.

              Nimmt das Bitte unbedingt in alle Unixbasierte Beschreibungen auf.

              So long,

              Fitti

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

              Support us

              ioBroker
              Community Adapters
              Donate

              1.0k
              Online

              31.6k
              Users

              79.4k
              Topics

              1.3m
              Posts

              3
              5
              1511
              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