Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Npm installer problem

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Npm installer problem

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

      Hallo Leute,

      ich bekomme beim installieren von Adaptern folgende Fehlermeldung:

      npm install iobroker.weatherunderground --production --save --prefix "/home/thomas" (System call)
      ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefundencompilation terminated.
      
      make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
      gyp
      
      ERR! build error 
      gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:191:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
      
      gyp ERR! System Linux 4.4.0-124-genericgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /home/thomas/node_modules/authenticate-pam
      
      gyp ERR! node -v v6.14.2gyp ERR! node-gyp -v v3.4.0
      gyp ERR! not ok 
      

      kann jemand was damit Anfangen und mir bitte helfen? bin leider in Linux nicht so firm 😞

      Vielen lieben dank schonmal für die mühen

      Gruß Thomas

      1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer last edited by

        > –prefix "/home/thomas"
        Auf den ersten Blick sieht das nach dem falschen Verzeichnis aus. Da das vermutlich von ioBroker selbst ausgeführt wurde… liegt die Installation davon möglicherweise auch im falschen Verzeichnis?

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

          Die Ausgabe ist aber nur ein Auszug oder?! Das Pam ist an sich eine optionale Abhängigkeit und damit ok wenn sie fehlschlägt. In dem Fall fehlt die irgendein Linux Paket.

          1 Reply Last reply Reply Quote 0
          • T
            thomasSC last edited by

            Die Installation liegt im /opt/iobroker/ . da wo sie eigentlich hinsoll.

            was könnte ich tun das die fehler weggehen?

            Gruß Thomas

            1 Reply Last reply Reply Quote 0
            • T
              thomasSC last edited by

              durch irgendetwas hat sich wohl doch mein Verzeichnis geändert. kann ich das irgendwie wieder ändern?

              wenn ich ein backup mache :

              cd /opt/iobroker

              iobroker backup

              dann macht er das backup in mein Haupt Verzeichnis und nicht ins /opt/iobroker wie früher

              irgendwas habe ich wohl zerschossen 😞

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

              Support us

              ioBroker
              Community Adapters
              Donate

              956
              Online

              31.6k
              Users

              79.5k
              Topics

              1.3m
              Posts

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