Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Ikea tradfri lässt sich nicht installieren

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    712

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Ikea tradfri lässt sich nicht installieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
5 Beiträge 3 Kommentatoren 639 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    mctom
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    leider bekommen ich den tradfri Adapter nicht installiert.

    Hier die Daten aus der Console:

    ! ````
    root@ioBrokerBETRIEB:~# cd /opt/iobroker
    root@ioBrokerBETRIEB:/opt/iobroker# sudo npm install iobroker.tradfri --production --unsafe-perm
    npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
    ! > node-aead-crypto@1.0.5 install /opt/iobroker/node_modules/node-aead-crypto
    node lib/install.js
    ! running default installation script
    module.js:478
    throw err;
    ^
    ! Error: Cannot find module 'npmlog'
    at Function.Module._resolveFilename (module.js:476:15)
    at Function.Module._load (module.js:424:25)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at /opt/iobroker/node_modules/.bin/npm:18:11
    at Object. <anonymous>(/opt/iobroker/node_modules/.bin/npm:75:3)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    child_process.js:516
    throw err;
    ^
    ! Error: Command failed: npm run install:default
    at checkExecSyncError (child_process.js:473:13)
    at execSync (child_process.js:513:13)
    at Object. <anonymous>(/opt/iobroker/node_modules/node-aead-crypto/lib/install.js:22:1)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.runMain (module.js:611:10)
    at run (bootstrap_node.js:387:7)
    iobroker.core@1.0.0 /opt/iobroker
    └── (empty)
    ! npm ERR! Linux 4.9.0-6-amd64
    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.tradfri" "--production" "--unsafe-perm"
    npm ERR! node v6.14.1
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE
    ! npm ERR! node-aead-crypto@1.0.5 install: node lib/install.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the node-aead-crypto@1.0.5 install script 'node lib/install.js'.
    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 node-aead-crypto package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node lib/install.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs node-aead-crypto
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR! npm owner ls node-aead-crypto
    npm ERR! There is likely additional logging output above.
    ! npm ERR! Please include the following file with any support request:
    npm ERR! /opt/iobroker/npm-debug.log
    npm ERR! code 1</anonymous></anonymous>

    
    Hat jemand eine Idee was ich hier machen kann ?
    
    Meine Suche im Forum hat leider noch kein passendes Ergebnis gebracht.
    
    Systeminfos:
    
    Debian
    
    Host: 1.3.0
    
    Node: 6.14.1
    
    npm: 3.10.10
    
    Gruß
    
    MIchael
    1 Antwort Letzte Antwort
    0
    • BuZZyB Offline
      BuZZyB Offline
      BuZZy
      schrieb am zuletzt editiert von
      #2

      Wieso installierst du nicht über das Webinterface?

      Wenn es damit auch nicht geht:

      Mach ein update von npm auf Version 4.

       sudo npm install -g npm@4
      

      VORHER BACKUP VOM SYSTEM MACHEN!

      Gruß

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        mctom
        schrieb am zuletzt editiert von
        #3

        so konnte mich der Sache endlich mal wieder annehmen.

        Update von NPM durchgeführt.

        Bekomme weiterhin eine Fehlermeldung:

        ! ````
        $ ./iobroker add tradfri
        NPM version: 4.6.1
        npm install iobroker.tradfri --production --save --prefix "/opt/iobroker" (System call)
        module.js:478 throw err;
        ^
        ! Error: Cannot find module 'npmlog'
        at Function.Module._resolveFilename (module.js:476:15)
        at Function.Module._load (module.js:424:25)
        at Module.require (module.js:504:17)
        at require (internal/module.js:20:19)
        at /opt/iobroker/node_modules/.bin/npm:18:11
        at Object. <anonymous>(/opt/iobroker/node_modules/.bin/npm:75:3)
        at Module._compile (module.js:577:32)
        at Object.Module._extensions..js (module.js:586:10)
        at Module.load (module.js:494:32)
        at tryModuleLoad (module.js:453:12)
        ! npm ERR! code ELIFECYCLEnpm ERR! errno 1
        npm ERR! node-dtls-client@0.5.4 install: node install/postinstall.js
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the node-dtls-client@0.5.4 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/2018-05-29T19_02_41_520Z-debug.log
        host.ioBrokerBETRIEB create instance tradfri
        ERROR: host.ioBrokerBETRIEB error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
        ERROR: process exited with code 20</anonymous>

        
        Hat noch jemand eine Idee ?
        1 Antwort Letzte Antwort
        0
        • AlCalzoneA Offline
          AlCalzoneA Offline
          AlCalzone
          Developer
          schrieb am zuletzt editiert von
          #4

          Ist dein JS-Controller aktuell?

          "/opt/iobroker/node_modules/.bin/npm" sollte in neueren Versionen nicht mehr existieren. Du hast zwar global eine neue npm-Version, intern wird aber anscheinend die ehemals mitgelieferte 2.x-Version verwendet.

          Lösche bitte mal diese Dateien/Ordner:

          /opt/iobroker/node_modules/.bin/npm
          /opt/iobroker/node_modules/npm
          

          und probiere es dann neu.

          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

          1 Antwort Letzte Antwort
          0
          • M Offline
            M Offline
            mctom
            schrieb am zuletzt editiert von
            #5

            DANKE.

            Das war's. Ich habe den Controller aktualisiert, dann ging es noch nicht. Nachdem ich die Datei /opt/iobroker/node_modules/.bin/npm gelöscht hatte klappte es nun.

            Vielen Dank.

            1 Antwort Letzte Antwort
            0

            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

            Registrieren Anmelden
            Antworten
            • In einem neuen Thema antworten
            Anmelden zum Antworten
            • Älteste zuerst
            • Neuste zuerst
            • Meiste Stimmen


            Support us

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

            413

            Online

            32.9k

            Benutzer

            83.0k

            Themen

            1.3m

            Beiträge
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
            ioBroker Community 2014-2025
            logo
            • Anmelden

            • Du hast noch kein Konto? Registrieren

            • Anmelden oder registrieren, um zu suchen
            • Erster Beitrag
              Letzter Beitrag
            0
            • Home
            • Aktuell
            • Tags
            • Ungelesen 0
            • Kategorien
            • Unreplied
            • Beliebt
            • GitHub
            • Docu
            • Hilfe