Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Npm update

    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

    Npm update

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

      hi jungs,

      ich glaub ich war mal wieder zu mutig. Wollte den node-red Adapter installieren, da war ein Fehler mit irgendwas NPM ist nicht das richtige…..

      Daraufhin habe ich das hier gemacht:

      sudo npm install npm -g

      von hier:

      https://docs.npmjs.com/getting-started/installing-node

      das hier ist im Log:
      ` > $ ./iobroker add zwave

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

      npm

      WARN lifecycle openzwave-shared@1.1.6~preinstall: cannot run in wd %s %s (wd=%s) openzwave-shared@1.1.6 node lib/install-ozw.js /opt/iobroker/node_modules/.staging/openzwave-shared-8e400646

      gyp: Call to 'PKG_CONFIG_PATH= pkg-config --variable=libdir libopenzwave' returned exit status 1 while 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 ChildProcess.emit (events.js:110:17)gyp

      ERR! stack

      at Process.ChildProcess._handle.onexit (child_process.js:1074:12)

      gyp ERR!

      System Linux 4.1.7-v7+gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

      gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared

      gyp ERR! node -v v0.12.6

      gyp ERR! node-gyp -v v3.2.1

      gyp ERR! not ok

      npm

      WARN enoent ENOENT, open '/opt/iobroker/package.json'

      npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.

      npm WARN iobroker No description

      npm WARN iobroker No repository field.

      npm WARN iobroker No README data

      npm WARN iobroker No license field.

      npm

      ERR! Linux 4.1.7-v7+npm ERR! argv "node" "/usr/local/bin/npm" "install" "iobroker.zwave" "--production" "--prefix" "/opt/iobroker"

      npm ERR! node v0.12.6

      npm ERR! npm v3.5.2npm ERR! code ELIFECYCLE

      npm

      ERR! openzwave-shared@1.1.6 install: node-gyp rebuildnpm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the openzwave-shared@1.1.6 install script 'node-gyp rebuild'.

      npm ERR! Make sure you have the latest version of node.js and npm installed.

      npm ERR! If you do, this is most likely a problem with the openzwave-shared package,

      npm ERR!

      not with npm itself.npm ERR! Tell the author that this fails on your system:

      npm ERR! node-gyp rebuild

      npm ERR! You can get information on how to open an issue for this project with:

      npm

      ERR!

      npm bugs openzwave-sharednpm ERR! Or if that isn't available, you can get their info via:

      npm ERR! npm owner ls openzwave-shared

      npm

      ERR! There is likely additional logging output above.

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

      npm ERR! /npm-debug.log

      ERROR: host.raspberrypi Cannot install iobroker.zwave: 1

      ERROR: process exited with code 25 `

      was soll ich machen!?

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        @mimquadrat:

        hi jungs,

        ich glaub ich war mal wieder zu mutig. Wollte den node-red Adapter installieren, da war ein Fehler mit irgendwas NPM ist nicht das richtige…..

        Daraufhin habe ich das hier gemacht:

        sudo npm install npm -g

        von hier:

        https://docs.npmjs.com/getting-started/installing-node

        das hier ist im Log:
        ` > $ ./iobroker add zwave

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

        npm

        WARN lifecycle openzwave-shared@1.1.6~preinstall: cannot run in wd %s %s (wd=%s) openzwave-shared@1.1.6 node lib/install-ozw.js /opt/iobroker/node_modules/.staging/openzwave-shared-8e400646

        gyp: Call to 'PKG_CONFIG_PATH= pkg-config --variable=libdir libopenzwave' returned exit status 1 while 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 ChildProcess.emit (events.js:110:17)gyp

        ERR! stack

        at Process.ChildProcess._handle.onexit (child_process.js:1074:12)

        gyp ERR!

        System Linux 4.1.7-v7+gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

        gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared

        gyp ERR! node -v v0.12.6

        gyp ERR! node-gyp -v v3.2.1

        gyp ERR! not ok

        npm

        WARN enoent ENOENT, open '/opt/iobroker/package.json'

        npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.

        npm WARN iobroker No description

        npm WARN iobroker No repository field.

        npm WARN iobroker No README data

        npm WARN iobroker No license field.

        npm

        ERR! Linux 4.1.7-v7+npm ERR! argv "node" "/usr/local/bin/npm" "install" "iobroker.zwave" "--production" "--prefix" "/opt/iobroker"

        npm ERR! node v0.12.6

        npm ERR! npm v3.5.2npm ERR! code ELIFECYCLE

        npm

        ERR! openzwave-shared@1.1.6 install: node-gyp rebuildnpm ERR! Exit status 1

        npm ERR!

        npm ERR! Failed at the openzwave-shared@1.1.6 install script 'node-gyp rebuild'.

        npm ERR! Make sure you have the latest version of node.js and npm installed.

        npm ERR! If you do, this is most likely a problem with the openzwave-shared package,

        npm ERR!

        not with npm itself.npm ERR! Tell the author that this fails on your system:

        npm ERR! node-gyp rebuild

        npm ERR! You can get information on how to open an issue for this project with:

        npm

        ERR!

        npm bugs openzwave-sharednpm ERR! Or if that isn't available, you can get their info via:

        npm ERR! npm owner ls openzwave-shared

        npm

        ERR! There is likely additional logging output above.

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

        npm ERR! /npm-debug.log

        ERROR: host.raspberrypi Cannot install iobroker.zwave: 1

        ERROR: process exited with code 25 `

        was soll ich machen!? `
        Was passiert?

        cd /opt/iobroker
        sudo npm install iobroker.zwave
        
        
        1 Reply Last reply Reply Quote 0
        • V
          versteckt last edited by

          Wart mit zwave, morgen bzw. übermorgen gibt es eine neue Version inkl. Dokumentation.

          Gesendet von meinem iPhone mit Tapatalk
          9364_iobroker.2018-11-12.log

          1 Reply Last reply Reply Quote 0
          • M
            mimquadrat last edited by

            ich hab stattdessen mit dem Wolf Adapter probiert:
            ` > root@raspberrypi:/opt/iobroker# sudo npm install iobroker.wolf

            /opt/iobroker

            ├── iobroker.icons-addictive-flavour-png@0.1.0

            └── iobroker.wolf@0.1.0

            npm WARN enoent ENOENT, open '/opt/iobroker/package.json'

            npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.

            npm WARN iobroker No description

            npm WARN iobroker No repository field.

            npm WARN iobroker No README data

            npm WARN iobroker No license field. `
            2858_iobroker.2018-11-14_-kopie__3.log

            1 Reply Last reply Reply Quote 0
            • Bluefox
              Bluefox last edited by

              @mimquadrat:

              ich hab stattdessen mit dem Wolf Adapter probiert:
              ` > root@raspberrypi:/opt/iobroker# sudo npm install iobroker.wolf

              /opt/iobroker

              ├── iobroker.icons-addictive-flavour-png@0.1.0

              └── iobroker.wolf@0.1.0

              npm WARN enoent ENOENT, open '/opt/iobroker/package.json'

              npm WARN mongodb-core@1.2.28 requires a peer of kerberos@~0.0 but none was installed.

              npm WARN iobroker No description

              npm WARN iobroker No repository field.

              npm WARN iobroker No README data

              npm WARN iobroker No license field.
              Hat doch geklappt. Nur Warnungen

              1 Reply Last reply Reply Quote 0
              • M
                mimquadrat last edited by

                leider ist der Adapter aber unter Instanzen nicht sichtbar

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

                Support us

                ioBroker
                Community Adapters
                Donate

                722
                Online

                31.8k
                Users

                80.0k
                Topics

                1.3m
                Posts

                3
                6
                2398
                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