Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kein Update mehr möglich mit Node.js 16

    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

    Kein Update mehr möglich mit Node.js 16

    This topic has been deleted. Only users with topic management privileges can see it.
    • tobasium
      tobasium @Negalein last edited by tobasium

      hi zusammen, also ich habe auch probleme sobald ich npm auf Version 8 hab geht bei mir kein down oder update mehr. Ich blick auch ehrlich gesagt nicht mehr durch. Wie ich ran gehen soll oder nicht hab den thread jetzt mehrfach gelesen aber irgendwie bin ich raus.

      Kann jemand das nochmal mit mir durchkauen // Iobroker läuft im docker auf einer synology // buanet image

      npm ERR! code 128
      npm ERR! An unknown git error occurred
      npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/MeisterTR/syno.git
      npm ERR! ssh -oStrictHostKeyChecking=accept-new: 1: ssh: not found
      npm ERR! fatal: Could not read from remote repository.
      npm ERR! 
      npm ERR! Please make sure you have the correct access rights
      npm ERR! and the repository exists.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2022-07-10T18_36_38_660Z-debug-0.log
      
      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @tobasium last edited by

        @tobasium

        Zeige mal als gesamtes ..

        npm ls | grep -E 'github.com|ERR'
        

        da du auch hier im Thread Probleme mit anderen Adaptern hast

        https://forum.iobroker.net/topic/55730/iobroker-probleme-mit-npm-8-11-0-nodejs

        tobasium 1 Reply Last reply Reply Quote 0
        • tobasium
          tobasium @Glasfaser last edited by

          @glasfaser sagte in Kein Update mehr möglich mit Node.js 16:

          npm ls | grep -E 'github.com|ERR'

          Also ich hab das Ding glaub komplett gekillt das ist nur noch rot. vorher kam da mal gar nichts

          npm error.txt

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

            @glasfaser ich bin jetzt nochmal auf 6 zurück, damit kann ich auch wieder Pakete updaten. Aber das ist halt nicht die Lösung

            sudo npm install -g npm@6

            dan npm prune

            root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
            sudo: unable to resolve host iobroker: Name or service not known
            npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0
            npm ERR! extraneous: error-ex /opt/iobroker/node_modules/error-ex
            npm ERR! error in /opt/iobroker/node_modules/error-ex: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/error-ex/package.json'
            npm ERR! extraneous: iobroker.javascript /opt/iobroker/node_modules/iobroker.javascript
            npm ERR! error in /opt/iobroker/node_modules/iobroker.javascript: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/package.json'
            npm ERR! extraneous: utile /opt/iobroker/node_modules/utile
            npm ERR! error in /opt/iobroker/node_modules/utile: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json'
            npm ERR! extraneous: zigbee-herdsman /opt/iobroker/node_modules/zigbee-herdsman
            npm ERR! error in /opt/iobroker/node_modules/zigbee-herdsman: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman/package.json'
            npm ERR! extraneous: zigbee-herdsman-converters /opt/iobroker/node_modules/zigbee-herdsman-converters
            npm ERR! error in /opt/iobroker/node_modules/zigbee-herdsman-converters: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/package.json'
            
            
            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @tobasium last edited by

              @tobasium

              in deiner Liste mit NodeJS 16 ,

              npm ERR! invalid: iobroker.admin@5.3.8 /opt/iobroker/node_modules/iobroker.admin
              npm ERR! invalid: iobroker.backitup@2.4.9 /opt/iobroker/node_modules/iobroker.backitup
              npm ERR! invalid: iobroker.discovery@3.0.3 /opt/iobroker/node_modules/iobroker.discovery
              npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
              

              Versuche mal

              iobroker upgrade admin@5.3.8
              iobroker upgrade backitup@2.4.9
              iobroker upgrade discovery@3.0.3
              iobroker upgrade js-controller@4.0.23
              

              die extraneous mit

              npm prune
              

              .

              sudo npm install -g npm@6

              die Frage wäre auch durch dein hin und her wechseln mit den Versionen ob die 16 überhaupt sauber ist .

              sudo ln -s /usr/bin/node /usr/bin/nodejs
              
              uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              
              tobasium 1 Reply Last reply Reply Quote 0
              • tobasium
                tobasium @Glasfaser last edited by

                @glasfaser sagte in Kein Update mehr möglich mit Node.js 16:

                uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                x86_64
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v16.16.0
                v16.16.0
                sudo: unable to resolve host iobroker: Name or service not known
                6.14.17
                root
                /opt/iobroker
                sudo: unable to resolve host iobroker: Name or service not known
                Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                Hit:2 http://deb.debian.org/debian bullseye InRelease                                
                Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                        
                Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease                        
                Reading package lists... Done                                  
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                nodejs:
                  Installed: 16.16.0-deb-1nodesource1
                  Candidate: 16.16.0-deb-1nodesource1
                  Version table:
                 *** 16.16.0-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                        100 /var/lib/dpkg/status
                     12.22.12~dfsg-1~deb11u1 500
                        500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                     12.22.5~dfsg-2~11u1 500
                        500 http://deb.debian.org/debian bullseye/main amd64 Packages
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @tobasium last edited by

                  @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                  v16.16.0

                  6.14.17

                  Das passt nicht , zu 16 soll 8 ... sein !!!

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

                    @glasfaser

                    ja ich bin gestern nochmal auf die 6 gegangen. Da nur so die Adpter updates liefen. Bin jetzt wieder auf 8

                    root@iobroker:/opt/iobroker# iobroker upgrade js-controller@4.0.23
                    Cannot update js-controller using this command. Please use "iobroker upgrade self" instead!

                    root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
                    sudo: unable to resolve host iobroker: Name or service not known
                    npm ERR! code ELSPROBLEMS
                    npm ERR! extraneous: error-ex@ /opt/iobroker/node_modules/error-ex
                    npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
                    npm ERR! extraneous: utile@ /opt/iobroker/node_modules/utile
                    npm ERR! extraneous: zigbee-herdsman-converters@ /opt/iobroker/node_modules/zigbee-herdsman-converters
                    npm ERR! extraneous: zigbee-herdsman@ /opt/iobroker/node_modules/zigbee-herdsman
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T06_51_44_458Z-debug-0.log
                    
                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @tobasium last edited by

                      @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                      ja ich bin gestern nochmal auf die 6 gegangen. Da nur so die Adpter updates liefen. Bin jetzt wieder auf 8

                      Mit NPM 8 auf NPM 6 zu Nodejs 18 Spielt man nicht bzw. die passen nicht zusammen !

                      Nodejs 14 mit NPM 6 passt nur zusammen

                      Cannot update js-controller using this command.

                      pkill -u iobroker
                      iobroker upgrade
                      iobroker upgrade self
                      

                      dann Container neu starten

                      tobasium 1 Reply Last reply Reply Quote 0
                      • tobasium
                        tobasium @Glasfaser last edited by

                        @glasfaser hab ich gemacht.

                        npm ls | grep -E 'github.com|ERR'

                        root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
                        sudo: unable to resolve host iobroker: Name or service not known
                        npm ERR! code ELSPROBLEMS
                        npm ERR! extraneous: error-ex@ /opt/iobroker/node_modules/error-ex
                        npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
                        npm ERR! extraneous: utile@ /opt/iobroker/node_modules/utile
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T07_23_35_248Z-debug-0.log
                        
                        Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @tobasium last edited by Thomas Braun

                          @tobasium

                          Lösch die Datei /opt/iobroler/package-lock.json
                          Backup haben zahlt sich aus.

                          tobasium 1 Reply Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @tobasium last edited by

                            @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                            @glasfaser hab ich gemacht.

                            Was ist mit Nodejs / NPM , hast du es jetzt geändert und auch aktualisiert .!

                            tobasium 1 Reply Last reply Reply Quote 0
                            • tobasium
                              tobasium @Glasfaser last edited by

                              @glasfaser

                              root@iobroker:/opt/iobroker# uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              x86_64
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v16.16.0
                              v16.16.0
                              sudo: unable to resolve host iobroker: Name or service not known
                              8.13.2
                              root
                              /opt/iobroker
                              sudo: unable to resolve host iobroker: Name or service not known
                              Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                              Hit:2 http://deb.debian.org/debian bullseye InRelease                                
                              Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                        
                              Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease                        
                              Reading package lists... Done                                  
                              Building dependency tree... Done
                              Reading state information... Done
                              All packages are up to date.
                              nodejs:
                                Installed: 16.16.0-deb-1nodesource1
                                Candidate: 16.16.0-deb-1nodesource1
                                Version table:
                               *** 16.16.0-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                                      100 /var/lib/dpkg/status
                                   12.22.12~dfsg-1~deb11u1 500
                                      500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                                   12.22.5~dfsg-2~11u1 500
                                      500 http://deb.debian.org/debian bullseye/main amd64 Packages
                              
                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @tobasium last edited by Glasfaser

                                @thomas-braun

                                v16.16.0
                                8.13.2

                                Er hat immer mit NPM gespielt , bin gerade unterwegs , kannst du bitte nachschauen ... ich meine die 16.16.0 ist nicht aktuell.

                                EDIT
                                8.13.2 ist doch falsch

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

                                  @glasfaser

                                  Container und dann noch von Hand in den Paketen rumpfuschen ist genau meine bevorzugte Konstellation ...

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

                                    @thomas-braun hab ich gemacht, habe auch ein backup

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

                                      @tobasium

                                      iobroker restart
                                      

                                      gemacht?

                                      tobasium 2 Replies Last reply Reply Quote 0
                                      • tobasium
                                        tobasium @Thomas Braun last edited by tobasium

                                        @thomas-braun ich hab jetzt den ganzen container neu gestartet

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

                                          @thomas-braun also was mir noch auffällt ich komme mit npm prune auch nicht weiter gefühlt soll ich 100 Ordner umbennen. Ich verzweifel da echt dran:

                                          root@iobroker:/opt/iobroker# npm ls | grep -E 'github.com|ERR'
                                          sudo: unable to resolve host iobroker: Name or service not known
                                          npm ERR! code ELSPROBLEMS
                                          npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
                                          npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
                                          npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
                                          npm ERR! extraneous: coffee-compiler@0.3.2 /opt/iobroker/node_modules/coffee-compiler
                                          npm ERR! extraneous: coffee-script@1.12.7 /opt/iobroker/node_modules/coffee-script
                                          npm ERR! extraneous: error-ex@ /opt/iobroker/node_modules/error-ex
                                          npm ERR! invalid: iobroker.js-controller@4.0.23 /opt/iobroker/node_modules/iobroker.js-controller
                                          npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
                                          npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                                          npm ERR! extraneous: utile@ /opt/iobroker/node_modules/utile
                                          npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
                                          npm ERR! extraneous: vm2@3.9.10 /opt/iobroker/node_modules/vm2
                                          npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /opt/iobroker/.npm/_logs/2022-07-11T08_37_11_257Z-debug-0.log
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @tobasium last edited by

                                            @tobasium sagte in Kein Update mehr möglich mit Node.js 16:

                                            gefühlt soll ich 100 Ordner umbennen.

                                            Nicht umbenennen, löschen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            847
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            node js
                                            16
                                            335
                                            35364
                                            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