Navigation

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

    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

    UNSOLVED npm Error bei Installation

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

      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:~ $
      
      sigi234 FredF 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @jhuettenrauch last edited by

        @jhuettenrauch

        Schon mal neu gestartet?

        1 Reply Last reply Reply Quote 0
        • J
          jhuettenrauch last edited by

          Ja mehrfach

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @jhuettenrauch last edited by sigi234

            @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

            1 Reply Last reply Reply Quote 0
            • J
              jhuettenrauch last edited by

              @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)
              
              
              sigi234 1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @jhuettenrauch last edited by

                @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

                1 Reply Last reply Reply Quote 0
                • J
                  jhuettenrauch last edited by

                  @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
                  
                  
                  sigi234 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @jhuettenrauch last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • J
                      jhuettenrauch last edited by

                      pi@Rasp-KG:/opt/iobroker $ node -v
                      v10.16.0
                      pi@Rasp-KG:/opt/iobroker $ npm -v
                      6.9.0
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • FredF
                        FredF Most Active Forum Testing @jhuettenrauch last edited by

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

                        sigi234 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @FredF last edited by Negalein

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

                          1 Reply Last reply Reply Quote 0
                          • J
                            jhuettenrauch last edited by

                            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 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            845
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            installation raspberrypi installtionsfehler
                            3
                            12
                            1982
                            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