Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Ikea Tradfri Adapter läuft nicht.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Ikea Tradfri Adapter läuft nicht.

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

      @fossil:

      ich habe das so verstanden das man mit

      sudo npm i -g node-gyp
      

      node gyp installiert.

      nach der installation habe ich den ordner gefunden..

      cd /opt/iobroker/node_modules/node-aead-crypto
      ```` `  
      

      Dann war der aber vorher auch schon da. Probier mal in dem Ordner folgenden Befehl (beachte das "-pre")

      sudo node-pre-gyp rebuild
      
      1 Reply Last reply Reply Quote 0
      • F
        fossil last edited by

        wenn ich in den Ordner gehe und den Befehl ausführe sieht das so aus:

        pi@raspberrypi:~ $ cd /opt/iobroker/node_modules/node-aead-crypto
        pi@raspberrypi:/opt/iobroker/node_modules/node-aead-crypto $ sudo node-pre-gyp rebuild
        sudo: node-pre-gyp: Befehl nicht gefunden
        pi@raspberrypi:/opt/iobroker/node_modules/node-aead-crypto $ 
        
        
        1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer last edited by

          > sudo: node-pre-gyp: Befehl nicht gefunden
          Uhh, dann scheint er die Abhängigkeiten gar nicht erst zu installieren. Führe mal

          sudo npm install
          

          aus und probiers danach nochmal. Wenns dann immer noch nicht geht:

          sudo npm install nan@2.7.x node-pre-gyp node-pre-gyp-github
          

          und danach

          sudo node-pre-gyp rebuild
          

          Ich versuche das Problem bei der Installation des Pakets abzufangen. Könntest du mir bitte noch den Output von

          cat /proc/cpuinfo
          

          posten?

          Und am besten noch

          uname -m
          
          1 Reply Last reply Reply Quote 0
          • F
            fossil last edited by

            hier einmal die gewünschten daten:

            ! ````
            pi@raspberrypi:~ $ cat /proc/cpuinfo
            processor : 0
            model name : ARMv6-compatible processor rev 7 (v6l)
            BogoMIPS : 697.95
            Features : half thumb fastmult vfp edsp java tls
            CPU implementer : 0x41
            CPU architecture: 7
            CPU variant : 0x0
            CPU part : 0xb76
            CPU revision : 7
            ! Hardware : BCM2835
            Revision : 000e
            Serial : 0000000043b1132b
            ! pi@raspberrypi:~ $ uname -m
            armv6l
            pi@raspberrypi:~ $

            
            das kam mit dem befehl:
            

            pi@raspberrypi:~ $ sudo npm install
            npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
            npm WARN pi No description
            npm WARN pi No repository field.
            npm WARN pi No README data
            npm WARN pi No license field.

            
            danach:
            

            sudo npm install nan@2.7.x node-pre-gyp node-pre-gyp-github

            
            >! ````
            pi@raspberrypi:~ $ sudo npm install nan@2.7.x node-pre-gyp node-pre-gyp-github
            npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
            /home/pi
            ├── nan@2.7.0 
            ├─┬ node-pre-gyp@0.6.39 
            │ ├── detect-libc@1.0.3 
            │ ├─┬ hawk@3.1.3 
            │ │ ├── boom@2.10.1 
            │ │ ├── cryptiles@2.0.5 
            │ │ ├── hoek@2.16.3 
            │ │ └── sntp@1.0.9 
            │ ├─┬ mkdirp@0.5.1 
            │ │ └── minimist@0.0.8 
            │ ├─┬ nopt@4.0.1 
            │ │ ├── abbrev@1.1.1 
            │ │ └─┬ osenv@0.1.5 
            │ │   ├── os-homedir@1.0.2 
            │ │   └── os-tmpdir@1.0.2 
            │ ├─┬ npmlog@4.1.2 
            │ │ ├─┬ are-we-there-yet@1.1.4 
            │ │ │ └── delegates@1.0.0 
            │ │ ├── console-control-strings@1.1.0 
            │ │ ├─┬ gauge@2.7.4 
            │ │ │ ├── aproba@1.2.0 
            │ │ │ ├── has-unicode@2.0.1 
            │ │ │ ├── object-assign@4.1.1 
            │ │ │ ├── signal-exit@3.0.2 
            │ │ │ ├─┬ string-width@1.0.2 
            │ │ │ │ ├── code-point-at@1.1.0 
            │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 
            │ │ │ │   └── number-is-nan@1.0.1 
            │ │ │ ├─┬ strip-ansi@3.0.1 
            │ │ │ │ └── ansi-regex@2.1.1 
            │ │ │ └── wide-align@1.1.2 
            │ │ └── set-blocking@2.0.0 
            │ ├─┬ rc@1.2.5 
            │ │ ├── deep-extend@0.4.2 
            │ │ ├── ini@1.3.5 
            │ │ ├── minimist@1.2.0 
            │ │ └── strip-json-comments@2.0.1 
            │ ├─┬ request@2.81.0 
            │ │ ├── aws-sign2@0.6.0 
            │ │ ├── aws4@1.6.0 
            │ │ ├── caseless@0.12.0 
            │ │ ├─┬ combined-stream@1.0.6 
            │ │ │ └── delayed-stream@1.0.0 
            │ │ ├── extend@3.0.1 
            │ │ ├── forever-agent@0.6.1 
            │ │ ├─┬ form-data@2.1.4 
            │ │ │ └── asynckit@0.4.0 
            │ │ ├─┬ har-validator@4.2.1 
            │ │ │ ├─┬ ajv@4.11.8 
            │ │ │ │ ├── co@4.6.0 
            │ │ │ │ └─┬ json-stable-stringify@1.0.1 
            │ │ │ │   └── jsonify@0.0.0 
            │ │ │ └── har-schema@1.0.5 
            │ │ ├─┬ http-signature@1.1.1 
            │ │ │ ├── assert-plus@0.2.0 
            │ │ │ ├─┬ jsprim@1.4.1 
            │ │ │ │ ├── assert-plus@1.0.0 
            │ │ │ │ ├── extsprintf@1.3.0 
            │ │ │ │ ├── json-schema@0.2.3 
            │ │ │ │ └─┬ verror@1.10.0 
            │ │ │ │   └── assert-plus@1.0.0 
            │ │ │ └─┬ sshpk@1.13.1 
            │ │ │   ├── asn1@0.2.3 
            │ │ │   ├── assert-plus@1.0.0 
            │ │ │   ├── bcrypt-pbkdf@1.0.1 
            │ │ │   ├─┬ dashdash@1.14.1 
            │ │ │   │ └── assert-plus@1.0.0 
            │ │ │   ├── ecc-jsbn@0.1.1 
            │ │ │   ├─┬ getpass@0.1.7 
            │ │ │   │ └── assert-plus@1.0.0 
            │ │ │   ├── jsbn@0.1.1 
            │ │ │   └── tweetnacl@0.14.5 
            │ │ ├── is-typedarray@1.0.0 
            │ │ ├── isstream@0.1.2 
            │ │ ├── json-stringify-safe@5.0.1 
            │ │ ├─┬ mime-types@2.1.18 
            │ │ │ └── mime-db@1.33.0 
            │ │ ├── oauth-sign@0.8.2 
            │ │ ├── performance-now@0.2.0 
            │ │ ├── qs@6.4.0 
            │ │ ├── safe-buffer@5.1.1 
            │ │ ├── stringstream@0.0.5 
            │ │ ├─┬ tough-cookie@2.3.3 
            │ │ │ └── punycode@1.4.1 
            │ │ ├── tunnel-agent@0.6.0 
            │ │ └── uuid@3.2.1 
            │ ├─┬ rimraf@2.6.2 
            │ │ └─┬ glob@7.1.2 
            │ │   ├── fs.realpath@1.0.0 
            │ │   ├── inflight@1.0.6 
            │ │   ├─┬ minimatch@3.0.4 
            │ │   │ └─┬ brace-expansion@1.1.11 
            │ │   │   ├── balanced-match@1.0.0 
            │ │   │   └── concat-map@0.0.1 
            │ │   └── path-is-absolute@1.0.1 
            │ ├── semver@5.5.0 
            │ ├─┬ tar@2.2.1 
            │ │ ├── block-stream@0.0.9 
            │ │ ├─┬ fstream@1.0.11 
            │ │ │ └── graceful-fs@4.1.11 
            │ │ └── inherits@2.0.3 
            │ └─┬ tar-pack@3.4.1 
            │   ├─┬ debug@2.6.9 
            │   │ └── ms@2.0.0 
            │   ├── fstream-ignore@1.0.5 
            │   ├─┬ once@1.4.0 
            │   │ └── wrappy@1.0.2 
            │   ├─┬ readable-stream@2.3.4 
            │   │ ├── core-util-is@1.0.2 
            │   │ ├── isarray@1.0.0 
            │   │ ├── process-nextick-args@2.0.0 
            │   │ ├── string_decoder@1.0.3 
            │   │ └── util-deprecate@1.0.2 
            │   └── uid-number@0.0.6 
            └─┬ node-pre-gyp-github@1.3.1 
              ├── commander@2.14.1 
              └─┬ github@0.2.4 
                └── mime@1.6.0 
            >! npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
            npm WARN pi No description
            npm WARN pi No repository field.
            npm WARN pi No README data
            npm WARN pi No license field.
            pi@raspberrypi:~ $ 
            >! ````
            
            

            pi@raspberrypi:~ $ sudo node-pre-gyp rebuild
            sudo: node-pre-gyp: Befehl nicht gefunden

            
            oder hätte ich das ganze in dem Ordner
            

            /opt/iobroker/node_modules/node-aead-crypto

            ausführen sollen
            1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer last edited by

              @fossil:

              oder hätte ich das ganze in dem Ordner

              /opt/iobroker/node_modules/node-aead-crypto
              

              ausführen sollen `
              Ja - hab schon überlegt ob ich das nochmal dazu schreibe 😉

              Edit: das letzte Kommando muss wohl

              sudo node_modules/.bin/node-pre-gyp rebuild
              

              heißen

              <size size="200">EDIT 2:</size>

              Du kannst auch direkt mal folgendes probieren:

              Im Ordner /opt/iobroker:

              sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production
              
              1 Reply Last reply Reply Quote 0
              • F
                fossil last edited by

                habe es gerade mit

                sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production
                

                ausprobiert da kommt dann das:

                ! ````
                node-aead-crypto@1.0.4 install /home/pi/node_modules/node-aead-crypto
                node lib/install.js
                ! running rpi1 installation script
                gyp ERR! build error
                gyp ERR! stack Error: You must run node-gyp configure first!
                gyp ERR! stack at ReadFileContext. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:51:20)
                gyp ERR! stack at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
                gyp ERR! stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:367:13)
                gyp ERR! System Linux 4.9.59+
                gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
                gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                gyp ERR! node -v v6.12.3
                gyp ERR! node-gyp -v v3.4.0
                gyp ERR! not ok
                node-pre-gyp ERR! build error
                node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
                node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
                node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
                node-pre-gyp ERR! System Linux 4.9.59+
                node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "build"
                node-pre-gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                node-pre-gyp ERR! node -v v6.12.3
                node-pre-gyp ERR! node-pre-gyp -v v0.6.39
                node-pre-gyp ERR! not ok
                ! npm ERR! Linux 4.9.59+
                npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install:rpi1"
                npm ERR! node v6.12.3
                npm ERR! npm v3.10.10
                npm ERR! code ELIFECYCLE
                npm ERR! node-aead-crypto@1.0.4 install:rpi1: node-pre-gyp configure & node-pre-gyp build
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the node-aead-crypto@1.0.4 install:rpi1 script 'node-pre-gyp configure & node-pre-gyp build'.
                npm ERR! Make sure you have the latest version of node.js and npm installed.
                npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR! node-pre-gyp configure & node-pre-gyp 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 owner ls node-aead-crypto
                npm ERR! There is likely additional logging output above.
                npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                ! npm ERR! Please include the following file with any support request:
                npm ERR! /home/pi/node_modules/node-aead-crypto/npm-debug.log
                gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.12.3"
                gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/node-aead-crypto/.node-gyp"
                child_process.js:516
                throw err;
                ^
                ! Error: Command failed: npm run install:rpi1
                gyp ERR! build error
                gyp ERR! stack Error: You must run node-gyp configure first!
                gyp ERR! stack at ReadFileContext. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:51:20)
                gyp ERR! stack at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
                gyp ERR! stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:367:13)
                gyp ERR! System Linux 4.9.59+
                gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
                gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                gyp ERR! node -v v6.12.3
                gyp ERR! node-gyp -v v3.4.0
                gyp ERR! not ok
                node-pre-gyp ERR! build error
                node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
                node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
                node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
                node-pre-gyp ERR! System Linux 4.9.59+
                node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "build"
                node-pre-gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                node-pre-gyp ERR! node -v v6.12.3
                node-pre-gyp ERR! node-pre-gyp -v v0.6.39
                node-pre-gyp ERR! not ok
                ! npm ERR! Linux 4.9.59+
                npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install:rpi1"
                npm ERR! node v6.12.3
                npm ERR! npm v3.10.10
                npm ERR! code ELIFECYCLE
                npm ERR! node-aead-crypto@1.0.4 install:rpi1: node-pre-gyp configure & node-pre-gyp build
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the node-aead-crypto@1.0.4 install:rpi1 script 'node-pre-gyp configure & node-pre-gyp build'.
                npm ERR! Make sure you have the latest version of node.js and npm installed.
                npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR! node-pre-gyp configure & node-pre-gyp 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 owner ls node-aead-crypto
                npm ERR! There is likely additional logging output above.
                npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                ! npm ERR! Please include the following file with any support request:
                npm ERR! /home/pi/node_modules/node-aead-crypto/npm-debug.log
                gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.12.3"
                gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/node-aead-crypto/.node-gyp"
                ! at checkExecSyncError (child_process.js:473:13)
                at execSync (child_process.js:513:13)
                at Object. <anonymous>(/home/pi/node_modules/node-aead-crypto/lib/install.js:22:1)
                at Module._compile (module.js:570:32)
                at Object.Module._extensions..js (module.js:579:10)
                at Module.load (module.js:487:32)
                at tryModuleLoad (module.js:446:12)
                at Function.Module._load (module.js:438:3)
                at Module.runMain (module.js:604:10)
                at run (bootstrap_node.js:383:7)
                npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                npm WARN pi No description
                npm WARN pi No repository field.
                npm WARN pi No README data
                npm WARN pi No license field.
                npm ERR! Linux 4.9.59+
                npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3" "--production"
                npm ERR! node v6.12.3
                npm ERR! npm v3.10.10
                npm ERR! code ELIFECYCLE
                ! npm ERR! node-aead-crypto@1.0.4 install: node lib/install.js
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the node-aead-crypto@1.0.4 install script 'node lib/install.js'.
                npm ERR! Make sure you have the latest version of node.js and npm installed.
                npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR! node lib/install.js
                npm ERR! You can get information on how to open an issue for this project with:
                npm ERR! npm bugs node-aead-crypto
                npm ERR! Or if that isn't available, you can get their info via:
                npm ERR! npm owner ls node-aead-crypto
                npm ERR! There is likely additional logging output above.
                ! npm ERR! Please include the following file with any support request:
                npm ERR! /home/pi/npm-debug.log
                pi@raspberrypi:~ $</anonymous></anonymous></anonymous></anonymous></anonymous>

                1 Reply Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer last edited by

                  Wir kommen der Sache näher - bitte nochmal probieren.

                  1 Reply Last reply Reply Quote 0
                  • F
                    fossil last edited by

                    hier das ergebniss nach dem ich es nun das zweite mal ausgeführt habe:

                    ! ````
                    pi@raspberrypi:~ $ sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production
                    ! > node-aead-crypto@1.0.4 install /home/pi/node_modules/node-aead-crypto
                    node lib/install.js
                    ! running rpi1 installation script
                    gyp ERR! build error
                    gyp ERR! stack Error: You must run node-gyp configure first!
                    gyp ERR! stack at ReadFileContext. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:51:20)
                    gyp ERR! stack at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
                    gyp ERR! stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:367:13)
                    gyp ERR! System Linux 4.9.59+
                    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
                    gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                    gyp ERR! node -v v6.12.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    node-pre-gyp ERR! build error
                    node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
                    node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                    node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                    node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                    node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
                    node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
                    node-pre-gyp ERR! System Linux 4.9.59+
                    node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "build"
                    node-pre-gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                    node-pre-gyp ERR! node -v v6.12.3
                    node-pre-gyp ERR! node-pre-gyp -v v0.6.39
                    node-pre-gyp ERR! not ok
                    ! npm ERR! Linux 4.9.59+
                    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install:rpi1"
                    npm ERR! node v6.12.3
                    npm ERR! npm v3.10.10
                    npm ERR! code ELIFECYCLE
                    npm ERR! node-aead-crypto@1.0.4 install:rpi1: node-gyp configure & node-pre-gyp build
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the node-aead-crypto@1.0.4 install:rpi1 script 'node-gyp configure & node-pre-gyp build'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                    npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR! node-gyp configure & node-pre-gyp 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 owner ls node-aead-crypto
                    npm ERR! There is likely additional logging output above.
                    npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                    ! npm ERR! Please include the following file with any support request:
                    npm ERR! /home/pi/node_modules/node-aead-crypto/npm-debug.log
                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.12.3"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/node-aead-crypto/.node-gyp"
                    gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp
                    gyp ERR! configure error
                    gyp ERR! stack Error: gyp failed with exit code: 1
                    gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                    gyp ERR! stack at emitTwo (events.js:106:13)
                    gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                    gyp ERR! System Linux 4.9.59+
                    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
                    gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                    gyp ERR! node -v v6.12.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    child_process.js:516
                    throw err;
                    ^
                    ! Error: Command failed: npm run install:rpi1
                    gyp ERR! build error
                    gyp ERR! stack Error: You must run node-gyp configure first!
                    gyp ERR! stack at ReadFileContext. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:51:20)
                    gyp ERR! stack at ReadFileContext.callback (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16)
                    gyp ERR! stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:367:13)
                    gyp ERR! System Linux 4.9.59+
                    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
                    gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                    gyp ERR! node -v v6.12.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    node-pre-gyp ERR! build error
                    node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
                    node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                    node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                    node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                    node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
                    node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
                    node-pre-gyp ERR! System Linux 4.9.59+
                    node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "build"
                    node-pre-gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                    node-pre-gyp ERR! node -v v6.12.3
                    node-pre-gyp ERR! node-pre-gyp -v v0.6.39
                    node-pre-gyp ERR! not ok
                    ! npm ERR! Linux 4.9.59+
                    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install:rpi1"
                    npm ERR! node v6.12.3
                    npm ERR! npm v3.10.10
                    npm ERR! code ELIFECYCLE
                    npm ERR! node-aead-crypto@1.0.4 install:rpi1: node-gyp configure & node-pre-gyp build
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the node-aead-crypto@1.0.4 install:rpi1 script 'node-gyp configure & node-pre-gyp build'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                    npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR! node-gyp configure & node-pre-gyp 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 owner ls node-aead-crypto
                    npm ERR! There is likely additional logging output above.
                    npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                    ! npm ERR! Please include the following file with any support request:
                    npm ERR! /home/pi/node_modules/node-aead-crypto/npm-debug.log
                    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.12.3"
                    gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/node-aead-crypto/.node-gyp"
                    gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp
                    gyp ERR! configure error
                    gyp ERR! stack Error: gyp failed with exit code: 1
                    gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
                    gyp ERR! stack at emitTwo (events.js:106:13)
                    gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                    gyp ERR! System Linux 4.9.59+
                    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
                    gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                    gyp ERR! node -v v6.12.3
                    gyp ERR! node-gyp -v v3.4.0
                    gyp ERR! not ok
                    ! at checkExecSyncError (child_process.js:473:13)
                    at execSync (child_process.js:513:13)
                    at Object. <anonymous>(/home/pi/node_modules/node-aead-crypto/lib/install.js:22:1)
                    at Module._compile (module.js:570:32)
                    at Object.Module._extensions..js (module.js:579:10)
                    at Module.load (module.js:487:32)
                    at tryModuleLoad (module.js:446:12)
                    at Function.Module._load (module.js:438:3)
                    at Module.runMain (module.js:604:10)
                    at run (bootstrap_node.js:383:7)
                    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                    npm WARN pi No description
                    npm WARN pi No repository field.
                    npm WARN pi No README data
                    npm WARN pi No license field.
                    npm ERR! Linux 4.9.59+
                    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3" "--production"
                    npm ERR! node v6.12.3
                    npm ERR! npm v3.10.10
                    npm ERR! code ELIFECYCLE
                    ! npm ERR! node-aead-crypto@1.0.4 install: node lib/install.js
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the node-aead-crypto@1.0.4 install script 'node lib/install.js'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                    npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR! node lib/install.js
                    npm ERR! You can get information on how to open an issue for this project with:
                    npm ERR! npm bugs node-aead-crypto
                    npm ERR! Or if that isn't available, you can get their info via:
                    npm ERR! npm owner ls node-aead-crypto
                    npm ERR! There is likely additional logging output above.
                    ! npm ERR! Please include the following file with any support request:
                    npm ERR! /home/pi/npm-debug.log
                    pi@raspberrypi:~ $</anonymous></anonymous></anonymous></anonymous></anonymous>

                    1 Reply Last reply Reply Quote 0
                    • AlCalzone
                      AlCalzone Developer last edited by

                      Neuer Versuch 😉 Nochmal bitte!

                      1 Reply Last reply Reply Quote 0
                      • F
                        fossil last edited by

                        hier der nächste versuch 😄

                        ! ````
                        pi@raspberrypi:~ $ sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production
                        ! > node-aead-crypto@1.0.4 install /home/pi/node_modules/node-aead-crypto
                        node lib/install.js
                        ! running rpi1 installation script
                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.12.3"
                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/node-aead-crypto/.node-gyp"
                        make: *** Keine Regel vorhanden, um das Ziel „../.node-gyp/6.12.3/include/node/common.gypi“,
                        benötigt von „Makefile“, zu erstellen. Schluss.
                        gyp ERR! build error
                        gyp ERR! stack Error: make failed with exit code: 2
                        gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                        gyp ERR! stack at emitTwo (events.js:106:13)
                        gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                        gyp ERR! System Linux 4.9.59+
                        gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--build-from-source" "--module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
                        gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                        gyp ERR! node -v v6.12.3
                        gyp ERR! node-gyp -v v3.4.0
                        gyp ERR! not ok
                        node-pre-gyp ERR! build error
                        node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --build-from-source --module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
                        node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                        node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
                        node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
                        node-pre-gyp ERR! System Linux 4.9.59+
                        node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "install" "--build-from-source"
                        node-pre-gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                        node-pre-gyp ERR! node -v v6.12.3
                        node-pre-gyp ERR! node-pre-gyp -v v0.6.39
                        node-pre-gyp ERR! not ok
                        ! npm ERR! Linux 4.9.59+
                        npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install:rpi1"
                        npm ERR! node v6.12.3
                        npm ERR! npm v3.10.10
                        npm ERR! code ELIFECYCLE
                        npm ERR! node-aead-crypto@1.0.4 install:rpi1: node-pre-gyp install --build-from-source
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the node-aead-crypto@1.0.4 install:rpi1 script 'node-pre-gyp install --build-from-source'.
                        npm ERR! Make sure you have the latest version of node.js and npm installed.
                        npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                        npm ERR! not with npm itself.
                        npm ERR! Tell the author that this fails on your system:
                        npm ERR! node-pre-gyp install --build-from-source
                        npm ERR! You can get information on how to open an issue for this project with:
                        npm ERR! npm bugs node-aead-crypto
                        npm ERR! Or if that isn't available, you can get their info via:
                        npm ERR! npm owner ls node-aead-crypto
                        npm ERR! There is likely additional logging output above.
                        npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                        ! npm ERR! Please include the following file with any support request:
                        npm ERR! /home/pi/node_modules/node-aead-crypto/npm-debug.log
                        child_process.js:516
                        throw err;
                        ^
                        ! Error: Command failed: npm run install:rpi1
                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.12.3"
                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/node-aead-crypto/.node-gyp"
                        make: *** Keine Regel vorhanden, um das Ziel „../.node-gyp/6.12.3/include/node/common.gypi“,
                        benötigt von „Makefile“, zu erstellen. Schluss.
                        gyp ERR! build error
                        gyp ERR! stack Error: make failed with exit code: 2
                        gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
                        gyp ERR! stack at emitTwo (events.js:106:13)
                        gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
                        gyp ERR! System Linux 4.9.59+
                        gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--build-from-source" "--module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
                        gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                        gyp ERR! node -v v6.12.3
                        gyp ERR! node-gyp -v v3.4.0
                        gyp ERR! not ok
                        node-pre-gyp ERR! build error
                        node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --build-from-source --module=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/home/pi/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
                        node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                        node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
                        node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                        node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
                        node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
                        node-pre-gyp ERR! System Linux 4.9.59+
                        node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "install" "--build-from-source"
                        node-pre-gyp ERR! cwd /home/pi/node_modules/node-aead-crypto
                        node-pre-gyp ERR! node -v v6.12.3
                        node-pre-gyp ERR! node-pre-gyp -v v0.6.39
                        node-pre-gyp ERR! not ok
                        ! npm ERR! Linux 4.9.59+
                        npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "install:rpi1"
                        npm ERR! node v6.12.3
                        npm ERR! npm v3.10.10
                        npm ERR! code ELIFECYCLE
                        npm ERR! node-aead-crypto@1.0.4 install:rpi1: node-pre-gyp install --build-from-source
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the node-aead-crypto@1.0.4 install:rpi1 script 'node-pre-gyp install --build-from-source'.
                        npm ERR! Make sure you have the latest version of node.js and npm installed.
                        npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                        npm ERR! not with npm itself.
                        npm ERR! Tell the author that this fails on your system:
                        npm ERR! node-pre-gyp install --build-from-source
                        npm ERR! You can get information on how to open an issue for this project with:
                        npm ERR! npm bugs node-aead-crypto
                        npm ERR! Or if that isn't available, you can get their info via:
                        npm ERR! npm owner ls node-aead-crypto
                        npm ERR! There is likely additional logging output above.
                        npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                        ! npm ERR! Please include the following file with any support request:
                        npm ERR! /home/pi/node_modules/node-aead-crypto/npm-debug.log
                        ! at checkExecSyncError (child_process.js:473:13)
                        at execSync (child_process.js:513:13)
                        at Object. <anonymous>(/home/pi/node_modules/node-aead-crypto/lib/install.js:22:1)
                        at Module._compile (module.js:570:32)
                        at Object.Module._extensions..js (module.js:579:10)
                        at Module.load (module.js:487:32)
                        at tryModuleLoad (module.js:446:12)
                        at Function.Module._load (module.js:438:3)
                        at Module.runMain (module.js:604:10)
                        at run (bootstrap_node.js:383:7)
                        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                        npm WARN pi No description
                        npm WARN pi No repository field.
                        npm WARN pi No README data
                        npm WARN pi No license field.
                        npm ERR! Linux 4.9.59+
                        npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3" "--production"
                        npm ERR! node v6.12.3
                        npm ERR! npm v3.10.10
                        npm ERR! code ELIFECYCLE
                        ! npm ERR! node-aead-crypto@1.0.4 install: node lib/install.js
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the node-aead-crypto@1.0.4 install script 'node lib/install.js'.
                        npm ERR! Make sure you have the latest version of node.js and npm installed.
                        npm ERR! If you do, this is most likely a problem with the node-aead-crypto package,
                        npm ERR! not with npm itself.
                        npm ERR! Tell the author that this fails on your system:
                        npm ERR! node lib/install.js
                        npm ERR! You can get information on how to open an issue for this project with:
                        npm ERR! npm bugs node-aead-crypto
                        npm ERR! Or if that isn't available, you can get their info via:
                        npm ERR! npm owner ls node-aead-crypto
                        npm ERR! There is likely additional logging output above.
                        ! npm ERR! Please include the following file with any support request:
                        npm ERR! /home/pi/npm-debug.log
                        pi@raspberrypi:~ $</anonymous></anonymous></anonymous>

                        1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer last edited by

                          Abgesehen davon, dass du wieder im falschen Ordner unterwegs bist (das sollte wie vorhin /opt/iobroker) sein, dürfte jetzt nur eine Kleinigkeit am Kommando fehlen:

                          sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production --unsafe-perm
                          
                          1 Reply Last reply Reply Quote 0
                          • F
                            fossil last edited by

                            So probiere das nun gerade mit der Installation noch mal aus 😄

                            und da ich das in dem Ordner /opt/iobroker/ machen soll habe ich gekonnt überlesen :shock:

                            werde dann gleich berichten ob es geklappt hat. 🙂

                            Woran liegt das überhaupt?

                            Ist das ein Problem mit dem Raspberry Pi1 oder habe ich bei der installation am Anfang schon etwas falsch gemacht!

                            1 Reply Last reply Reply Quote 0
                            • F
                              fossil last edited by

                              hier das ergebniss in dem Richtigem Ordner :lol:

                              ! ````
                              pi@raspberrypi:~ $ cd /opt/iobroker/
                              pi@raspberrypi:/opt/iobroker $ sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production --unsafe-perm
                              ! > node-aead-crypto@1.0.4 install /opt/iobroker/node_modules/node-aead-crypto
                              node lib/install.js
                              ! running rpi1 installation script
                              abbrev@1.1.1 node_modules/node-aead-crypto/node_modules/abbrev -> node_modules/abbrev
                              aproba@1.2.0 node_modules/node-aead-crypto/node_modules/aproba -> node_modules/aproba
                              block-stream@0.0.9 node_modules/node-aead-crypto/node_modules/block-stream -> node_modules/block-stream
                              console-control-strings@1.1.0 node_modules/node-aead-crypto/node_modules/console-control-strings -> node_modules/console-control-strings
                              delegates@1.0.0 node_modules/node-aead-crypto/node_modules/delegates -> node_modules/delegates
                              are-we-there-yet@1.1.4 node_modules/node-aead-crypto/node_modules/are-we-there-yet -> node_modules/are-we-there-yet
                              detect-libc@1.0.3 node_modules/node-aead-crypto/node_modules/detect-libc -> node_modules/detect-libc
                              fstream@1.0.11 node_modules/node-aead-crypto/node_modules/fstream -> node_modules/fstream
                              fstream-ignore@1.0.5 node_modules/node-aead-crypto/node_modules/fstream-ignore -> node_modules/fstream-ignore
                              has-unicode@2.0.1 node_modules/node-aead-crypto/node_modules/has-unicode -> node_modules/has-unicode
                              ini@1.3.5 node_modules/node-aead-crypto/node_modules/ini -> node_modules/ini
                              jsonify@0.0.0 node_modules/node-aead-crypto/node_modules/jsonify -> node_modules/jsonify
                              json-stable-stringify@1.0.1 node_modules/node-aead-crypto/node_modules/json-stable-stringify -> node_modules/json-stable-stringify

                              • ansi-regex@2.1.1 node_modules/node-aead-crypto/node_modules/ansi-regex
                              • asn1@0.2.3 node_modules/node-aead-crypto/node_modules/asn1
                              • asynckit@0.4.0 node_modules/node-aead-crypto/node_modules/asynckit
                              • aws4@1.6.0 node_modules/node-aead-crypto/node_modules/aws4
                              • balanced-match@1.0.0 node_modules/node-aead-crypto/node_modules/balanced-match
                              • browser-stdout@1.3.0 node_modules/node-aead-crypto/node_modules/browser-stdout
                              • caseless@0.12.0 node_modules/node-aead-crypto/node_modules/caseless
                              • co@4.6.0 node_modules/node-aead-crypto/node_modules/co
                              • code-point-at@1.1.0 node_modules/node-aead-crypto/node_modules/code-point-at
                              • commander@2.14.1 node_modules/node-aead-crypto/node_modules/commander
                              • concat-map@0.0.1 node_modules/node-aead-crypto/node_modules/concat-map
                              • brace-expansion@1.1.8 node_modules/node-aead-crypto/node_modules/brace-expansion
                              • core-util-is@1.0.2 node_modules/node-aead-crypto/node_modules/core-util-is
                              • assert-plus@1.0.0 node_modules/node-aead-crypto/node_modules/dashdash/node_modules/assert-plus
                              • dashdash@1.14.1 node_modules/node-aead-crypto/node_modules/dashdash
                              • delayed-stream@1.0.0 node_modules/node-aead-crypto/node_modules/delayed-stream
                              • combined-stream@1.0.6 node_modules/node-aead-crypto/node_modules/combined-stream
                              • diff@3.2.0 node_modules/node-aead-crypto/node_modules/diff
                              • escape-string-regexp@1.0.5 node_modules/node-aead-crypto/node_modules/escape-string-regexp
                              • extend@3.0.1 node_modules/node-aead-crypto/node_modules/extend
                              • extsprintf@1.3.0 node_modules/node-aead-crypto/node_modules/extsprintf
                              • forever-agent@0.6.1 node_modules/node-aead-crypto/node_modules/forever-agent
                              • fs.realpath@1.0.0 node_modules/node-aead-crypto/node_modules/fs.realpath
                              • assert-plus@1.0.0 node_modules/node-aead-crypto/node_modules/getpass/node_modules/assert-plus
                              • getpass@0.1.7 node_modules/node-aead-crypto/node_modules/getpass
                              • graceful-fs@4.1.11 node_modules/node-aead-crypto/node_modules/graceful-fs
                              • graceful-readlink@1.0.1 node_modules/node-aead-crypto/node_modules/graceful-readlink
                              • growl@1.9.2 node_modules/node-aead-crypto/node_modules/growl
                              • has-flag@1.0.0 node_modules/node-aead-crypto/node_modules/has-flag
                              • he@1.1.1 node_modules/node-aead-crypto/node_modules/he
                              • inherits@2.0.3 node_modules/node-aead-crypto/node_modules/inherits
                              • is-typedarray@1.0.0 node_modules/node-aead-crypto/node_modules/is-typedarray
                              • isstream@0.1.2 node_modules/node-aead-crypto/node_modules/isstream
                              • jsbn@0.1.1 node_modules/node-aead-crypto/node_modules/jsbn
                              • ecc-jsbn@0.1.1 node_modules/node-aead-crypto/node_modules/ecc-jsbn
                              • json-schema@0.2.3 node_modules/node-aead-crypto/node_modules/json-schema
                              • json-stringify-safe@5.0.1 node_modules/node-aead-crypto/node_modules/json-stringify-safe
                              • json3@3.3.2 node_modules/node-aead-crypto/node_modules/json3
                              • assert-plus@1.0.0 node_modules/node-aead-crypto/node_modules/jsprim/node_modules/assert-plus
                              • lodash._basecopy@3.0.1 node_modules/node-aead-crypto/node_modules/lodash._basecopy
                              • lodash._basecreate@3.0.3 node_modules/node-aead-crypto/node_modules/lodash._basecreate
                              • lodash._getnative@3.9.1 node_modules/node-aead-crypto/node_modules/lodash._getnative
                              • lodash._isiterateecall@3.0.9 node_modules/node-aead-crypto/node_modules/lodash._isiterateecall
                              • lodash.isarguments@3.1.0 node_modules/node-aead-crypto/node_modules/lodash.isarguments
                              • lodash.isarray@3.0.4 node_modules/node-aead-crypto/node_modules/lodash.isarray
                              • lodash.keys@3.1.2 node_modules/node-aead-crypto/node_modules/lodash.keys
                              • lodash._baseassign@3.2.0 node_modules/node-aead-crypto/node_modules/lodash._baseassign
                              • lodash.create@3.1.1 node_modules/node-aead-crypto/node_modules/lodash.create
                              • mime@1.6.0 node_modules/node-aead-crypto/node_modules/mime
                              • github@0.2.4 node_modules/node-aead-crypto/node_modules/github
                              • mime-db@1.33.0 node_modules/node-aead-crypto/node_modules/mime-db
                              • mime-types@2.1.18 node_modules/node-aead-crypto/node_modules/mime-types
                              • minimatch@3.0.4 node_modules/node-aead-crypto/node_modules/minimatch
                              • minimist@0.0.8 node_modules/node-aead-crypto/node_modules/minimist
                              • mkdirp@0.5.1 node_modules/node-aead-crypto/node_modules/mkdirp
                              • commander@2.9.0 node_modules/node-aead-crypto/node_modules/mocha/node_modules/commander
                              • ms@2.0.0 node_modules/node-aead-crypto/node_modules/ms
                              • debug@2.6.8 node_modules/node-aead-crypto/node_modules/debug
                              • node-pre-gyp-github@1.3.1 node_modules/node-aead-crypto/node_modules/node-pre-gyp-github
                              • number-is-nan@1.0.1 node_modules/node-aead-crypto/node_modules/number-is-nan
                              • is-fullwidth-code-point@1.0.0 node_modules/node-aead-crypto/node_modules/is-fullwidth-code-point
                              • oauth-sign@0.8.2 node_modules/node-aead-crypto/node_modules/oauth-sign
                              • object-assign@4.1.1 node_modules/node-aead-crypto/node_modules/object-assign
                              • path-is-absolute@1.0.1 node_modules/node-aead-crypto/node_modules/path-is-absolute
                              • punycode@1.4.1 node_modules/node-aead-crypto/node_modules/punycode
                              • safe-buffer@5.1.1 node_modules/node-aead-crypto/node_modules/safe-buffer
                              • semver@5.5.0 node_modules/node-aead-crypto/node_modules/semver
                              • set-blocking@2.0.0 node_modules/node-aead-crypto/node_modules/set-blocking
                              • should-type@1.4.0 node_modules/node-aead-crypto/node_modules/should-type
                              • should-equal@1.0.1 node_modules/node-aead-crypto/node_modules/should-equal
                              • should-util@1.0.0 node_modules/node-aead-crypto/node_modules/should-util
                              • should-type-adaptors@1.1.0 node_modules/node-aead-crypto/node_modules/should-type-adaptors
                              • should-format@3.0.3 node_modules/node-aead-crypto/node_modules/should-format
                              • assert-plus@1.0.0 node_modules/node-aead-crypto/node_modules/sshpk/node_modules/assert-plus
                              • stringstream@0.0.5 node_modules/node-aead-crypto/node_modules/stringstream
                              • strip-ansi@3.0.1 node_modules/node-aead-crypto/node_modules/strip-ansi
                              • string-width@1.0.2 node_modules/node-aead-crypto/node_modules/string-width
                              • supports-color@3.1.2 node_modules/node-aead-crypto/node_modules/supports-color
                              • tough-cookie@2.3.3 node_modules/node-aead-crypto/node_modules/tough-cookie
                              • tunnel-agent@0.6.0 node_modules/node-aead-crypto/node_modules/tunnel-agent
                              • tweetnacl@0.14.5 node_modules/node-aead-crypto/node_modules/tweetnacl
                              • bcrypt-pbkdf@1.0.1 node_modules/node-aead-crypto/node_modules/bcrypt-pbkdf
                              • sshpk@1.13.1 node_modules/node-aead-crypto/node_modules/sshpk
                              • uid-number@0.0.6 node_modules/node-aead-crypto/node_modules/uid-number
                              • util-deprecate@1.0.2 node_modules/node-aead-crypto/node_modules/util-deprecate
                              • uuid@3.2.1 node_modules/node-aead-crypto/node_modules/uuid
                              • assert-plus@1.0.0 node_modules/node-aead-crypto/node_modules/verror/node_modules/assert-plus
                              • verror@1.10.0 node_modules/node-aead-crypto/node_modules/verror
                              • jsprim@1.4.1 node_modules/node-aead-crypto/node_modules/jsprim
                              • wrappy@1.0.2 node_modules/node-aead-crypto/node_modules/wrappy
                              • once@1.4.0 node_modules/node-aead-crypto/node_modules/once
                              • inflight@1.0.6 node_modules/node-aead-crypto/node_modules/inflight
                              • glob@7.1.2 node_modules/node-aead-crypto/node_modules/glob
                              • rimraf@2.6.2 node_modules/node-aead-crypto/node_modules/rimraf
                              • glob@7.1.1 node_modules/node-aead-crypto/node_modules/mocha/node_modules/glob
                                ajv@4.11.8 node_modules/node-aead-crypto/node_modules/ajv -> node_modules/node-pre-gyp/node_modules/ajv
                                assert-plus@0.2.0 node_modules/node-aead-crypto/node_modules/assert-plus -> node_modules/node-pre-gyp/node_modules/assert-plus
                                aws-sign2@0.6.0 node_modules/node-aead-crypto/node_modules/aws-sign2 -> node_modules/node-pre-gyp/node_modules/aws-sign2
                                form-data@2.1.4 node_modules/node-aead-crypto/node_modules/form-data -> node_modules/node-pre-gyp/node_modules/form-data
                                har-schema@1.0.5 node_modules/node-aead-crypto/node_modules/har-schema -> node_modules/node-pre-gyp/node_modules/har-schema
                                har-validator@4.2.1 node_modules/node-aead-crypto/node_modules/har-validator -> node_modules/node-pre-gyp/node_modules/har-validator
                                hoek@2.16.3 node_modules/node-aead-crypto/node_modules/hoek -> node_modules/node-pre-gyp/node_modules/hoek
                                boom@2.10.1 node_modules/node-aead-crypto/node_modules/boom -> node_modules/node-pre-gyp/node_modules/boom
                                cryptiles@2.0.5 node_modules/node-aead-crypto/node_modules/cryptiles -> node_modules/node-pre-gyp/node_modules/cryptiles
                                http-signature@1.1.1 node_modules/node-aead-crypto/node_modules/http-signature -> node_modules/node-pre-gyp/node_modules/http-signature
                                performance-now@0.2.0 node_modules/node-aead-crypto/node_modules/performance-now -> node_modules/node-pre-gyp/node_modules/performance-now
                                qs@6.4.0 node_modules/node-aead-crypto/node_modules/qs -> node_modules/node-pre-gyp/node_modules/qs
                                sntp@1.0.9 node_modules/node-aead-crypto/node_modules/sntp -> node_modules/node-pre-gyp/node_modules/sntp
                                hawk@3.1.3 node_modules/node-aead-crypto/node_modules/hawk -> node_modules/node-pre-gyp/node_modules/hawk
                                request@2.81.0 node_modules/node-aead-crypto/node_modules/request -> node_modules/node-pre-gyp/node_modules/request
                                tar@2.2.1 node_modules/node-aead-crypto/node_modules/tar -> node_modules/node-pre-gyp/node_modules/tar
                                os-homedir@1.0.2 node_modules/node-aead-crypto/node_modules/os-homedir -> node_modules/os-homedir
                                os-tmpdir@1.0.2 node_modules/node-aead-crypto/node_modules/os-tmpdir -> node_modules/os-tmpdir
                                osenv@0.1.5 node_modules/node-aead-crypto/node_modules/osenv -> node_modules/osenv
                                nopt@4.0.1 node_modules/node-aead-crypto/node_modules/nopt -> node_modules/nopt
                                deep-extend@0.4.2 node_modules/node-aead-crypto/node_modules/deep-extend -> node_modules/rc/node_modules/deep-extend
                                minimist@1.2.0 node_modules/node-aead-crypto/node_modules/rc/node_modules/minimist -> node_modules/rc/node_modules/minimist
                                signal-exit@3.0.2 node_modules/node-aead-crypto/node_modules/signal-exit -> node_modules/signal-exit
                                strip-json-comments@2.0.1 node_modules/node-aead-crypto/node_modules/strip-json-comments -> node_modules/strip-json-comments
                                rc@1.2.5 node_modules/node-aead-crypto/node_modules/rc -> node_modules/rc
                                isarray@1.0.0 node_modules/node-aead-crypto/node_modules/isarray -> node_modules/tar-pack/node_modules/isarray
                                process-nextick-args@2.0.0 node_modules/node-aead-crypto/node_modules/process-nextick-args -> node_modules/tar-pack/node_modules/process-nextick-args
                                string_decoder@1.0.3 node_modules/node-aead-crypto/node_modules/string_decoder -> node_modules/tar-pack/node_modules/string_decoder
                                readable-stream@2.3.4 node_modules/node-aead-crypto/node_modules/readable-stream -> node_modules/tar-pack/node_modules/readable-stream
                                tar-pack@3.4.1 node_modules/node-aead-crypto/node_modules/tar-pack -> node_modules/tar-pack
                                wide-align@1.1.2 node_modules/node-aead-crypto/node_modules/wide-align -> node_modules/wide-align
                                gauge@2.7.4 node_modules/node-aead-crypto/node_modules/gauge -> node_modules/gauge
                                npmlog@4.1.2 node_modules/node-aead-crypto/node_modules/npmlog -> node_modules/npmlog
                              • buffertools@2.1.6 node_modules/node-aead-crypto/node_modules/buffertools
                              • mocha@3.5.3 node_modules/node-aead-crypto/node_modules/mocha
                              • should@11.2.1 node_modules/node-aead-crypto/node_modules/should
                                node-pre-gyp@0.6.39 node_modules/node-aead-crypto/node_modules/node-pre-gyp -> node_modules/node-pre-gyp
                                iobroker.inst@1.0.8 /opt/iobroker
                                └── (empty)

                              ! npm ERR! code 1
                              ! ````

                              EDIT:

                              Der Adapter läuft nun einwand frei 😮

                              aber dann noch mal zu meiner Frage:

                              Woran liegt das überhaupt?

                              Ist das ein Problem mit dem Raspberry Pi1 oder habe ich bei der installation am Anfang schon etwas falsch gemacht?

                              P.s. Danke für den großartigen Support 😄 🙂

                              1 Reply Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer last edited by

                                @fossil:

                                Ist das ein Problem mit dem Raspberry Pi1 oder habe ich bei der installation am Anfang schon etwas falsch gemacht? `
                                Das Paket in Frage rüstet benötigte Verschlüsselungsmethoden für die Kommunikation nach und muss je nach NodeJS-Version und Plattform kompiliert werden. Da das nicht unbedingt trivial ist, insbesondere auf Windows, setze ich ein Paket (node-pre-gyp) ein, das diese vorkompiliert. Bei der Installation muss dann nur noch die passende Version heruntergeladen werden.

                                Allerdings existiert für node-pre-gyp nur linux/darwin(osx)/windows/arm - hier wird keine Unterscheidung zwischen armv6 und armv7 getroffen. Die Compiler, die zum Vorkompilieren eingesetzt werden, kennen auch nur armv7. Daher wurde bisher einfach die armv7 Version auf Raspberry installiert, was auf Pi1 oder Pi Zero allerdings die falsche ist.

                                Die Lösung ist jetzt, dass das Paket bei der Installation erkennt, ob es auf einem armv6 installiert werden soll. In diesem Fall wird es auf dem Gerät kompiliert, ohne zu versuchen, die vorkompilierte Variante herunterzuladen.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fossil last edited by

                                  Also nur noch mal für mein Verständnis:

                                  Jeder der ein Pi 1 oder Zero mit armv6 besitzt und Iobroker installiert hat, muss nach dem er den Tradfri Adapter über den Iobroker.Admin installiert hat noch einemal über ssh in den Ordner:

                                  cd /opt/iobroker/
                                  

                                  und mit dem Befehl:

                                  sudo npm install https://github.com/AlCalzone/node-aead-crypto/tarball/fix-3 --production --unsafe-perm
                                  

                                  die richtige Verschlüsselungsmethode installieren?

                                  1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer last edited by

                                    @fossil:

                                    Jeder der ein Pi 1 oder Zero mit armv6 besitzt und Iobroker installiert hat, muss … die richtige Verschlüsselungsmethode installieren? `
                                    Nein, du warst nur mein Testkaninchen. Der fix-3 branch ist mittlerweile in master gemerged, d.h. jede zukünftige Installation macht das automatisch. Es könnte lediglich notwendig sein, den Adapter auf Pi1/Zero manuell zu installieren statt über Admin-GUI:

                                    cd /opt/iobroker
                                    sudo npm install iobroker.tradfri --production --unsafe-perm
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fossil last edited by

                                      Okay dann probiere ich das gleich an meinem zweiten Pi1 den ich einmal neu aufsetzte aus und gebe Rückmeldung 😄

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fossil last edited by

                                        So habe den anderen RPi nun fertig und es hat ohne Probleme über den iobroker.admin geklappt. 😄

                                        Dank dir AlCalzone für dem super Support.

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        786
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        3
                                        28
                                        2569
                                        Loading More Posts
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                        The ioBroker Community 2014-2023
                                        logo