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

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Gelöst: Update Tradfri auf Version 1.2.1

Scheduled Pinned Locked Moved ioBroker Allgemein
23 Posts 6 Posters 3.1k 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.
  • Espace0401E Offline
    Espace0401E Offline
    Espace0401
    wrote on last edited by
    #3

    Das hat leider nichts gebracht. Der Adapter wird zwar installiert, aber es läuft keine Instanz. Wenn ich ihn wieder lösche erscheint folgendes:

    $ ./iobroker del tradfri
    Delete adapter "tradfri"
    host.ioBroker-RasPi no instances of adapter tradfri found
    host.ioBroker-RasPi Counted 1 adapters for tradfri
    host.ioBroker-RasPi Counted 1 states of tradfri
    host.ioBroker-RasPi Counted 1 states (system.adapter.tradfri.*) from states
    host.ioBroker-RasPi Deleting 2 object(s).
    host.ioBroker-RasPi Deleting 1 state(s).
    npm uninstall iobroker.tradfri --silent --save --prefix "/opt/iobroker" (System call)
    process exited with code 0
    
    

    Die Installation lief so ab:

    pi@ioBroker-RasPi:/opt/iobroker $ sudo npm i iobroker.tradfri --production --unsafe-perm
    
    > node-dtls-client@0.5.4 install /opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-dtls-client
    > node install/postinstall.js
    
    node-dtls-client: testing NodeJS version
      Version < 10, installing node-aead-crypto...
    npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
    
    > node-aead-crypto@1.1.3 install /opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-dtls-client/node_modules/node-aead-crypto
    > node lib/install.js
    
    running default installation script
    
    > node-aead-crypto@1.1.3 install:default /opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-dtls-client/node_modules/node-aead-crypto
    > node-pre-gyp install --fallback-to-build
    
    [node-aead-crypto] Success: "/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-dtls-client/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" is installed via remote
    node-aead-crypto@1.1.3 node_modules/node-aead-crypto
    ├── nan@2.10.0
    └── node-pre-gyp-github@1.3.1 (commander@2.15.1, github@0.2.4)
    iobroker@1.0.0 /opt/iobroker
    └─┬ iobroker.tradfri@1.2.1 
      └─┬ node-tradfri-client@1.1.2 
        ├─┬ bonjour@3.5.0 
        │ ├── array-flatten@2.1.1 
        │ ├── deep-equal@1.0.1 
        │ ├── dns-equal@1.0.0 
        │ ├─┬ dns-txt@2.0.2 
        │ │ └── buffer-indexof@1.1.1 
        │ ├─┬ multicast-dns@6.2.3 
        │ │ ├── dns-packet@1.3.1 
        │ │ └── thunky@1.0.2 
        │ └── multicast-dns-service-types@1.1.0 
        ├─┬ debug@3.1.0 
        │ └── ms@2.0.0 
        ├─┬ node-coap-client@0.7.2 
        │ └─┬ node-dtls-client@0.5.4 
        │   └── semver@5.5.0 
        └── reflect-metadata@0.1.12 
    
    

    Vielleicht noch einer eine Idee?

    Iobroker in LXC-Container auf Proxmox 8 - Sicherung auf PBS - Homematic CCU2 - Netatmo Wetterstation und Thermostat

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

      Äh…

      Dumme Frage aber du hast nachdem installieren des Adapters auch dann noch ein Instanz erzeugt?
      999_9dbf4c22-ca3b-4efe-ace7-9153510b639f.jpeg

      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
        #5

        ich bekomme diese Fehler meldung .. könnte mir jemand sagen was ich machen müsste

        Fertig mit Fehler: reading io-package.json Error: ENOENT: no such file or directory, open 'c:\ioBroker\node_modules\iobroker.js-controller\adapter\tradfri\io-package.json'

        $ ./iobroker add tradfri 
        npm install iobroker.tradfri --production --prefix "c:/ioBroker" (System call)
        npm
         WARN invalid config loglevel="notice"
        npm
         WARN deprecated
         github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
        node-pre-gyp WARN Pre-built binaries not installable for node-aead-crypto@1.1.3 and node@8.11.1 (node-v57 ABI, unknown) (falling back to source compile with node-gyp) 
        node-pre-gyp WARN Hit error ENOTDIR: Cannot cd into 'c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64' 
        gyp
        
        ERR!
        
        configure error
        
        gyp
         ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp
        
        ERR!
        
        stack
             at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
        gyp 
        ERR! stack     at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)gyp 
        ERR!
        
        stack
             at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
        gyp
        
        ERR!
        
        stack
             at FSReqWrap.oncomplete (fs.js:152:21)
        gyp
        
        ERR!
        
        System
         Windows_NT 10.0.16299
        gyp
        
        ERR!
        
        command
         "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64\\node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64" "--napi_version=1" "--node_abi_napi=napi"
        gyp
        
        ERR!
        
        cwd
         c:\ioBroker\node_modules\node-aead-crypto
        gyp
        
        ERR!
        
        node -v
         v8.11.1
        gyp
        
        ERR!
        
        node-gyp -v
         v3.6.2
        gyp
        
        ERR!
         not ok 
        node-pre-gyp 
        ERR! build error 
        node-pre-gyp
        
        ERR!
        
        stack
         Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64\node_aead_crypto.node --module_name=node_aead_crypto --module_path=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64 --napi_version=1 --node_abi_napi=napi' (1)
        node-pre-gyp
        
        ERR!
        
        stack
             at ChildProcess. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
        node-pre-gyp
        
        ERR!
        
        stack
             at emitTwo (events.js:126:13)
        node-pre-gyp
        
        ERR!
         stack
             at ChildProcess.emit (events.js:214:7)
        node-pre-gyp
        
        ERR!
        
        stack
             at maybeClose (internal/child_process.js:925:16)
        node-pre-gyp
        
        ERR!
        
        stack
             at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
        node-pre-gyp
        
        ERR!
        
        System
         Windows_NT 10.0.16299
        node-pre-gyp
        
        ERR!
        
        command
         "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\node-aead-crypto\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
        node-pre-gyp
        
        ERR!
        
        cwd
         c:\ioBroker\node_modules\node-aead-crypto
        node-pre-gyp
        
        ERR! 
        node -v
         v8.11.1
        node-pre-gyp
        
        ERR!
        
        node-pre-gyp -v
         v0.9.1
        node-pre-gyp
        
        ERR!
        
        not ok
        
        npm 
        ERR!
         Windows_NT 10.0.16299
        npm
        
        ERR!
        
        argv
         "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "run" "install:default"
        npm
        
        ERR!
        
        node
         v8.11.1
        npm
        
        ERR!
        
        npm 
         v2.15.12
        npm
        
        ERR!
        
        code
         ELIFECYCLE
        npm
        
        ERR!
         node-aead-crypto@1.1.3 install:default: `node-pre-gyp install --fallback-to-build`
        npm
        
        ERR!
         Exit status 1
        npm 
        ERR! 
        npm
        
        ERR!
         Failed at the node-aead-crypto@1.1.3 install:default script 'node-pre-gyp install --fallback-to-build'.
        npm
        
        ERR!
         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-pre-gyp install --fallback-to-build
        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
        
        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!
             c:\ioBroker\node_modules\node-aead-crypto\npm-debug.log
        child_process.js:644
            throw err;
            ^
        
        Error: Command failed: npm run install:default
            at checkExecSyncError (child_process.js:601:13)
            at execSync (child_process.js:641:13)
            at Object. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\lib\install.js:22:1)
            at Module._compile (module.js:652:30)
            at Object.Module._extensions..js (module.js:663:10)
            at Module.load (module.js:565:32)
            at tryModuleLoad (module.js:505:12)
            at Function.Module._load (module.js:497:3)
            at Function.Module.runMain (module.js:693:10)
            at startup (bootstrap_node.js:188:16)
        
        npm 
        ERR! Windows_NT 10.0.16299
        npm
        
        ERR!
        
        argv
         "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "i" "--save" "node-aead-crypto@1.1.3"
        npm
        
        ERR!
        
        node
         v8.11.1
        npm
        
        ERR!
        
        npm 
         v2.15.12
        npm
        
        ERR!
        
        code
         ELIFECYCLE
        
        npm
        
        ERR!
         node-aead-crypto@1.1.3 install: `node lib/install.js`
        npm
        
        ERR!
         Exit status 1
        npm
        
        ERR!
        
        npm
         ERR!
         Failed at the node-aead-crypto@1.1.3 install script 'node lib/install.js'.
        npm
        
        ERR! 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 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!
             c:\ioBroker\node_modules\iobroker.tradfri\node_modules\node-dtls-client\npm-debug.log
        npm
        
        ERR!
        
        code ELIFECYCLE
        npm
        
        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!
             C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-05-05T09_26_14_900Z-debug.log
        host.Gallemann-PC create instance tradfri
        ERROR: host.Gallemann-PC error: reading io-package.json Error: ENOENT: no such file or directory, open 'c:\ioBroker\node_modules\iobroker.js-controller\adapter\tradfri\io-package.json'
        ERROR: process exited with code 20</anonymous></anonymous></anonymous>
        
        1 Reply Last reply
        0
        • wendy2702W Online
          wendy2702W Online
          wendy2702
          wrote on last edited by
          #6

          Könnte sein das deine NPM Version zu alt ist.

          Wenn ich das richtig gesehen habe irgendwas mit 2.x

          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
          • G Offline
            G Offline
            Gallemann
            wrote on last edited by
            #7

            jetzt bekomme ich diesen fehler

            $ ./iobroker add tradfri 
            NPM version: 5.6.0
            ERROR: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!NPM 5 is only supported starting with version 5.7.1!
            Please use "npm install -g npm@4" to downgrade npm to 4.x or 
            use "npm install -g npm@>=5.7.1" to install a supported version of npm 5!
            You need to make sure to repeat this step after installing an update to NodeJS and/or npm
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            
            ERROR: process exited with code 25
            

            aber wenn ich npm -v eingebe bekomme ich version 6.0.0

            c:\ioBroker>npm install -g npm@>=5.7.1
            
            c:\ioBroker>npm -v
            6.0.0
            
            c:\ioBroker>
            

            welche eingabe müsste ich eingeben das ich ihn installiert bekomme

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

              Jetzt hast du doch 6.0.0, das ist >= 5.7.1. Müsste also gehen?!

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

              1 Reply Last reply
              0
              • Espace0401E Offline
                Espace0401E Offline
                Espace0401
                wrote on last edited by
                #9

                @wendy2702:

                Äh…

                Dumme Frage aber du hast nachdem installieren des Adapters auch dann noch ein Instanz erzeugt?

                9DBF4C22-CA3B-4EFE-ACE7-9153510B639F.jpeg `

                Es gibt keine dummen Fragen….... Schäm. Du hast den Punkt getroffen. Manchmal sieht man vor lauter Bäumen den Wald nicht mehr. Danke!!!

                Geholfen hat bei mir tatsächlich das:

                cd /opt/iobroker

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

                und anschließend natürlich Instanz erzeugen.

                Iobroker in LXC-Container auf Proxmox 8 - Sicherung auf PBS - Homematic CCU2 - Netatmo Wetterstation und Thermostat

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

                  @AlCalzone:

                  Jetzt hast du doch 6.0.0, das ist >= 5.7.1. Müsste also gehen?! `

                  Leider nein.. bekomme es nicht drauf

                  Fertig mit Fehler: host.Gallemann-PC Cannot install tradfri

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

                    @Gallemann:

                    Fertig mit Fehler: host.Gallemann-PC Cannot install tradfri `
                    Steht da noch mehr?

                    Edit: Ich sehe gerade das in deinem alten Post:
                    > 'c:\ioBroker\node_modules\iobroker.js-controller\adapter\tradfri\io-package.json
                    Wie alt ist deine Installation? Diese Struktur wird schon ewig nicht mehr unterstützt :shock:

                    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
                      #12

                      heute komplett neu installiert leider immer noch nicht… soll wohl nicht bei mir sein

                      $ ./iobroker add tradfri 
                      npm install iobroker.tradfri --production --prefix "c:/ioBroker" (System call)
                      npm WARN invalid config loglevel="notice"
                      npm
                       WARN deprecated
                       github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
                      node-pre-gyp WARN Pre-built binaries not installable for node-aead-crypto@1.1.3 and node@8.11.1 (node-v57 ABI, unknown) (falling back to source compile with node-gyp) 
                      node-pre-gyp WARN Hit error ENOTDIR: Cannot cd into 'c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64' 
                      gyp
                      
                      ERR! configure error 
                      gyp
                      
                      ERR! 
                      stack
                       Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp 
                      ERR!
                       stack
                           at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)gyp ERR! stack     at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
                      
                      gyp
                      
                      ERR!
                      
                      stack
                           at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                      gyp
                      
                      ERR!
                      
                      stack
                           at FSReqWrap.oncomplete (fs.js:152:21)
                      gyp
                      
                      ERR!
                      
                      System
                       Windows_NT 10.0.16299
                      gyp 
                      ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64\\node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64" "--napi_version=1" "--node_abi_napi=napi"gyp
                      
                      ERR!
                      
                      cwd c:\ioBroker\node_modules\node-aead-crypto
                      gyp ERR! node -v
                       v8.11.1
                      gyp
                      
                      ERR!
                       node-gyp -v
                       v3.6.2gyp ERR!
                      
                      not ok
                      
                      node-pre-gyp
                       ERR! build error 
                      node-pre-gyp
                      
                      ERR!
                      
                      stack
                       Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64\node_aead_crypto.node --module_name=node_aead_crypto --module_path=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64 --napi_version=1 --node_abi_napi=napi' (1)
                      node-pre-gyp
                      
                      ERR!
                       stack
                           at ChildProcess. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
                      node-pre-gyp ERR! stack
                           at emitTwo (events.js:126:13)
                      node-pre-gyp
                      
                      ERR!
                      
                      stack     at ChildProcess.emit (events.js:214:7)node-pre-gyp ERR! 
                      stack
                           at maybeClose (internal/child_process.js:925:16)
                      node-pre-gyp
                      
                      ERR!
                      
                      stack
                           at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
                      node-pre-gyp
                      
                      ERR!
                      
                      System
                       Windows_NT 10.0.16299
                      node-pre-gyp
                      
                      ERR!
                      
                      command
                       "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\node-aead-crypto\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
                      node-pre-gyp ERR!
                      
                      cwd
                       c:\ioBroker\node_modules\node-aead-crypto
                      node-pre-gyp
                      
                      ERR!
                      
                      node -v
                       v8.11.1
                      node-pre-gyp
                      
                      ERR!
                      
                      node-pre-gyp -v
                       v0.9.1
                      node-pre-gyp
                      
                      ERR!
                       not ok
                      
                      npm
                      
                      ERR!
                       Windows_NT 10.0.16299
                      npm
                       ERR! argv "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "run" "install:default"
                      npm
                      
                      ERR!
                      
                      node v8.11.1npm ERR!
                      
                      npm 
                       v2.15.12
                      npm
                       ERR!
                       code ELIFECYCLE
                      npm
                      
                      ERR!
                       node-aead-crypto@1.1.3 install:default: `node-pre-gyp install --fallback-to-build`
                      npm
                      
                      ERR!
                       Exit status 1
                      npm
                      
                      ERR!
                      
                      npm
                      
                      ERR! Failed at the node-aead-crypto@1.1.3 install:default script 'node-pre-gyp install --fallback-to-build'.npm
                      
                      ERR! 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-pre-gyp install --fallback-to-build
                      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
                      
                      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!
                           c:\ioBroker\node_modules\node-aead-crypto\npm-debug.log
                      child_process.js:644
                          throw err;
                          ^
                      
                      Error: Command failed: npm run install:default
                          at checkExecSyncError (child_process.js:601:13)
                          at execSync (child_process.js:641:13)
                          at Object. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\lib\install.js:22:1)
                          at Module._compile (module.js:652:30)
                          at Object.Module._extensions..js (module.js:663:10)
                          at Module.load (module.js:565:32)
                          at tryModuleLoad (module.js:505:12)
                          at Function.Module._load (module.js:497:3)
                          at Function.Module.runMain (module.js:693:10)
                          at startup (bootstrap_node.js:188:16)
                      
                      npm
                       ERR! Windows_NT 10.0.16299
                      npm
                      
                      ERR!
                      
                      argv
                       "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "i" "--save" "node-aead-crypto@1.1.3"
                      npm
                      
                      ERR!
                      
                      node
                       v8.11.1
                      npm
                      
                      ERR!
                       npm 
                       v2.15.12
                      npm
                      
                      ERR! 
                      code ELIFECYCLE
                      
                      npm
                      
                      ERR!
                       node-aead-crypto@1.1.3 install: `node lib/install.js`
                      npm
                      
                      ERR!
                       Exit status 1
                      npm ERR!
                      
                      npm
                      
                      ERR!
                       Failed at the node-aead-crypto@1.1.3 install script 'node lib/install.js'.
                      npm 
                      ERR! 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
                       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!
                           c:\ioBroker\node_modules\iobroker.tradfri\node_modules\node-dtls-client\npm-debug.log
                      npm
                      
                      ERR!
                      
                      code
                       ELIFECYCLE
                      npm
                      
                      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!
                           C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-05-08T17_22_42_185Z-debug.log
                      host.Gallemann-PC install adapter tradfri
                      npm install iobroker.tradfri --production --prefix "c:/ioBroker" (System call)
                      npm
                       WARN invalid config loglevel="notice"
                      npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
                      node-pre-gyp WARN Pre-built binaries not installable for node-aead-crypto@1.1.3 and node@8.11.1 (node-v57 ABI, unknown) (falling back to source compile with node-gyp) 
                      node-pre-gyp WARN Hit error ENOTDIR: Cannot cd into 'c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64' 
                      gyp
                      
                      ERR!
                      
                      configure error 
                      gyp
                      
                      ERR!
                      
                      stack
                       Error: Can't find Python executable "python", you can set the PYTHON env variable.
                      gyp
                      
                      ERR! stack     at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)gyp
                      
                      ERR!
                      
                      stack
                           at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
                      gyp
                      
                      ERR!
                      
                      stack
                           at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
                      gyp
                      
                      ERR! 
                      stack
                           at FSReqWrap.oncomplete (fs.js:152:21)
                      gyp
                      
                      ERR!
                      
                      System
                       Windows_NT 10.0.16299
                      gyp
                      
                      ERR!
                      
                      command
                       "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64\\node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64" "--napi_version=1" "--node_abi_napi=napi"gyp ERR!
                      
                      cwd
                       c:\ioBroker\node_modules\node-aead-cryptogyp ERR!
                      
                      node -v
                       v8.11.1
                      gyp ERR! node-gyp -v v3.6.2gyp ERR!
                      
                      not ok
                      
                      node-pre-gyp
                      
                      ERR!
                      
                      build error
                      
                      node-pre-gyp
                      
                      ERR!
                       stack
                       Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64\node_aead_crypto.node --module_name=node_aead_crypto --module_path=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64 --napi_version=1 --node_abi_napi=napi' (1)node-pre-gyp ERR! 
                      stack
                           at ChildProcess. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\node_modules\node-pre-gyp\lib\util\compile.js:83:29)node-pre-gyp
                       ERR! 
                      stack
                           at emitTwo (events.js:126:13)
                      node-pre-gyp
                       ERR!
                       stack     at ChildProcess.emit (events.js:214:7)node-pre-gyp ERR!
                      
                      stack
                           at maybeClose (internal/child_process.js:925:16)
                      node-pre-gyp
                      
                      ERR!
                      
                      stack
                           at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
                      node-pre-gyp
                       ERR! System Windows_NT 10.0.16299
                      node-pre-gyp
                       ERR!
                       command
                       "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\node-aead-crypto\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp 
                      ERR!
                      
                      cwd
                       c:\ioBroker\node_modules\node-aead-crypto
                      node-pre-gyp
                      
                      ERR!
                      
                      node -v
                       v8.11.1
                      node-pre-gyp
                      
                      ERR!
                      
                      node-pre-gyp -v
                       v0.9.1
                      node-pre-gyp ERR! not ok 
                      
                      npm
                      
                      ERR!
                       Windows_NT 10.0.16299
                      npm
                      
                      ERR!
                      
                      argv
                       "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "run" "install:default"
                      npm
                      
                      ERR!
                      
                      node
                       v8.11.1
                      npm
                       ERR! npm  v2.15.12
                      npm
                      
                      ERR!
                      
                      code
                       ELIFECYCLE
                      npm
                      
                      ERR!
                       node-aead-crypto@1.1.3 install:default: `node-pre-gyp install --fallback-to-build`
                      npm
                       ERR! Exit status 1
                      npm
                      
                      ERR!
                      
                      npm
                      
                      ERR!
                       Failed at the node-aead-crypto@1.1.3 install:default script 'node-pre-gyp install --fallback-to-build'.
                      npm
                      
                      ERR!
                       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-pre-gyp install --fallback-to-build
                      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
                       ERR!
                           npm owner ls node-aead-cryptonpm
                      
                      ERR!
                       There is likely additional logging output above.
                      
                      npm
                      
                      ERR!
                       Please include the following file with any support request:
                      npm ERR!     c:\ioBroker\node_modules\node-aead-crypto\npm-debug.log
                      child_process.js:644
                          throw err;
                          ^
                      
                      Error: Command failed: npm run install:default
                          at checkExecSyncError (child_process.js:601:13)
                          at execSync (child_process.js:641:13)
                          at Object. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\lib\install.js:22:1)
                          at Module._compile (module.js:652:30)
                          at Object.Module._extensions..js (module.js:663:10)
                          at Module.load (module.js:565:32)
                          at tryModuleLoad (module.js:505:12)
                          at Function.Module._load (module.js:497:3)
                          at Function.Module.runMain (module.js:693:10)
                          at startup (bootstrap_node.js:188:16)
                      
                      npm
                      
                      ERR!
                       Windows_NT 10.0.16299
                      npm
                       ERR! argv
                       "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "i" "--save" "node-aead-crypto@1.1.3"
                      npm
                      
                      ERR! node v8.11.1
                      npm
                      
                      ERR!
                       npm  v2.15.12
                      npm
                       ERR! 
                      code
                       ELIFECYCLE
                      
                      npm
                      
                      ERR!
                       node-aead-crypto@1.1.3 install: `node lib/install.js`
                      npm
                      
                      ERR!
                       Exit status 1
                      npm
                      
                      ERR!
                       npm ERR! Failed at the node-aead-crypto@1.1.3 install script 'node lib/install.js'.
                      
                      npm
                      
                      ERR!
                       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
                      
                      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!     c:\ioBroker\node_modules\iobroker.tradfri\node_modules\node-dtls-client\npm-debug.log
                      npm
                       ERR! code ELIFECYCLE
                      npm
                      
                      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!
                           C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-05-08T17_23_18_890Z-debug.log
                      host.Gallemann-PC install adapter tradfri
                      npm install iobroker.tradfri --production --prefix "c:/ioBroker" (System call)
                      npm
                       WARN invalid config loglevel="notice"
                      npm
                       WARN deprecated
                       github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
                      node-pre-gyp WARN Pre-built binaries not installable for node-aead-crypto@1.1.3 and node@8.11.1 (node-v57 ABI, unknown) (falling back to source compile with node-gyp) 
                      node-pre-gyp WARN Hit error ENOTDIR: Cannot cd into 'c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64' 
                      gyp
                      
                      ERR!
                      
                      configure error
                      
                      gyp
                      
                      ERR!
                      
                      stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
                      gyp
                      
                      ERR!
                       stack
                           at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)gyp ERR! stack     at PythonFinder. <anonymous>(C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
                      
                      gyp
                       ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29gyp
                      
                      ERR!
                      
                      stack
                           at FSReqWrap.oncomplete (fs.js:152:21)
                      gyp
                      
                      ERR! System Windows_NT 10.0.16299gyp
                      
                      ERR!
                      
                      command
                       "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64\\node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=c:\\ioBroker\\node_modules\\node-aead-crypto\\build\\Release\\node-v57-win32-x64" "--napi_version=1" "--node_abi_napi=napi"
                      gyp
                      
                      ERR!
                      
                      cwd c:\ioBroker\node_modules\node-aead-crypto
                      gyp ERR! node -v
                       v8.11.1
                      gyp
                      
                      ERR!
                      
                      node-gyp -v
                       v3.6.2
                      gyp
                      
                      ERR!
                      
                      not ok
                      
                      node-pre-gyp
                      
                      ERR!
                      
                      build error
                      
                      node-pre-gyp
                      
                      ERR!
                      
                      stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64\node_aead_crypto.node --module_name=node_aead_crypto --module_path=c:\ioBroker\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64 --napi_version=1 --node_abi_napi=napi' (1)node-pre-gyp ERR!
                      
                      stack
                           at ChildProcess. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
                      node-pre-gyp 
                      ERR!
                      
                      stack
                           at emitTwo (events.js:126:13)
                      node-pre-gyp
                      
                      ERR!
                      
                      stack
                           at ChildProcess.emit (events.js:214:7)
                      node-pre-gyp
                       ERR! stack     at maybeClose (internal/child_process.js:925:16)node-pre-gyp 
                      ERR!
                      
                      stack
                           at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
                      node-pre-gyp
                      
                      ERR! 
                      System
                       Windows_NT 10.0.16299
                      node-pre-gyp
                      
                      ERR!
                      
                      command "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\node-aead-crypto\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
                      node-pre-gyp
                      
                      ERR! cwd
                       c:\ioBroker\node_modules\node-aead-crypto
                      node-pre-gyp
                      
                      ERR!
                      
                      node -v
                       v8.11.1
                      node-pre-gyp
                      
                      ERR!
                      
                      node-pre-gyp -v
                       v0.9.1
                      node-pre-gyp
                      
                      ERR! 
                      not ok 
                      
                      npm
                      
                      ERR!
                       Windows_NT 10.0.16299
                      npm
                      
                      ERR! argv "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "run" "install:default"
                      npm
                      
                      ERR! node
                       v8.11.1
                      npm
                      
                      ERR!
                      
                      npm 
                       v2.15.12
                      npm
                       ERR!
                       code ELIFECYCLE
                      npm
                      
                      ERR!
                       node-aead-crypto@1.1.3 install:default: `node-pre-gyp install --fallback-to-build`
                      npm
                      
                      ERR!
                       Exit status 1
                      npm
                      
                      ERR!
                      
                      npm
                      
                      ERR!
                       Failed at the node-aead-crypto@1.1.3 install:default script 'node-pre-gyp install --fallback-to-build'.
                      npm
                       ERR!
                       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-pre-gyp install --fallback-to-build
                      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 
                      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!     c:\ioBroker\node_modules\node-aead-crypto\npm-debug.log
                      child_process.js:644
                          throw err;
                          ^
                      
                      Error: Command failed: npm run install:default
                          at checkExecSyncError (child_process.js:601:13)
                          at execSync (child_process.js:641:13)
                          at Object. <anonymous>(c:\ioBroker\node_modules\node-aead-crypto\lib\install.js:22:1)
                          at Module._compile (module.js:652:30)
                          at Object.Module._extensions..js (module.js:663:10)
                          at Module.load (module.js:565:32)
                          at tryModuleLoad (module.js:505:12)
                          at Function.Module._load (module.js:497:3)
                          at Function.Module.runMain (module.js:693:10)
                          at startup (bootstrap_node.js:188:16)
                      
                      npm
                      
                      ERR! Windows_NT 10.0.16299
                      npm
                      
                      ERR!
                      
                      argv "C:\\Program Files\\nodejs\\node.exe" "c:\\ioBroker\\node_modules\\npm\\bin\\npm-cli.js" "i" "--save" "node-aead-crypto@1.1.3"
                      npm ERR! node v8.11.1
                      npm
                      
                      ERR!
                      
                      npm 
                       v2.15.12
                      npm
                      
                      ERR! code ELIFECYCLE
                      
                      npm
                      
                      ERR!
                       node-aead-crypto@1.1.3 install: `node lib/install.js`
                      npm
                      
                      ERR!
                       Exit status 1
                      npm
                      
                      ERR!
                      
                      npm
                       ERR!
                       Failed at the node-aead-crypto@1.1.3 install script 'node lib/install.js'.
                      npm 
                      ERR! 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
                      
                      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!
                           c:\ioBroker\node_modules\iobroker.tradfri\node_modules\node-dtls-client\npm-debug.log
                      npm
                       ERR!
                       code ELIFECYCLE
                      npm
                      
                      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!
                           C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-05-08T17_23_53_017Z-debug.log
                      host.Gallemann-PC install adapter tradfri
                      ERROR: host.Gallemann-PC Cannot install tradfri
                      ERROR: process exited with code 13</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
                      
                      1 Reply Last reply
                      0
                      • 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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                        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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                                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
                                          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

                                          551

                                          Online

                                          32.7k

                                          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