Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alexa2.0 login nicht möglich

    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

    Alexa2.0 login nicht möglich

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

      @Thomas-Braun

      Habe jetzt beides probiert
      leider ohne Erfolg

      Hier der Auszug aus dem Terminal

      pi@raspberrypi:~ $ npm i https-proxy-agent
      npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      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.
      
      + https-proxy-agent@5.0.0
      added 4 packages from 3 contributors and audited 4 packages in 1.083s
      found 0 vulnerabilities
      
      pi@raspberrypi:~ $ iobroker restart
      pi@raspberrypi:~ $ node -v
      v12.18.2
      pi@raspberrypi:~ $ npm -v
      6.14.5
      pi@raspberrypi:~ $ cd /opt/iobroker
      pi@raspberrypi:/opt/iobroker $ npm list https-proxy-agent
      iobroker.inst@2.0.3 /opt/iobroker
      ├─┬ iobroker.alexa2@3.2.8
      │ └─┬ @sentry/node@5.19.2
      │   └── https-proxy-agent@5.0.0 
      └─┬ iobroker.vis-weather@2.5.2
        └─┬ npm@6.14.4
          └─┬ npm-registry-fetch@4.0.3
            └─┬ make-fetch-happen@5.0.2
              └── https-proxy-agent@2.2.4 
      
      pi@raspberrypi:/opt/iobroker $ 
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @smarty15 last edited by

        @smarty15
        Komisch, bei mir liegt das Modul auch noch im js-controller drin:

        pi@raspberrypi:/opt/iobroker $ npm list https-proxy-agent
        iobroker.inst@2.0.3 /opt/iobroker
        ├─┬ iobroker.alexa2@3.2.8
        │ └─┬ @sentry/node@5.19.2
        │   └── https-proxy-agent@5.0.0
        ├─┬ iobroker.backitup@1.5.8
        │ └─┬ google-auth-library@6.0.0
        │   └─┬ gaxios@3.0.3
        │     └── https-proxy-agent@5.0.0
        ├─┬ iobroker.js-controller@3.1.6
        │ └─┬ @iobroker/plugin-sentry@1.1.4
        │   └─┬ @sentry/node@5.17.0
        │     └── https-proxy-agent@4.0.0
        └─┬ iobroker.nuki-extended@2.2.6
          └─┬ npm@6.14.6
            └─┬ npm-registry-fetch@4.0.5
              └─┬ make-fetch-happen@5.0.2
                └── https-proxy-agent@2.2.4
        
        1 Reply Last reply Reply Quote 0
        • S
          smarty15 last edited by

          @Thomas-Braun

          Also heisst dass das bei mir irgendwo ein Fehler ist?

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

            @smarty15 Das kann ich nicht sagen. Aber der js-controller ist so zentral, das würde ich eigentlich bei jeder Installation dann dort erwarten.

            iobroker version
            

            bringt?

            1 Reply Last reply Reply Quote 0
            • S
              smarty15 last edited by

              @Thomas-Braun

              Ok

              Da bekomme ich das hier raus

              pi@raspberrypi:~ $ iobroker version
              3.1.6
              pi@raspberrypi:~ $ 
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @smarty15 last edited by

                @smarty15

                which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                
                1 Reply Last reply Reply Quote 0
                • S
                  smarty15 last edited by

                  @Thomas-Braun

                  Soll ich das jetzt im Terminal eingeben?
                  oder ist das dass was bei dir rauskommt wenn du iobroker Version eingibst?

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

                    @smarty15
                    Das so in deine Konsole kopieren.

                    1 Reply Last reply Reply Quote 0
                    • S
                      smarty15 last edited by

                      @Thomas-Braun

                      ok dann erscheint das hier

                      pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                      /usr/bin/nodejs
                      v12.18.2
                      /usr/local/bin/node
                      v12.18.2
                      /usr/local/bin/npm
                      6.14.5
                      nodejs:
                        Installiert:           12.18.2-1nodesource1
                        Installationskandidat: 12.18.2-1nodesource1
                        Versionstabelle:
                       *** 12.18.2-1nodesource1 100
                              100 /var/lib/dpkg/status
                           10.21.0-1nodesource1 500
                              500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                           10.21.0~dfsg-1~deb10u1+rpi1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      pi@raspberrypi:~ $ 
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @smarty15 last edited by

                        @smarty15 Node nicht richtig installiert.

                        Schau dich hier mal um:
                        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/3

                        1 Reply Last reply Reply Quote 0
                        • S
                          smarty15 last edited by

                          @Thomas-Braun

                          Ich bin mir das eben am ansehen und bin da noch nicht ganz sicher ob ich das richtig verstehe

                          in dem Kommando das ich da gesehen habe:

                          sudo rm /pfad/zu/der/falschen/datei
                          

                          Das muss ich wohl mit dem Pfad der bei mir ausgespuckt wird ersetzen?
                          Oder verstehe ich das falsch?

                          Also mit dem hier

                          /usr/bin/nodejs
                          v12.18.2
                          /usr/local/bin/node
                          v12.18.2
                          /usr/local/bin/npm
                          6.14.5
                          nodejs:
                            Installiert:           12.18.2-1nodesource1
                            Installationskandidat: 12.18.2-1nodesource1
                            Versionstabelle:
                           *** 12.18.2-1nodesource1 100
                                  100 /var/lib/dpkg/status
                               10.21.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                               10.21.0~dfsg-1~deb10u1+rpi1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          

                          Das der Code dann so aussieht

                          sudo rm /usr/bin/nodejs
                          

                          Oder hab ich das ganz falsch verstanden?

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

                            @smarty15 sagte in Alexa2.0 login nicht möglich:

                            /usr/local/bin/

                            Das ist der falsche Pfad. Also die Versionen von node und npm die dort liegen löschen.

                            sudo rm /usr/local/bin/node
                            sudo rm /usr/local/bin/npm
                            
                            1 Reply Last reply Reply Quote 0
                            • S
                              smarty15 last edited by

                              @Thomas-Braun

                              Ok das habe ich jetzt so gemacht

                              Hab ich jetzt zu schnell schon mit dem weiteren Befehl weitergefahren?

                              pi@raspberrypi:~ $ sudo rm /usr/local/bin/node
                              pi@raspberrypi:~ $ sudo rm /usr/local/bin/npm
                              pi@raspberrypi:~ $ sudo apt install nodejs --reinstall
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.       
                              Statusinformationen werden eingelesen.... Fertig
                              Erneute Installation von nodejs ist nicht möglich,
                              es kann nicht heruntergeladen werden.
                              Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                                rpi-eeprom-images
                              Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @smarty15 last edited by Thomas Braun

                                @smarty15 sagte in Alexa2.0 login nicht möglich:

                                Erneute Installation von nodejs ist nicht möglich, es kann nicht heruntergeladen werden.

                                Bist du im Netz mit der Kiste?

                                sudo apt update
                                sudo apt install nodejs --reinstall
                                
                                1 Reply Last reply Reply Quote 0
                                • S
                                  smarty15 last edited by

                                  Wie meinst du das jetzt?

                                  Der iobroker ist im Netz ja und der läuft
                                  hätte ich den vorher stoppen sollen?

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

                                    @smarty15
                                    Ja, den ioBroker könnte man vorher auch stoppen.

                                    iobroker stop
                                    sudo apt update
                                    sudo apt install nodejs --reinstall
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      smarty15 last edited by

                                      @Thomas-Braun

                                      Ok
                                      aber irgendwie denke ich das es nicht geklappt hat

                                      pi@raspberrypi:~ $ iobroker stop
                                      pi@raspberrypi:~ $ sudo apt update
                                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      OK:2 http://archive.raspberrypi.org/debian buster InRelease                   
                                      OK:3 https://deb.nodesource.com/node_10.x buster InRelease                    
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Alle Pakete sind aktuell.
                                      pi@raspberrypi:~ $ sudo apt install nodejs --reinstall
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.       
                                      Statusinformationen werden eingelesen.... Fertig
                                      Erneute Installation von nodejs ist nicht möglich,
                                      es kann nicht heruntergeladen werden.
                                      Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                                        rpi-eeprom-images
                                      Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                                      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                      pi@raspberrypi:~ $ 
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @smarty15 last edited by

                                        @smarty15 sagte in Alexa2.0 login nicht möglich:

                                        Erneute Installation von nodejs ist nicht möglich, es kann nicht heruntergeladen werden.

                                        apt policy nodejs
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          smarty15 last edited by

                                          @Thomas-Braun

                                          pi@raspberrypi:~ $ apt policy nodejs
                                          nodejs:
                                            Installiert:           12.18.2-1nodesource1
                                            Installationskandidat: 12.18.2-1nodesource1
                                            Versionstabelle:
                                           *** 12.18.2-1nodesource1 100
                                                  100 /var/lib/dpkg/status
                                               10.21.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                               10.21.0~dfsg-1~deb10u1+rpi1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                          pi@raspberrypi:~ $ 
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @smarty15 last edited by Thomas Braun

                                            @smarty15 Jaaaaaaaaaa, da hast du das falsche Repo drin.
                                            https://deb.nodesource.com/node_10.x
                                            muss
                                            https://deb.nodesource.com/node_12.x
                                            heißen.
                                            Pass deine nodesources.list an. Steht auch in der Anleitung drin, wie das geht.
                                            node12 hast du irgendwie von Hand in das System gewürgt. Da kommen auch die falschen Pfade dann her.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            663
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            alexa alexa 2 adapter alexa2 adapter login
                                            15
                                            90
                                            6323
                                            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