Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Fehler bei Adapter Installation

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fehler bei Adapter Installation

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bluppdiwupp last edited by Homoran

      Ich habe meinen NodeRed Adapter gelöscht, da ich Fehlermeldungen hatte. Nun wollte ich ihn wieder als Adapter installieren und bekomme folgende Fehlermeldung:

      $ ./iobroker add node-red  --host raspberrypi
      NPM version: 6.14.10
      npm install iobroker.node-red@2.0.1 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
      npm ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY
      npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/nopt: Integrity verification failed for sha512-rMpEcBCRE4Gg6lkwHVyyGZ6UVINmrXbUzeOr0GlL8ElM5ZGmo6BjkHiwQf4hXwUS26hB7wFq4Cs8nSa6eyoUHw== (/home/iobroker/.npm/_cacache/content-v2/sha512/ac/ca/447010911381a0ea59301d5cb2199e94548366ad76d4cde3abd0694bf0494ce591a6a3a0639078b041fe215f0512dba841ef016ae02b3c9d26ba7b2a141f)
      npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-12-25T12_51_29_456Z-debug.log
      ERROR: host.raspberrypi Cannot install iobroker.node-red@2.0.1: 1
      ERROR: process exited with code 25
      

      MOD-Edit: Code in code-tags gesetzt!

      Was kann ich tun?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @bluppdiwupp last edited by Thomas Braun

        @bluppdiwupp

        cd /opt/iobroker
        npm clear cache --force
        

        Und bitte mal die node-Installation prüfen:

        which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        
        B 1 Reply Last reply Reply Quote 1
        • B
          bluppdiwupp @Thomas Braun last edited by

          @Thomas-Braun said in Fehler bei Adapter Installation:

          @bluppdiwupp

          cd /opt/iobroker
          npm clear cache --force
          

          Und bitte mal die node-Installation prüfen:

          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          

          PERFEKT! herzlichen Dank!

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @bluppdiwupp last edited by

            @bluppdiwupp node ist sauber?
            Bitte mal die Ausgabe bekannt geben.

            B 1 Reply Last reply Reply Quote 0
            • B
              bluppdiwupp @Thomas Braun last edited by bluppdiwupp

              @Thomas-Braun said in Fehler bei Adapter Installation:

              @bluppdiwupp node ist sauber?
              Bitte mal die Ausgabe bekannt geben.

              Leider ist der Fehler wieder vorhanden. Eine Neuinstallation ist wieder nicht mehr möglich.

              pi@raspberrypi:~ $ cd /opt/iobroker
              pi@raspberrypi:/opt/iobroker $ npm clear cache --force
              npm WARN using --force I sure hope you know what you are doing.
              
              Usage: npm <command>
              
              where <command> is one of:
                  access, adduser, audit, bin, bugs, c, cache, ci, cit,
                  clean-install, clean-install-test, completion, config,
                  create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                  edit, explore, fund, get, help, help-search, hook, i, init,
                  install, install-ci-test, install-test, it, link, list, ln,
                  login, logout, ls, org, outdated, owner, pack, ping, prefix,
                  profile, prune, publish, rb, rebuild, repo, restart, root,
                  run, run-script, s, se, search, set, shrinkwrap, star,
                  stars, start, stop, t, team, test, token, tst, un,
                  uninstall, unpublish, unstar, up, update, v, version, view,
                  whoami
              
              npm <command> -h  quick help on <command>
              npm -l            display full usage info
              npm help <term>   search for help on <term>
              npm help npm      involved overview
              
              Specify configs in the ini-formatted file:
                  /home/iobroker/.npmrc
              or on the command line via: npm <command> --key value
              Config info can be viewed via: npm help config
              
              npm@6.14.10 /usr/lib/node_modules/npm
              
              pi@raspberrypi:/opt/iobroker $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt polic               y nodejs
              /usr/bin/nodejs
              v12.20.0
              /usr/bin/node
              v12.20.0
              /usr/bin/npm
              6.14.10
              nodejs:
                Installiert:           12.20.0-1nodesource1
                Installationskandidat: 12.20.0-1nodesource1
                Versionstabelle:
               *** 12.20.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
              pi@raspberrypi:/opt/iobroker $
              
              Thomas Braun 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @bluppdiwupp last edited by

                @bluppdiwupp Bitte Konsolentext in CodeTags setzen. Dann kann man das besser lesen.

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @bluppdiwupp last edited by

                  @bluppdiwupp

                  cd /opt/iobroker
                  npm cache clear --force
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                    @Thomas-Braun sagte in Fehler bei Adapter Installation:

                    @bluppdiwupp

                    cd /opt/iobroker
                    npm cache clear --force
                    

                    nope: npm cache clean --force

                    streiche r, setze n

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Homoran last edited by Thomas Braun

                      @Homoran Beides geht.

                      Last login: Sun Dec 27 11:08:32 2020 from 192.168.178.22
                      pi@raspberrypi:~ $ cd /opt/iobroker/
                      pi@raspberrypi:/opt/iobroker $ npm cache clear --force
                      npm WARN using --force Recommended protections disabled.
                      pi@raspberrypi:/opt/iobroker $
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Thomas Braun last edited by

                        @Thomas-Braun sagte in Fehler bei Adapter Installation:

                        Beides geht.

                        Again what learned!
                        Danke

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        759
                        Online

                        31.7k
                        Users

                        79.6k
                        Topics

                        1.3m
                        Posts

                        3
                        10
                        680
                        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