Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. NPM Problem nach Upgrade auf Node 18

    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

    NPM Problem nach Upgrade auf Node 18

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

      Nach Upgrade von Node 16 auf Node 18 (mit dem node-update Skript hier aus dem Forum), reagiert npm nicht mehr.
      Leider ist nicht wirklich ein Fehler zu sehen. Der Vorgang bleibt einfach stehen. Sowohl über Admin GUI als auch über CLI ist nichts zu sehen.

      z.B.:

      johannes@johannesberry:/opt/iobroker $ iobroker upgrade snmp
      
      This upgrade of "snmp" will introduce the following changes:
      ==========================================================================
      -> 3.1.0:
      Requirements have been updated. Adapter requires node.js 18 or newer now
      Packages have been update to cleanup open dependabot PRs
      
      -> 3.0.0:
      updated packages. Minimal node.js version is 16
      ==========================================================================
      
      BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
      Would you like to upgrade snmp from @2.4.11 to @3.1.0 now? [(y)es, (n)o]: y
      Update snmp from @2.4.11 to @3.1.0
      NPM version: 9.8.1
      Installing iobroker.snmp@3.1.0... (System call)
      

      Dieser Zustand bleibt, bis man abbricht.

      ioBroker nodejs fixer 2023-10-09
      You requested to intall latest version from nodejs v18 tree.
      
      Your current setup is:
      /usr/bin/nodejs 	v18.18.2
      /usr/bin/node 		v18.18.2
      /usr/bin/npm 		9.8.1
      /usr/bin/npx 		9.8.1
      /usr/bin/corepack 	0.19.0
      
      We found these nodejs versions available for installation:
      
      nodejs:
        Installed: 18.18.2-1nodesource1
        Candidate: 18.18.2-1nodesource1
        Version table:
       *** 18.18.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
              100 /var/lib/dpkg/status
           18.18.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.17.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           10.24.0~dfsg-1~deb10u3 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      
      Nothing to do - Your installation is using the correct paths.
      
      You are running nodejs v18.18.2. Do you want to install latest version from nodejs v.18 tree?
      
      Press <y> to continue or any other key to quit
      
      Systemdata
      Hardwaresystem: Pi4
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Raspbian 10
      Node-Version: 18.18.2
      Nodejs-Version: 18.18.2
      NPM-Version: 9.8.1
      Thomas Braun haselchen 3 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @jroegner last edited by

        @jroegner sagte in NPM Problem nach Upgrade auf Node 18:

        iobroker update
        iobroker upgrade snmp --debug
        
        jroegner 1 Reply Last reply Reply Quote 0
        • jroegner
          jroegner @Thomas Braun last edited by

          @thomas-braun

          Leider genau das gleiche Problem. Kein weiterer Output zu sehen:

          johannes@johannesberry:/opt/iobroker $ iobroker upgrade snmp --debug
          
          This upgrade of "snmp" will introduce the following changes:
          ==========================================================================
          -> 3.1.0:
          Requirements have been updated. Adapter requires node.js 18 or newer now
          Packages have been update to cleanup open dependabot PRs
          
          -> 3.0.0:
          updated packages. Minimal node.js version is 16
          ==========================================================================
          
          BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
          Would you like to upgrade snmp from @2.4.11 to @3.1.0 now? [(y)es, (n)o]: y
          Update snmp from @2.4.11 to @3.1.0
          host.johannesberry Adapter "system.adapter.snmp.0" is stopped.
          NPM version: 9.8.1
          Installing iobroker.snmp@3.1.0... (System call)
          
          
          1 Reply Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @jroegner last edited by

            @jroegner

            Das alleine wird nicht reichen.
            Dein OS ist komplett tot.
            Da bekommst du demnächst noch mehr Probleme.

            Zieh es auf Bullseye hoch oder gleich auf Bookworm.

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

              @jroegner sagte in NPM Problem nach Upgrade auf Node 18:

              Raspbian 10

              @haselchen Stimmt, hatte ich gerade erst gesehen...

              @jroegner System auf Stand bringen. Raspberry OS 12 'Bookworm' ist aktuell.
              Das muss aber aufgrund der vielen Änderungen besser von Null an neuaufgesetzt werden.
              Dann in der 64bit-Version.

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

                @thomas-braun Vielen Dank, werde ich erstmal umsetzen.
                Viele Grüße

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

                Support us

                ioBroker
                Community Adapters
                Donate

                961
                Online

                31.8k
                Users

                80.0k
                Topics

                1.3m
                Posts

                3
                6
                215
                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