Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter lassen sich nicht installieren

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.0k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

Adapter lassen sich nicht installieren

Scheduled Pinned Locked Moved ioBroker Allgemein
3 Posts 2 Posters 958 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kwittwer
    wrote on last edited by
    #1

    Hallo,

    ich bin gerade dabei mich Biobroker anzufreunden, habe allerdings noch ein paar Probleme bei der Installation.

    Mein Setup sieht wie folgt aus: Ich habe das Raspbian i386 Image in einer VirtualBox VM laufen und darauf iobroker als root installiert.

    Nun habe ich über die Adapter Seite als auch über das CLI versucht amazon-dash und IKEA tradfti zu installieren, dabei bekomme ich nachfolgende Fehler:

    $ ./iobroker add amazon-dash
    npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
    E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
    
    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp"
    ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         info.GetReturnValue().Set(cons->NewInstance());
                                                     ^
    
    In file included from /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8.h:26:0,                 from /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/node.h:63,
                     from ../../nan/nan.h:51,
                     from ../socket_watcher.hpp:8,
                     from ../socket_watcher.cpp:5:
    /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8.h:3836:52: note: declared here
       V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
                                                        ^
    /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    
    gyp
    
    WARN
     EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp"
    ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                           ^
    compilation terminated.
    
    make: *** [Release/obj.target/pcap_binding/pcap_binding.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:258:23)
    gyp ERR! stack     at emitTwo (events.js:126:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    gyp ERR! System Linux 4.9.0-4-686
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/pcap
    gyp ERR! node -v v8.9.3
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok 
    
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1npm ERR! pcap@2.0.0 install: `node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the pcap@2.0.0 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!     /root/.npm/_logs/2017-12-27T09_59_25_712Z-debug.log
    
    host.IObroker install adapter amazon-dash
    npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
    E
    : Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: 
    Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
    gyp
    
    WARN
     EACCES
     user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"
    gyp
     WARN EACCES
     attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp"
    ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         info.GetReturnValue().Set(cons->NewInstance());
                                                     ^
    
    In file included from /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8.h:26:0,                 from /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/node.h:63,
                     from ../../nan/nan.h:51,
                     from ../socket_watcher.hpp:8,
                     from ../socket_watcher.cpp:5:
    /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8.h:3836:52: note: declared here
       V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
                                                        ^
    /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    
    gyp
     WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp"
    
    ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                           ^
    compilation terminated.
    
    make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1
    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:258:23)
    gyp ERR! stack     at emitTwo (events.js:126:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    
    gyp ERR! System Linux 4.9.0-4-686gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/pcap
    gyp ERR! node -v v8.9.3
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok 
    
    npm ERR! code ELIFECYCLEnpm ERR! errno 1
    
    npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the pcap@2.0.0 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!     /root/.npm/_logs/2017-12-27T09_59_36_482Z-debug.log
    
    host.IObroker install adapter amazon-dash
    npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
    E
    : Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
    
    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp"
    ../socket_watcher.cpp: In static member function ‘static void SocketWatcher::New(const Nan::FunctionCallbackInfo<v8::value>&)’:../socket_watcher.cpp:104:49: warning: ‘v8::Local <v8::object>v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         info.GetReturnValue().Set(cons->NewInstance());
                                                     ^
    
    In file included from /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8.h:26:0,                 from /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/node.h:63,
                     from ../../nan/nan.h:51,
                     from ../socket_watcher.hpp:8,
                     from ../socket_watcher.cpp:5:
    /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8.h:3836:52: note: declared here
       V8_DEPRECATED("Use maybe version", Local <object>NewInstance() const);
                                                        ^
    /opt/iobroker/node_modules/socketwatcher/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    
    gyp
    
    WARN
    
    EACCES
     user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp"
    ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include <pcap pcap.h="">
                           ^
    
    compilation terminated.
    make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Fehler 1
    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:258:23)
    gyp ERR! stack     at emitTwo (events.js:126:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    gyp ERR! System Linux 4.9.0-4-686
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/pcap
    gyp ERR! node -v v8.9.3
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok 
    
    npm
    
    ERR!
    
    code
     ELIFECYCLE
    npm ERR! errno 1
    npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the pcap@2.0.0 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!     /root/.npm/_logs/2017-12-27T09_59_46_424Z-debug.log
    
    host.IObroker install adapter amazon-dash
    ERROR: host.IObroker Cannot install amazon-dash
    ERROR: process exited with code 13
    
    Hat jemand eine Idee woran das liegt?</pcap></object></v8::object></v8::value></pcap></object></v8::object></v8::value></pcap></object></v8::object></v8::value>
    
    1 Reply Last reply
    0
    • arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      wrote on last edited by
      #2
       EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.9.3"
      

      machmal

      cd /opt/iobroker 
      sudo chmod 777 * -R
      

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

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kwittwer
        wrote on last edited by
        #3

        Hi,

        danke für die Hilfe. Habe inzwischen nochmal ein normales Debian 9 installiert. Mittlerweile ist das Problem mit den Zugriffsrechten erledigt habe dafür aber nun nachfolgende Ausgabe:

        $ ./iobroker add amazon-dash
        npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
        npm
         WARN lifecycle iobroker.amazon-dash@0.2.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.5 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
        gyp
         ERR! build error 
        gyp
         ERR! 
        stack Error: not found: make
        gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)gyp
         ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
        
        gyp 
        ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
        gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
        gyp ERR! System Linux 4.9.0-4-amd64
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
        gyp ERR! node -v v6.12.2
        gyp ERR! node-gyp -v v3.4.0
        gyp ERR! not ok 
        
        npm 
        ERR! Linux 4.9.0-4-amd64
        npm
        
        ERR!
        
        argv
         "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
        npm
         ERR! node v6.12.2npm
         ERR! npm  v3.10.10npm ERR! code ELIFECYCLE
        
        npm
         ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`npm 
        ERR! Exit status 1
        npm ERR! npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
        
        npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the socketwatcher package,
        npm ERR! not with npm itself.
        npm
         ERR! Tell the author that this fails on your system:npm ERR!     node-gyp rebuild
        npm 
        ERR! You can get information on how to open an issue for this project with:npm ERR!     npm bugs socketwatcher
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls socketwatcher
        npm ERR! There is likely additional logging output above.
        
        npm ERR!
         Please include the following file with any support request:npm ERR!     /npm-debug.log
        
        host.debian install adapter amazon-dash
        npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
        npm WARN
         lifecycle iobroker.amazon-dash@0.2.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.5 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
        gyp
         ERR! build error 
        gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
        gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
        gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
        gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
        gyp ERR! System Linux 4.9.0-4-amd64
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
        gyp ERR! node -v v6.12.2
        
        gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok 
        
        npm ERR!
         Linux 4.9.0-4-amd64
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.2
        npm ERR! npm  v3.10.10
        npm ERR! code ELIFECYCLE
        
        npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
        npm ERR! Exit status 1
        npm ERR! 
        npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the socketwatcher package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR!     node-gyp rebuild
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs socketwatcher
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls socketwatcher
        npm ERR! There is likely additional logging output above.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /npm-debug.log
        
        host.debian install adapter amazon-dash
        npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call)
        npm WARN lifecycle iobroker.amazon-dash@0.2.5~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.5 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9
        gyp
         ERR! 
        build error
        
        gyp
        
        ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
        gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
        gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
        gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
        gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
        gyp ERR! System Linux 4.9.0-4-amd64
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/socketwatcher
        gyp ERR! node -v v6.12.2
        gyp ERR! node-gyp -v v3.4.0
        gyp ERR! not ok 
        
        npm ERR! Linux 4.9.0-4-amd64npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"
        npm ERR! node v6.12.2
        npm ERR! npm  v3.10.10
        
        npm ERR! code ELIFECYCLE
        npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
        npm ERR! Exit status 1
        npm ERR! 
        npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the socketwatcher package,
        npm ERR! not with npm itself.
        npm ERR!
         Tell the author that this fails on your system:npm ERR!     node-gyp rebuild
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs socketwatcher
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls socketwatcher
        npm ERR! There is likely additional logging output above.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /npm-debug.log
        
        host.debian install adapter amazon-dash
        ERROR: host.debian Cannot install amazon-dash
        ERROR: process exited with code 13
        
        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

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

        595

        Online

        32.6k

        Users

        82.3k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe