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.
    • Negalein
      Negalein Global Moderator @Thomas Braun last edited by

      @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

      iobroker stop
      sudo -u iobroker rm -rf /opt/iobroker/node_modules/.follow-redirects-vRGWWNjd
      sudo -u iobroker rm /opt/iobroker/package-lock.json
      iobroker start

      und dann wieder iobroker add icons-open-icon-library-png auto --host ioBroker --debug?
      Das liefert wieder

      nega@ioBroker:/opt/iobroker$ iobroker add icons-open-icon-library-png auto --host ioBroker --debug
      NPM version: 8.11.0
      Installing https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master... (System call)
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/iobroker.ical
      npm ERR! dest /opt/iobroker/node_modules/.iobroker.ical-rrBOhFW0
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.ical' -> '/opt/iobroker/node_modules/.iobroker.ical-rrBOhFW0'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-06-28T16_12_39_535Z-debug-0.log
      host.ioBroker Cannot install https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master: 217
      nega@ioBroker:/opt/iobroker$
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Negalein last edited by

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

        /opt/iobroker/node_modules/.iobroker.ical-rrBOhFW0

        Dann lösch auch das Verzeichnis.

        Negalein 2 Replies Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @Thomas Braun last edited by

          @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

          Dann lösch auch das Verzeichnis.

          Danke, jetzt laufen wieder alle Updates!

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

            @negalein Oh, magst du mal

            iobroker update -i
            

            und

            cd /opt/iobroker 
            npm ls
            

            zeigen?

            Negalein 1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @Thomas Braun last edited by

              @thomas-braun sagte in Kein Update mehr möglich mit Node.js 16:

              iobroker update -i

              nega@ioBroker:/opt/iobroker$ iobroker update -i
              Used repository: Beta (latest)
              Adapter    "admin"        : 6.1.6    , installed 5.4.9  [Updatable]
              Adapter    "alexa-timer-vis": 0.1.13 , installed 0.1.13
              Adapter    "alexa2"       : 3.12.0   , installed 3.12.0
              Adapter    "alias-manager": 1.2.6    , installed 1.2.6
              Adapter    "backitup"     : 2.4.9    , installed 2.4.9
              Adapter    "birthdays"    : 2.1.0    , installed 2.1.0
              Adapter    "bring"        : 1.8.1    , installed 1.8.1
              Adapter    "cloud"        : 4.1.2    , installed 4.1.2
              Adapter    "daswetter"    : 3.1.3    , installed 3.1.3
              Adapter    "denon"        : 1.13.4   , installed 1.13.4
              Adapter    "devices"      : 1.0.12   , installed 1.0.12
              Adapter    "discovery"    : 3.0.5    , installed 3.0.5
              Adapter    "doorbird"     : 0.1.5    , installed 0.1.5
              Adapter    "dwd"          : 2.8.3    , installed 2.8.3
              Adapter    "email"        : 1.1.3    , installed 1.1.3
              Adapter    "eventlist"    : 1.0.1    , installed 1.0.1
              Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
              Adapter    "flot"         : 1.11.0   , installed 1.11.0
              Adapter    "fronius"      : 1.1.3    , installed 1.1.6
              Adapter    "harmony"      : 1.2.2    , installed 1.2.2
              Adapter    "history"      : 2.1.7    , installed 2.1.7
              Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
              Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
              Adapter    "hs100"        : 2.0.7    , installed 2.1.2
              Adapter    "hue"          : 3.7.0    , installed 3.7.0
              Adapter    "ical"         : 1.13.1   , installed 1.13.1
              Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
              Adapter    "icons-fatcow-hosting": 0.1.0, installed 0.1.0
              Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
              Adapter    "icons-material-png": 0.1.0, installed 0.1.0
              Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
              Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
              Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
              Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.2
              Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
              Adapter    "influxdb"     : 3.1.7    , installed 3.1.7
              Adapter    "info"         : 1.9.19   , installed 1.9.19
              Adapter    "iot"          : 1.11.8   , installed 1.11.8
              Adapter    "iqontrol"     : 2.0.1    , installed 2.0.1
              Adapter    "jarvis"       : 3.0.11   , installed 3.1.0-alpha.23
              Adapter    "javascript"   : 5.7.0    , installed 5.7.0
              Controller "js-controller": 4.0.23   , installed 4.0.23
              Adapter    "linkeddevices": 1.5.5    , installed 1.5.5
              Adapter    "linux-control": 1.1.5    , installed 1.1.5
              Adapter    "logparser"    : 1.1.0    , installed 1.1.0
              Adapter    "meteoalarm"   : 2.1.5    , installed 2.1.5
              Adapter    "mihome"       : 1.4.0    , installed 1.4.0
              Adapter    "mytime"       : 0.7.12   , installed 0.7.12
              Adapter    "nina"         : 0.0.25   , installed 0.0.25
              Adapter    "node-red"     : 3.3.1    , installed 3.3.1
              Adapter    "nut"          : 1.5.1    , installed 1.5.1
              Adapter    "octoprint"    : 4.0.0    , installed 4.0.0
              Adapter    "parser"       : 1.1.8    , installed 1.1.8
              Adapter    "pegelalarm"   : 1.2.8    , installed 1.2.8
              Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
              Adapter    "ping"         : 1.5.3    , installed 1.5.3
              Adapter    "plex"         : 0.9.1    , installed 0.9.1
              Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
              Adapter    "proxmox"      : 1.3.4    , installed 1.3.4
              Adapter    "proxy"        : 1.3.1    , installed 1.3.1
              Adapter    "puppeteer"    : 0.2.1    , installed 0.2.1
              Adapter    "seq"          : 0.2.10   , installed 0.2.10
              Adapter    "shelly"       : 5.3.2    , installed 5.3.2
              Adapter    "shuttercontrol": 1.4.14  , installed 1.4.14
              Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
              Adapter    "snmp"         : 1.0.0    , installed 1.0.0
              Adapter    "socketio"     : 6.1.7    , installed 6.1.7
              Adapter    "sourceanalytix": 0.4.14  , installed 0.4.14
              Adapter    "synology"     : 2.1.8    , installed 2.1.8
              Adapter    "telegram"     : 1.13.0   , installed 1.13.0
              Adapter    "trashschedule": 2.0.3    , installed 2.0.3
              Adapter    "unifi"        : 0.6.1    , installed 0.6.1
              Adapter    "vis"          : 1.4.15   , installed 1.4.15
              Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
              Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
              Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
              Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
              Adapter    "vis-google-fonts": 1.0.3 , installed 1.0.3
              Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
              Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
              Adapter    "vis-icontwo"  : 0.87.0   , installed 0.87.0
              Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
              Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
              Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
              Adapter    "vis-map"      : 1.0.4    , installed 1.0.4
              Adapter    "vis-material" : 0.1.3    , installed 0.1.3
              Adapter    "vis-materialdesign": 0.5.9, installed 0.5.5 [Updatable]
              Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
              Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
              Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
              Adapter    "vis-timeandweather": 1.1.7, installed 1.1.7
              Adapter    "vis-weather"  : 2.5.5    , installed 2.5.5
              Adapter    "weatherunderground": 3.4.2, installed 3.4.2
              Adapter    "web"          : 5.2.3    , installed 5.2.3
              Adapter    "web-speedy"   : 0.2.0    , installed 0.2.0
              Adapter    "wireguard"    : 1.3.1    , installed 1.2.1  [Updatable]
              Adapter    "ws"           : 2.1.2    , installed 2.1.2
              

              npm ls

              nega@ioBroker:/opt/iobroker$ npm ls
              [sudo] password for nega:
              iobroker.inst@3.0.0 /opt/iobroker
              +-- iobroker.admin@5.4.9
              +-- iobroker.alexa-timer-vis@0.1.13
              +-- iobroker.alexa2@3.12.0
              +-- iobroker.alias-manager@1.2.6
              +-- iobroker.backitup@2.4.9
              +-- iobroker.birthdays@2.1.0
              +-- iobroker.bring@1.8.1
              +-- iobroker.cloud@4.1.2
              +-- iobroker.daswetter@3.1.3
              +-- iobroker.denon@1.13.4
              +-- iobroker.devices@1.0.12
              +-- iobroker.discovery@3.0.5
              +-- iobroker.doorbird@0.1.5
              +-- iobroker.dwd@2.8.3
              +-- iobroker.email@1.1.3
              +-- iobroker.enigma2@1.3.3 (git+ssh://git@github.com/Matten-Matten/ioBroker.enigma2.git#975e828ab4595b81333bcca5b32af3cbf3c287bc)
              +-- iobroker.eventlist@1.0.1
              +-- iobroker.feiertage@1.1.0
              +-- iobroker.flot@1.11.0
              +-- iobroker.fronius-solarweb@0.0.1 (git+ssh://git@github.com/TA2k/ioBroker.fronius-solarweb.git#bf873fc05ce1eecdff2aff880793b3e9f0a6c417)
              +-- iobroker.fronius@1.1.6 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.fronius.git#c644a95d480403a1ef277e822df6232ffc66daf5)
              +-- iobroker.harmony@1.2.2
              +-- iobroker.history@2.1.7
              +-- iobroker.hm-rega@3.0.40
              +-- iobroker.hm-rpc@1.15.12
              +-- iobroker.hs100@2.1.2 (git+ssh://git@github.com/arteck/ioBroker.hs100.git#ee2cfded55b787bcc5431f7b0d1ba7e31117aace)
              +-- iobroker.hue@3.7.0
              +-- iobroker.ical@1.13.1
              +-- iobroker.icons-addictive-flavour-png@0.1.0
              +-- iobroker.icons-fatcow-hosting@0.1.0
              +-- iobroker.icons-icons8@0.0.1
              +-- iobroker.icons-material-png@0.1.0
              +-- iobroker.icons-material-svg@0.1.0
              +-- iobroker.icons-mfd-png@1.1.0
              +-- iobroker.icons-mfd-svg@1.1.0
              +-- iobroker.icons-open-icon-library-png@0.1.2
              +-- iobroker.icons-ultimate-png@1.0.1
              +-- iobroker.influxdb@3.1.7
              +-- iobroker.info@1.9.19
              +-- iobroker.iot@1.11.8
              +-- iobroker.iqontrol@2.0.1
              +-- iobroker.jarvis@3.1.0-alpha.23 (git+ssh://git@github.com/Zefau/ioBroker.jarvis.git#133d68fd7f5d19e51492cca35f4d5bb9351a505c)
              +-- iobroker.javascript@5.7.0
              +-- iobroker.js-controller@4.0.23
              +-- iobroker.linkeddevices@1.5.5
              +-- iobroker.linux-control@1.1.5
              +-- iobroker.logparser@1.1.0 (git+ssh://git@github.com/Mic-M/ioBroker.logparser.git#f767910b12124a39c65132d4f835f71e9c9a03a8)
              +-- iobroker.meteoalarm@2.1.5
              +-- iobroker.mihome@1.4.0
              +-- iobroker.mytime@0.7.12
              +-- iobroker.nina@0.0.25
              +-- iobroker.node-red@3.3.1
              +-- iobroker.nut@1.5.1
              +-- iobroker.octoprint@4.0.0 (git+ssh://git@github.com/klein0r/ioBroker.octoprint.git#43f169d03ec623c8bb08ff16f3131ff6be363d09)
              +-- iobroker.parser@1.1.8
              +-- iobroker.pegelalarm@1.2.8 (git+ssh://git@github.com/simatec/ioBroker.pegelalarm.git#46029e9011909fcbbcf2e37394a5efdfbe9ae1cd)
              +-- iobroker.pi-hole@1.3.4
              +-- iobroker.ping@1.5.3
              +-- iobroker.plex@0.9.1
              +-- iobroker.pollenflug@1.0.6
              +-- iobroker.proxmox@1.3.4
              +-- iobroker.proxy@1.3.1
              +-- iobroker.puppeteer@0.2.1
              +-- iobroker.seq@0.2.10
              +-- iobroker.shelly@5.3.2
              +-- iobroker.shuttercontrol@1.4.14
              +-- iobroker.simple-api@2.7.0
              +-- iobroker.snmp@1.0.0
              +-- iobroker.socketio@6.1.7
              +-- iobroker.sourceanalytix@0.4.14
              +-- iobroker.synology@2.1.8
              +-- iobroker.telegram@1.13.0
              +-- iobroker.trashschedule@2.0.3
              +-- iobroker.unifi@0.6.1
              +-- iobroker.vis-bars@0.1.4
              +-- iobroker.vis-canvas-gauges@0.1.5
              +-- iobroker.vis-colorpicker@1.2.0
              +-- iobroker.vis-fancyswitch@1.1.0
              +-- iobroker.vis-google-fonts@1.0.3
              +-- iobroker.vis-history@1.0.0
              +-- iobroker.vis-hqwidgets@1.2.0
              +-- iobroker.vis-icontwo@0.87.0
              +-- iobroker.vis-inventwo@3.3.3
              +-- iobroker.vis-jqui-mfd@1.0.12
              +-- iobroker.vis-justgage@1.0.2
              +-- iobroker.vis-knob@0.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.vis-knob.git#a1dc9e3758987a921c893c0d63497e742d5c3526)
              +-- iobroker.vis-map@1.0.4
              +-- iobroker.vis-material@0.1.3
              +-- iobroker.vis-materialdesign@0.5.5
              +-- iobroker.vis-metro@1.2.0
              +-- iobroker.vis-players@0.1.6
              +-- iobroker.vis-rgraph@0.0.2
              +-- iobroker.vis-timeandweather@1.1.7
              +-- iobroker.vis-weather@2.5.5
              +-- iobroker.vis@1.4.15
              +-- iobroker.weatherunderground@3.4.2
              +-- iobroker.web-speedy@0.2.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.web-speedy.git#294107d34a0e873959795bbc00c09e9def6e3a42)
              +-- iobroker.web@5.2.3
              +-- iobroker.wireguard@1.2.1
              `-- iobroker.ws@2.1.2
              
              tobasium 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            936
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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