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. Gelöst: Update Tradfri auf Version 1.2.1

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    262

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

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

Gelöst: Update Tradfri auf Version 1.2.1

Scheduled Pinned Locked Moved ioBroker Allgemein
23 Posts 6 Posters 3.2k 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.
  • HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #13

    Bei dir fehlt Python¡
    @Gallemann:

    Error: Can't find Python executable "python" `

    Gruß

    Rainer

    kein Support per PN! - Fragen im Forum stellen -
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Reply Last reply
    0
    • AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      wrote on last edited by
      #14

      @Homoran:

      @Gallemann:

      Error: Can't find Python executable "python"

      npm install --global --add-python-to-path windows-build-tools
      

      auf einer Konsole mit Administratorrechten ausführen.

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

      1 Reply Last reply
      0
      • B Offline
        B Offline
        baeckerman83
        wrote on last edited by
        #15

        Bei mir funktioniert die Installation des Adapaters auch nicht. Wäre super wenn du mal schauen könntest.

        Ich habe node v6.14.2 und iobroker 1.2.3

        Ich versuche die Installation auf dem Slave. Ist ein Raspi mit Raspbian.

        pi@iobrokerslave:/opt/iobroker $ sudo iobroker add tradfri 
        npm install iobroker.tradfri --production --prefix "/opt/iobroker" (System call)
        npm ERR! Linux 4.14.34-v7+
        npm ERR! argv "/usr/bin/node" "/opt/iobroker/node_modules/.bin/npm" "i" "--save" "node-aead-crypto@^1.1.3"
        npm ERR! node v6.14.2
        npm ERR! npm  v2.15.12
        npm ERR! path /root/.npm/node-aead-crypto/1.1.3/package
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall mkdir
        
        npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.3/package'
        npm ERR!     at Error (native)
        npm ERR!  { Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.3/package'
        npm ERR!     at Error (native)
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'mkdir',
        npm ERR!   path: '/root/.npm/node-aead-crypto/1.1.3/package',
        npm ERR!   parent: 'node-dtls-client' }
        npm ERR! 
        npm ERR! Please try running this command again as root/Administrator.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /opt/iobroker/node_modules/node-dtls-client/npm-debug.log
        npm ERR! Linux 4.14.34-v7+
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.tradfri" "--production" "--prefix" "/opt/iobroker"
        npm ERR! node v6.14.2
        npm ERR! npm  v3.10.10
        npm ERR! code ELIFECYCLE
        
        npm ERR! node-dtls-client@0.5.4 install: `node install/postinstall.js`
        npm ERR! Exit status 243
        npm ERR! 
        npm ERR! Failed at the node-dtls-client@0.5.4 install script 'node install/postinstall.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-dtls-client package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR!     node install/postinstall.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs node-dtls-client
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls node-dtls-client
        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
        host.iobrokerslave install adapter tradfri
        npm install iobroker.tradfri --production --prefix "/opt/iobroker" (System call)
        npm ERR! Linux 4.14.34-v7+
        npm ERR! argv "/usr/bin/node" "/opt/iobroker/node_modules/.bin/npm" "i" "--save" "node-aead-crypto@^1.1.3"
        npm ERR! node v6.14.2
        npm ERR! npm  v2.15.12
        npm ERR! path /root/.npm/node-aead-crypto/1.1.3/package
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall mkdir
        
        npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.3/package'
        npm ERR!     at Error (native)
        npm ERR!  { Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.3/package'
        npm ERR!     at Error (native)
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'mkdir',
        npm ERR!   path: '/root/.npm/node-aead-crypto/1.1.3/package',
        npm ERR!   parent: 'node-dtls-client' }
        npm ERR! 
        npm ERR! Please try running this command again as root/Administrator.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /opt/iobroker/node_modules/node-dtls-client/npm-debug.log
        npm ERR! Linux 4.14.34-v7+
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.tradfri" "--production" "--prefix" "/opt/iobroker"
        npm ERR! node v6.14.2
        npm ERR! npm  v3.10.10
        npm ERR! code ELIFECYCLE
        
        npm ERR! node-dtls-client@0.5.4 install: `node install/postinstall.js`
        npm ERR! Exit status 243
        npm ERR! 
        npm ERR! Failed at the node-dtls-client@0.5.4 install script 'node install/postinstall.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-dtls-client package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR!     node install/postinstall.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs node-dtls-client
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls node-dtls-client
        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
        host.iobrokerslave install adapter tradfri
        npm install iobroker.tradfri --production --prefix "/opt/iobroker" (System call)
        npm ERR! Linux 4.14.34-v7+
        npm ERR! argv "/usr/bin/node" "/opt/iobroker/node_modules/.bin/npm" "i" "--save" "node-aead-crypto@^1.1.3"
        npm ERR! node v6.14.2
        npm ERR! npm  v2.15.12
        npm ERR! path /root/.npm/node-aead-crypto/1.1.3/package
        npm ERR! code EACCES
        npm ERR! errno -13
        npm ERR! syscall mkdir
        
        npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.3/package'
        npm ERR!     at Error (native)
        npm ERR!  { Error: EACCES: permission denied, mkdir '/root/.npm/node-aead-crypto/1.1.3/package'
        npm ERR!     at Error (native)
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'mkdir',
        npm ERR!   path: '/root/.npm/node-aead-crypto/1.1.3/package',
        npm ERR!   parent: 'node-dtls-client' }
        npm ERR! 
        npm ERR! Please try running this command again as root/Administrator.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /opt/iobroker/node_modules/node-dtls-client/npm-debug.log
        npm ERR! Linux 4.14.34-v7+
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.tradfri" "--production" "--prefix" "/opt/iobroker"
        npm ERR! node v6.14.2
        npm ERR! npm  v3.10.10
        npm ERR! code ELIFECYCLE
        
        npm ERR! node-dtls-client@0.5.4 install: `node install/postinstall.js`
        npm ERR! Exit status 243
        npm ERR! 
        npm ERR! Failed at the node-dtls-client@0.5.4 install script 'node install/postinstall.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-dtls-client package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR!     node install/postinstall.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs node-dtls-client
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls node-dtls-client
        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
        host.iobrokerslave install adapter tradfri
        host.iobrokerslave Cannot install tradfri
        
        1 Reply Last reply
        0
        • wendy2702W Online
          wendy2702W Online
          wendy2702
          wrote on last edited by
          #16

          Welche NPM Version?

          npm -v
          

          Gesendet von iPhone mit Tapatalk Pro

          Bitte keine Fragen per PN, die gehören ins Forum!

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          1 Reply Last reply
          0
          • HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #17

            2.15.12

            kein Support per PN! - Fragen im Forum stellen -
            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Reply Last reply
            0
            • B Offline
              B Offline
              baeckerman83
              wrote on last edited by
              #18

              Und ich habe die 3.10.10

              sudo npm i iobroker.tradfri –production --unsafe-perm

              Damit hat das installieren geklappt. Die Instanz anlegen ging dann aber auch nur über die Konsole mit iobroker add tradfri

              Warum der Weg mit dem Plus nicht geht weiß ich nicht, das ist schade, aber vielleicht ist der andere Weg besser. Läuft jetzt! Danke für deine Arbeit!

              1 Reply Last reply
              0
              • AlCalzoneA Offline
                AlCalzoneA Offline
                AlCalzone
                Developer
                wrote on last edited by
                #19

                Das ist leider eine der Auswirkungen von Rechteproblemen in Zusammenhang mit npm. Wir müssen da noch ein paar offene Fragen klären, damit gänzlich auf sudo verzichtet werden kann und damit hoffentlich diese Probleme endlich aus der Welt sind.

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

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  Gallemann
                  wrote on last edited by
                  #20

                  npm i iobroker.tradfri –production --unsafe-perm

                  hat leider wieder nicht geklappt

                  ` > PS C:\iobroker> npm i iobroker.tradfri –production --unsafe-perm

                  npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)

                  npm WARN checkPermissions Missing write access to C:\iobroker\node_modules\node-aead-crypto\node_modules\nan

                  npm WARN checkPermissions Missing write access to C:\iobroker\node_modules\node-aead-crypto\node_modules\node-pre-gyp-github

                  npm ERR! path C:\iobroker\node_modules\node-aead-crypto\node_modules\nan

                  npm ERR! code ENOENT

                  npm ERR! errno -4058

                  npm ERR! syscall access

                  npm ERR! enoent ENOENT: no such file or directory, access 'C:\iobroker\node_modules\node-aead-crypto\node_modules\nan'

                  npm ERR! enoent This is related to npm not being able to find a file.

                  npm ERR! enoent

                  npm ERR! A complete log of this run can be found in:

                  npm ERR! C:\Users\Gallemann\AppData\Roaming\npm-cache_logs\2018-05-10T16_01_14_205Z-debug.log `

                  1 Reply Last reply
                  0
                  • wendy2702W Online
                    wendy2702W Online
                    wendy2702
                    wrote on last edited by
                    #21

                    Hast du das als Administrator gemacht?

                    Bitte keine Fragen per PN, die gehören ins Forum!

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      Gallemann
                      wrote on last edited by
                      #22

                      ja..

                      1 Reply Last reply
                      0
                      • AlCalzoneA Offline
                        AlCalzoneA Offline
                        AlCalzone
                        Developer
                        wrote on last edited by
                        #23

                        Probier mal aus C:\iobroker\node_modules alles zu löschen, was mit tradfri zu tun hat:

                        iobroker.tradfri
                        node-tradfri-client
                        node-coap-client
                        node-dtls-client
                        node-aead-crypto
                        

                        Und dann nochmal.

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

                        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

                        579

                        Online

                        32.7k

                        Users

                        82.5k

                        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