Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. npm Error bei Installation

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.6k

npm Error bei Installation

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
installation raspberrypiinstalltionsfehler
12 Beiträge 3 Kommentatoren 2.1k Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • J jhuettenrauch

    Hi,

    ich bin neu bei ioBroker und bin auch nicht firm im Umgang mit der RaspberryPi.

    Ich weis nicht ob ich hier richtig bin oder ob es das Thema schon gibt, ich hab zumindest nichts gefunden.

    Mein Ansatz war, ein Image für den Raspberry von ioBroker runter zu laden. Leider funktioniert der Download von der Seite nicht.
    Als nächstes habe ich nach der Anleitung "Linux Schnellstart (auch für Raspberry Pi 2/3)" alles installiert.
    Ach so es ist ein Raspberry Pi 2 Model B Rev 1.1 mit 32GB SD.

    Ich hab node 10.x installiert.

    Auf jeden Fall kann ich per Browser nicht zugreifen und weis nicht weiter. Hoffentlich versteht jemand was das Problem ist und kann mir weiter helfen.

    Auf jeden Fall schon mal Danke.

    Gruß
    Jens

    
    pi@Rasp-KG:~ $ sudo curl -sL https://iobroker.net/install.sh | bash -
    
    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2019-07-03
    
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    Could not check npm version: TypeError: semver.valid is not a function
    Assuming that correct version is installed.
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Aborting install because the npm version could not be checked!
    Please check that npm is installed correctly.
    Use "npm install -g npm" to install a supported version.
    You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    npm ERR! code ELIFECYCLE
    npm ERR! errno 3
    npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
    npm ERR! Exit status 3
    npm ERR!
    npm ERR! Failed at the iobroker@2.0.3 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-07-17T18_46_42_377Z-debug.log
    npm ERR! code EINTEGRITY
    npm ERR! errno EINTEGRITY
    npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/iobroker.admin: Integrity verification failed for sha512-m4pRJCTzMNHbN0hDcoDjRLYTa3Q9N+LMnD4ls4kWCiZkVFHpdCyIcvtSRPCA0FpeehiiopzAs3CmjjN5TWwR+g== (/home/pi/.npm/_cacache/content-v2/sha512/9b/8a/512424f330d1db3748437280e344b6136b743d37e2cc9c3e25b389160a26645451e9742c8872fb5244f080d05a5e7a18a2a29cc0b370a68e33794d6c11fa)
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-07-17T18_46_51_746Z-debug.log
    
    ==========================================================================
        Finalizing installation (4/4)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    Fixing directory permissions...
    
    ==========================================================================
    
        ioBroker was installed successfully
        Open http://192.168.45.242:8081 in a browser and start configuring!
    
    ==========================================================================
    
    
    You need to re-login before doing anything else on the console!
    
    pi@Rasp-KG:~ $ npm -v
    6.9.0
    
    pi@Rasp-KG:~ $ curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -
    ioBroker is not installed in /opt/iobroker! Cannot fix anything...
    pi@Rasp-KG:~ $
    
    sigi234S Online
    sigi234S Online
    sigi234
    Forum Testing Most Active
    schrieb am zuletzt editiert von
    #2

    @jhuettenrauch

    Schon mal neu gestartet?

    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Immer Daten sichern!

    1 Antwort Letzte Antwort
    0
    • J Offline
      J Offline
      jhuettenrauch
      schrieb am zuletzt editiert von
      #3

      Ja mehrfach

      sigi234S 1 Antwort Letzte Antwort
      0
      • J jhuettenrauch

        Ja mehrfach

        sigi234S Online
        sigi234S Online
        sigi234
        Forum Testing Most Active
        schrieb am zuletzt editiert von sigi234
        #4

        @jhuettenrauch sagte in npm Error bei Installation:

        Ja mehrfach

        Was kommt bei

        iobroker list instances

        Oder:

        https://www.iobroker.net/#de/documentation/trouble/RunsNoMore.md

        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Immer Daten sichern!

        1 Antwort Letzte Antwort
        0
        • J Offline
          J Offline
          jhuettenrauch
          schrieb am zuletzt editiert von
          #5

          @sigi234 said in npm Error bei Installation:

          iobroker list instances

          pi@Rasp-KG:~ $ iobroker list instances
          internal/modules/cjs/loader.js:638
              throw err;
              ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
              at Function.Module._load (internal/modules/cjs/loader.js:562:25)
              at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
              at startup (internal/bootstrap/node.js:283:19)
              at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
          
          
          sigi234S 1 Antwort Letzte Antwort
          0
          • J jhuettenrauch

            @sigi234 said in npm Error bei Installation:

            iobroker list instances

            pi@Rasp-KG:~ $ iobroker list instances
            internal/modules/cjs/loader.js:638
                throw err;
                ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
                at startup (internal/bootstrap/node.js:283:19)
                at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
            
            
            sigi234S Online
            sigi234S Online
            sigi234
            Forum Testing Most Active
            schrieb am zuletzt editiert von
            #6

            @jhuettenrauch sagte in npm Error bei Installation:

            @sigi234 said in npm Error bei Installation:

            iobroker list instances

            pi@Rasp-KG:~ $ iobroker list instances
            internal/modules/cjs/loader.js:638
                throw err;
                ^
            
            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
                at startup (internal/bootstrap/node.js:283:19)
                at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
            
            

            cd /opt/iobroker
            iobroker stop
            npm install iobroker.js-controller
            iobroker start

            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Immer Daten sichern!

            1 Antwort Letzte Antwort
            0
            • J Offline
              J Offline
              jhuettenrauch
              schrieb am zuletzt editiert von
              #7

              @sigi234 said in npm Error bei Installation:

              npm install iobroker.js-controller

              pi@Rasp-KG:~ $ cd /opt/iobroker
              pi@Rasp-KG:/opt/iobroker $ iobroker stop
              pi@Rasp-KG:/opt/iobroker $ npm install iobroker.js-controller
              npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
              npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
              npm ERR! code EINTEGRITY
              npm ERR! errno EINTEGRITY
              npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/iobroker.js-controller: Integrity verification failed for sha512-jQK1VMgIyRR3czkNwmTQzjorQ855I6a1Y3U9umLh67hMJ2to7B+BlFPkTosCEOHNNE6cIGK2lfCHbSWoLfCAAA== (/home/pi/.npm/_cacache/content-v2/sha512/8d/02/b554c808c9147773390dc264d0ce3a2b43ce7923a6b563753dba62e1ebb84c276b68ec1f819453e44e8b0210e1cd344e9c2062b695f0876d25a82df08000)
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/pi/.npm/_logs/2019-07-17T19_52_31_961Z-debug.log
              
              
              sigi234S 1 Antwort Letzte Antwort
              0
              • J jhuettenrauch

                @sigi234 said in npm Error bei Installation:

                npm install iobroker.js-controller

                pi@Rasp-KG:~ $ cd /opt/iobroker
                pi@Rasp-KG:/opt/iobroker $ iobroker stop
                pi@Rasp-KG:/opt/iobroker $ npm install iobroker.js-controller
                npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
                npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
                npm ERR! code EINTEGRITY
                npm ERR! errno EINTEGRITY
                npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/iobroker.js-controller: Integrity verification failed for sha512-jQK1VMgIyRR3czkNwmTQzjorQ855I6a1Y3U9umLh67hMJ2to7B+BlFPkTosCEOHNNE6cIGK2lfCHbSWoLfCAAA== (/home/pi/.npm/_cacache/content-v2/sha512/8d/02/b554c808c9147773390dc264d0ce3a2b43ce7923a6b563753dba62e1ebb84c276b68ec1f819453e44e8b0210e1cd344e9c2062b695f0876d25a82df08000)
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2019-07-17T19_52_31_961Z-debug.log
                
                
                sigi234S Online
                sigi234S Online
                sigi234
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #8

                @jhuettenrauch sagte in npm Error bei Installation:

                @sigi234 said in npm Error bei Installation:

                npm install iobroker.js-controller

                Was kommt bei:

                node -v
                npm -v

                Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Immer Daten sichern!

                1 Antwort Letzte Antwort
                0
                • J Offline
                  J Offline
                  jhuettenrauch
                  schrieb am zuletzt editiert von
                  #9
                  pi@Rasp-KG:/opt/iobroker $ node -v
                  v10.16.0
                  pi@Rasp-KG:/opt/iobroker $ npm -v
                  6.9.0
                  
                  
                  1 Antwort Letzte Antwort
                  0
                  • J jhuettenrauch

                    Hi,

                    ich bin neu bei ioBroker und bin auch nicht firm im Umgang mit der RaspberryPi.

                    Ich weis nicht ob ich hier richtig bin oder ob es das Thema schon gibt, ich hab zumindest nichts gefunden.

                    Mein Ansatz war, ein Image für den Raspberry von ioBroker runter zu laden. Leider funktioniert der Download von der Seite nicht.
                    Als nächstes habe ich nach der Anleitung "Linux Schnellstart (auch für Raspberry Pi 2/3)" alles installiert.
                    Ach so es ist ein Raspberry Pi 2 Model B Rev 1.1 mit 32GB SD.

                    Ich hab node 10.x installiert.

                    Auf jeden Fall kann ich per Browser nicht zugreifen und weis nicht weiter. Hoffentlich versteht jemand was das Problem ist und kann mir weiter helfen.

                    Auf jeden Fall schon mal Danke.

                    Gruß
                    Jens

                    
                    pi@Rasp-KG:~ $ sudo curl -sL https://iobroker.net/install.sh | bash -
                    
                    ==========================================================================
                    
                        Welcome to the ioBroker installer!
                        Installer version: 2019-07-03
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/4)
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Creating ioBroker user and directory (2/4)
                    ==========================================================================
                    
                    Created /etc/sudoers.d/iobroker
                    Directory /opt/iobroker created
                    
                    ==========================================================================
                        Installing ioBroker (3/4)
                    ==========================================================================
                    
                    Could not check npm version: TypeError: semver.valid is not a function
                    Assuming that correct version is installed.
                    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                    Aborting install because the npm version could not be checked!
                    Please check that npm is installed correctly.
                    Use "npm install -g npm" to install a supported version.
                    You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 3
                    npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
                    npm ERR! Exit status 3
                    npm ERR!
                    npm ERR! Failed at the iobroker@2.0.3 install script.
                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/pi/.npm/_logs/2019-07-17T18_46_42_377Z-debug.log
                    npm ERR! code EINTEGRITY
                    npm ERR! errno EINTEGRITY
                    npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/iobroker.admin: Integrity verification failed for sha512-m4pRJCTzMNHbN0hDcoDjRLYTa3Q9N+LMnD4ls4kWCiZkVFHpdCyIcvtSRPCA0FpeehiiopzAs3CmjjN5TWwR+g== (/home/pi/.npm/_cacache/content-v2/sha512/9b/8a/512424f330d1db3748437280e344b6136b743d37e2cc9c3e25b389160a26645451e9742c8872fb5244f080d05a5e7a18a2a29cc0b370a68e33794d6c11fa)
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/pi/.npm/_logs/2019-07-17T18_46_51_746Z-debug.log
                    
                    ==========================================================================
                        Finalizing installation (4/4)
                    ==========================================================================
                    
                    Enabling autostart...
                    Autostart enabled!
                    Fixing directory permissions...
                    
                    ==========================================================================
                    
                        ioBroker was installed successfully
                        Open http://192.168.45.242:8081 in a browser and start configuring!
                    
                    ==========================================================================
                    
                    
                    You need to re-login before doing anything else on the console!
                    
                    pi@Rasp-KG:~ $ npm -v
                    6.9.0
                    
                    pi@Rasp-KG:~ $ curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -
                    ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                    pi@Rasp-KG:~ $
                    
                    FredFF Online
                    FredFF Online
                    FredF
                    Most Active Forum Testing
                    schrieb am zuletzt editiert von
                    #10

                    @jhuettenrauch sagte in npm Error bei Installation:

                    Mein Ansatz war, ein Image für den Raspberry von ioBroker runter zu laden. Leider funktioniert der Download von der Seite nicht.

                    Wo hast du es versucht herunterzuladen? Hier wirst du fündig und der download funktioniert...

                    sigi234S 1 Antwort Letzte Antwort
                    0
                    • FredFF FredF

                      @jhuettenrauch sagte in npm Error bei Installation:

                      Mein Ansatz war, ein Image für den Raspberry von ioBroker runter zu laden. Leider funktioniert der Download von der Seite nicht.

                      Wo hast du es versucht herunterzuladen? Hier wirst du fündig und der download funktioniert...

                      sigi234S Online
                      sigi234S Online
                      sigi234
                      Forum Testing Most Active
                      schrieb am zuletzt editiert von Negalein
                      #11

                      @FredF sagte in npm Error bei Installation:

                      @jhuettenrauch sagte in npm Error bei Installation:

                      Mein Ansatz war, ein Image für den Raspberry von ioBroker runter zu laden. Leider funktioniert der Download von der Seite nicht.

                      Wo hast du es versucht herunterzuladen? Hier wirst du fündig und der download funktioniert...

                      Ja, @jhuettenrauch sollte neu installieren..............

                      Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Immer Daten sichern!

                      1 Antwort Letzte Antwort
                      0
                      • J Offline
                        J Offline
                        jhuettenrauch
                        schrieb am zuletzt editiert von
                        #12

                        Danke, ich werde das morgen mal neu machen.

                        Das Image habe ich hier versucht zu bekommen.
                        https://www.iobroker.net/docu/index-19.htm?page_id=2563&lang=de

                        Danke für die Hilfe

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        802

                        Online

                        32.5k

                        Benutzer

                        81.6k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe