Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ubuntu: Hue / Ping / HomeKit… können nicht installiert werden

    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

    Ubuntu: Hue / Ping / HomeKit… können nicht installiert werden

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

      Huhu,

      Ich nutze jetzt schon länger ioBroker und bin immer mehr begeistert.

      Meine erste installation war auf meinem Raspberry Pi v1, da mit hier aber die Leistung zu gering war und ich eh einen intel NUC 24/7 laufen habe, ist das ganze nun auf diesen umgezogen.

      Habe hier Ubuntu 16.04 LTE drauf laufen, und konnte iOBroker ohne Probleme installieren.

      Nun hab ich aber Probleme einige Adapter zu installieren, bekomme folgende Meldungen:

      HomeKit

      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
      gyp 
      ERR!
       System Linux 4.4.0-31-genericgyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/mdns
      gyp ERR! node -v v4.2.6
      gyp ERR! node-gyp -v v3.0.3
      
      gyp ERR! not ok 
      npm
       WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
      npm WARN iobroker No descriptionnpm WARN iobroker No repository field.
      npm WARN iobroker No README data
      
      npm WARN iobroker No license field.
      npm ERR! Linux 4.4.0-31-generic
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.homekit" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.2.6
      npm ERR! npm  v3.5.2
      npm ERR! code ELIFECYCLE
      
      npm ERR! mdns@2.2.11 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the mdns@2.2.11 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 mdns 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 mdns
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls mdns
      
      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
      
      ERROR: host.kodi-desktop Cannot install iobroker.homekit: 1
      ERROR: process exited with code 25
      
      

      Hue

      $ ./iobroker add hue
      host.kodi-desktop install adapter hue
      npm install --production --prefix "/opt/iobroker/node_modules/iobroker.hue" (System call)
      npm
       ERR! Linux 4.4.0-31-generic
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.hue"
      npm ERR! node v4.2.6npm ERR! npm  v3.5.2
      
      npm ERR! Cannot read property 'target' of nullnpm ERR! 
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">npm ERR!
       Please include the following file with any support request:npm
       ERR!     /npm-debug.log
      Cannot install iobroker.hue: 1
      ERROR: process exited with code 25</https:> 
      

      Ping

      $ ./iobroker add ping
      host.kodi-desktop install adapter ping
      npm install --production --prefix "/opt/iobroker/node_modules/iobroker.ping" (System call)
      npm
      
      ERR! Linux 4.4.0-31-genericnpm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.ping"
      
      npm ERR! node v4.2.6npm ERR! npm  v3.5.2
      
      npm ERR! Cannot read property 'target' of nullnpm ERR! 
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:npm ERR!     /npm-debug.log
      
      Cannot install iobroker.ping: 1
      ERROR: process exited with code 25</https:> 
      

      Habe anschließend noch versucht die Installation über das Terminal direkt zu machen.

      • cd /opt/iobroker

      • sudo Biobroker stop

      • sudo npm install iobroker.hue –production

      opt/iobroker

      ├── iobroker@0.7.1

      ├── iobroker.fritzbox@0.2.1

      ├── iobroker.hue@0.5.8

      └── iobroker.node-red@1.1.1

      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.

      • sudo iobroker upload hue

      got /opt/iobroker/node_modules/iobroker.hue/admin

      upload [1] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/index.html index.html text/html

      upload [0] hue.admin /opt/iobroker/node_modules/iobroker.hue/admin/hue.jpeg hue.jpeg image/jpeg

      system.adapter.hue does not exist

      • sudo iobroker add hue

      host.kodi-desktop install adapter hue

      npm install –production --prefix "/opt/iobroker/node_modules/iobroker.hue" (System call)

      npm ERR! Linux 4.4.0-31-generic

      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.hue"

      npm ERR! node v4.2.6

      npm ERR! npm v3.5.2

      npm ERR! Cannot read property 'target' of null

      npm ERR!

      npm ERR! If you need help, you may report this error at:

      npm ERR! <https://github.com/npm/npm/issues>

      npm ERR! Please include the following file with any support request:

      npm ERR! /opt/iobroker/npm-debug.log

      Cannot install iobroker.hue: 1

      Ich hoffe ihr könnt mir helfen, würde das großartige system gerne weiter im vollem Umfang nutzen 🙂

      1 Reply Last reply Reply Quote 0
      • D
        Dancingsheep last edited by

        Nach ein bisschen durchs forum lesen, hier die Lösung von Blutfox aus http://forum.iobroker.net/viewtopic.php?f=17&t=3213

        Diese "target"-Fehler ist Merkmal von npm@3

        Schreibe "npm install -g npm@latest-2".

        Dann sollte gehen.

        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

        652
        Online

        31.9k
        Users

        80.3k
        Topics

        1.3m
        Posts

        1
        2
        1007
        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