Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. NPM: 9.2.0 (10.2.3) "Einige Update verfügbar" Update?

    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: 9.2.0 (10.2.3) "Einige Update verfügbar" Update?

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

      @ravsu

      Danke für die Ausgabe ... dann ist alles klar , warum es nicht geht

      Aktualisiere erstmal :

      iob stop
      iob fix
      iob start
      

      dann

      iob nodejs-update
      
      R 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @raVsu last edited by

        @ravsu sagte in NPM: 9.2.0 (10.2.3) "Einige Update verfügbar" Update?:

        @homoran

        pi@iobroker:~$ iob nodejs-update
        iobroker nodejs-update [<major-version>]
        
        Upgrade the Node.JS installation to the current LTS
        
        Options:
          --help  Show help  [boolean]
        

        MOD-EDIT: Code in code-tags gesetzt!

        Das ist ein gutes Beispiel warum immer alles gezeigt werden muss!

        hier steht das alles drin
        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

        1 Reply Last reply Reply Quote 0
        • R
          raVsu @Glasfaser last edited by Homoran

          @glasfaser

          iob stop
          iob fix
          iob start
          

          dann

          iob nodejs-update
          

          durchgeführt

          ioBroker nodejs updater 2023-10-13
          
          Recommended nodejs-version is: 18.19.0
          Checking your installation now. Please be patient!
          
          Your current setup is:
          /usr/bin/nodejs         v18.19.0
          /usr/bin/node           v18.19.0
          /home/iobroker/.nodejs-update.sh: line 130: npm: command not found
          
          /home/iobroker/.nodejs-update.sh: line 131: npx: command not found
          
          /home/iobroker/.nodejs-update.sh: line 147: npm: command not found
          /home/iobroker/.nodejs-update.sh: line 148: npx: command not found
          
          *** nodejs is NOT correctly installed ***
          We found these nodejs versions available for installation:
          
          nodejs:
            Installed: 18.19.0+dfsg-6~deb12u1
            Candidate: 14.21.3-deb-1nodesource1
            Version table:
           *** 18.19.0+dfsg-6~deb12u1 500
                  500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages
                  100 /var/lib/dpkg/status
               18.13.0+dfsg1-1 500
                  500 http://deb.debian.org/debian bookworm/main arm64 Packages
               14.21.3-deb-1nodesource1 1001
                  500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages
          
          
          
          Your nodejs-Installation seems to be faulty. Shall we try to fix it?
          Press <y> to continue or any other key to quit
          
          Fixing your nodejs setup
          *** Deleting  ***
          rm: cannot remove '': No such file or directory
          *** Deleting  ***
          rm: cannot remove '': No such file or directory
          
          Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
          Nothing to do - Your version is the recommended one.
          
          You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands.
          Please DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation!
          

          MOD-EDIT: Code in code-tags gesetzt!

          jetzt wird folgendes angezeigt:
          4bdb81aa-b6c2-42e3-b19c-8cc9e0179a1d-image.png

          Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @raVsu last edited by

            @ravsu

            https://forum.iobroker.net/topic/71461/dfsg-nodejs-eingehandelt-hier-die-korrektur

            R 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @raVsu last edited by

              @ravsu
              bitte in code-tags setzen!
              bitte nicht nur selektierte Ausschnitte posten!

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

                @thomas-braun

                Danke für den Link.
                Bei dem Befehl

                sudo apt install nodejs=18.19.0-1nodesource1
                

                wird am ende eine Fehlermeldung geliefert:

                E: Version '18.19.0-1nodesource1' for 'nodejs' was not found
                
                pi@iobroker:~$ apt policy nodejs
                nodejs:
                  Installed: 18.19.0+dfsg-6~deb12u1
                  Candidate: 14.21.3-deb-1nodesource1
                  Version table:
                 *** 18.19.0+dfsg-6~deb12u1 500
                        500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages
                        100 /var/lib/dpkg/status
                     18.13.0+dfsg1-1 500
                        500 http://deb.debian.org/debian bookworm/main arm64 Packages
                     14.21.3-deb-1nodesource1 1001
                        500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages
                pi@iobroker:~$ echo -e "Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001" | sudo tee /etc/apt/preferences.d/nodejs.pref
                sudo apt update
                iob stop
                sudo apt remove npm
                sudo apt install nodejs=18.19.0-1nodesource1
                iob restart
                Package: nodejs
                Pin: origin deb.nodesource.com
                Pin-Priority: 1001
                Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
                Hit:2 http://deb.debian.org/debian bookworm InRelease
                Get:3 https://deb.nodesource.com/node_14.x bullseye InRelease [4586 B]
                Fetched 4586 B in 1s (4087 B/s)
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                Package 'npm' is not installed, so not removed
                The following packages were automatically installed and are no longer required:
                  distro-info-data eslint g++-10 giblib1 gyp handlebars javascript-common libauthen-sasl-perl libcbor0 libclone-perl libdata-dump-perl
                  libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl-mesa0 libegl1 libencode-locale-perl libevent-2.1-7
                  libfile-basedir-perl libfile-desktopentry-perl libfile-listing-perl libfile-mimeinfo-perl libfont-afm-perl libgbm1 libgl1
                  libgl1-mesa-dri libglapi-mesa libgles2 libglvnd0 libglx-mesa0 libglx0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl
                  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
                  libhttp-negotiate-perl libicu67 libio-html-perl libio-socket-ssl-perl libio-stringy-perl libipc-system-simple-perl libjs-async
                  libjs-events libjs-inherits libjs-is-typedarray libjs-prettify libjs-regenerate libjs-source-map libjs-sprintf-js
                  libjs-typedarray-to-buffer libjs-util libjsoncpp24 libldap-2.4-2 libllvm15 liblua5.1-0 liblwp-mediatypes-perl
                  liblwp-protocol-https-perl libmailtools-perl libmpdec3 libnet-dbus-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl
                  libnode-dev libnotify-bin libnotify4 libpcre16-3 libpcre2-posix2 libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl5.32
                  libpython3.9-minimal libpython3.9-stdlib libregexp-ipv6-perl libsensors-config libsensors5 libssl-dev libstdc++-10-dev libtevent0
                  libtie-ixhash-perl libtiff5 libtimedate-perl libtry-tiny-perl liburi-perl libuv1-dev libwayland-client0 libwayland-server0 libwebp6
                  libwww-perl libwww-robotrules-perl libx11-protocol-perl libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0
                  libxcb-shape0 libxcb-sync1 libxcb-xfixes0 libxcursor1 libxi6 libxkbfile1 libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl
                  libxmu6 libxpm4 libxrandr2 libxshmfence1 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libz3-4 linux-image-5.10.0-21-arm64
                  linux-image-5.10.0-23-arm64 linux-image-6.1.0-9-arm64 lua-bitop lua-cjson node-abbrev node-agent-base node-ajv node-ajv-keywords
                  node-ampproject-remapping node-ansi-escapes node-ansi-regex node-ansi-styles node-anymatch node-aproba node-archy
                  node-are-we-there-yet node-argparse node-arrify node-assert node-async node-async-each node-auto-bind
                  node-babel-helper-define-polyfill-provider node-babel-plugin-add-module-exports node-babel-plugin-lodash
                  node-babel-plugin-polyfill-corejs2 node-babel-plugin-polyfill-corejs3 node-babel-plugin-polyfill-regenerator node-babel7
                  node-babel7-runtime node-balanced-match node-base node-base64-js node-binary-extensions node-brace-expansion node-braces
                  node-browserslist node-builtins node-cacache node-cache-base node-camelcase node-caniuse-lite node-chalk node-chokidar node-chownr
                  node-chrome-trace-event node-ci-info node-cli-boxes node-cli-cursor node-cli-table node-cli-truncate node-cliui node-clone
                  node-clone-deep node-collection-visit node-color-convert node-color-name node-colors node-columnify node-commander node-commondir
                  node-concat-stream node-console-control-strings node-convert-source-map node-copy-concurrently node-core-js node-core-js-compat
                  node-core-js-pure node-core-util-is node-coveralls node-css-loader node-css-selector-tokenizer node-data-uri-to-buffer
                  node-debbundle-es-to-primitive node-debug node-decamelize node-decompress-response node-deep-equal node-deep-is node-defaults
                  node-define-properties node-define-property node-defined node-del node-delegates node-depd node-diff node-doctrine
                  node-electron-to-chromium node-encoding node-end-of-stream node-enhanced-resolve node-err-code node-errno node-error-ex
                  node-es-abstract node-es-module-lexer node-es6-error node-escape-string-regexp node-escodegen node-eslint-scope node-eslint-utils
                  node-eslint-visitor-keys node-espree node-esprima node-esquery node-esrecurse node-estraverse node-esutils node-events node-fancy-log
                  node-fast-deep-equal node-fast-levenshtein node-fetch node-file-entry-cache node-fill-range node-find-cache-dir node-find-up
                  node-flat-cache node-flatted node-for-in node-for-own node-foreground-child node-fs-readdir-recursive node-fs-write-stream-atomic
                  node-fs.realpath node-function-bind node-functional-red-black-tree node-gauge node-get-caller-file node-get-stream node-get-value
                  node-glob node-glob-parent node-globals node-globby node-got node-graceful-fs node-growl node-gyp node-has-flag node-has-unicode
                  node-has-value node-has-values node-hosted-git-info node-https-proxy-agent node-iconv-lite node-icss-utils node-ieee754 node-iferr
                  node-ignore node-imurmurhash node-indent-string node-inflight node-inherits node-ini node-interpret node-ip node-ip-regex
                  node-is-arrayish node-is-binary-path node-is-buffer node-is-descriptor node-is-extendable node-is-extglob node-is-glob node-is-number
                  node-is-path-cwd node-is-path-inside node-is-plain-obj node-is-plain-object node-is-primitive node-is-stream node-is-typedarray
                  node-is-windows node-isarray node-isexe node-isobject node-istanbul node-jest-debbundle node-jest-worker node-js-tokens node-js-yaml
                  node-jsesc node-json-buffer node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify
                  node-json5 node-jsonify node-jsonparse node-kind-of node-lcov-parse node-levn node-loader-runner node-locate-path node-lodash
                  node-lodash-packages node-log-driver node-lowercase-keys node-lru-cache node-make-dir node-map-visit node-memfs node-memory-fs
                  node-merge-stream node-micromatch node-mime node-mime-types node-mimic-response node-minimatch node-minimist node-minipass
                  node-mixin-deep node-mkdirp node-move-concurrently node-ms node-mute-stream node-n3 node-negotiator node-neo-async node-nopt
                  node-normalize-package-data node-normalize-path node-npm-bundled node-npm-package-arg node-npm-run-path node-npmlog node-object-assign
                  node-object-inspect node-object-visit node-once node-opener node-optimist node-optionator node-osenv node-p-cancelable node-p-limit
                  node-p-locate node-p-map node-parse-json node-pascalcase node-path-dirname node-path-exists node-path-is-absolute node-path-is-inside
                  node-path-type node-picocolors node-pify node-pkg-dir node-postcss node-postcss-modules-extract-imports node-postcss-modules-values
                  node-postcss-value-parser node-prelude-ls node-process-nextick-args node-progress node-promise-inflight node-promise-retry
                  node-promzard node-prr node-pump node-punycode node-quick-lru node-randombytes node-read node-read-package-json node-read-pkg
                  node-readable-stream node-readdirp node-rechoir node-regenerate node-regenerate-unicode-properties node-regenerator-runtime
                  node-regenerator-transform node-regexpp node-regexpu-core node-regjsgen node-regjsparser node-repeat-string node-require-directory
                  node-resolve node-resolve-cwd node-resolve-from node-restore-cursor node-resumer node-retry node-rimraf node-run-queue
                  node-safe-buffer node-schema-utils node-sellside-emitter node-semver node-serialize-javascript node-set-blocking
                  node-set-immediate-shim node-set-value node-shebang-command node-shebang-regex node-shell-quote node-signal-exit node-slash
                  node-slice-ansi node-source-list-map node-source-map node-source-map-support node-spdx-correct node-spdx-exceptions
                  node-spdx-expression-parse node-spdx-license-ids node-sprintf-js node-ssri node-stack-utils node-string-decoder node-string-width
                  node-strip-ansi node-strip-bom node-strip-json-comments node-supports-color node-tap node-tap-mocha-reporter node-tap-parser
                  node-tapable node-tape node-tar node-terser node-text-table node-through node-time-stamp node-to-fast-properties node-to-regex-range
                  node-tslib node-type-check node-typedarray node-typedarray-to-buffer node-unicode-canonical-property-names-ecmascript
                  node-unicode-match-property-ecmascript node-unicode-match-property-value-ecmascript node-unicode-property-aliases-ecmascript
                  node-union-value node-unique-filename node-unset-value node-uri-js node-util node-util-deprecate node-uuid node-v8-compile-cache
                  node-v8flags node-validate-npm-package-license node-validate-npm-package-name node-watchpack node-wcwidth.js node-webassemblyjs
                  node-webpack-sources node-which node-wide-align node-widest-line node-wordwrap node-wrap-ansi node-wrappy node-write
                  node-write-file-atomic node-ws node-y18n node-yallist node-yaml node-yargs node-yargs-parser perl-modules-5.32 perl-openssl-defaults
                  pigz python3-pkg-resources python3-six python3.9 python3.9-minimal terser webpack x11-utils x11-xserver-utils x11proto-xext-dev
                  xdg-utils zutty
                Use 'sudo apt autoremove' to remove them.
                0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                Package nodejs is not available, but is referred to by another package.
                This may mean that the package is missing, has been obsoleted, or
                is only available from another source
                However the following packages replace it:
                  nodejs-doc
                
                E: Version '18.19.0-1nodesource1' for 'nodejs' was not found
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @raVsu last edited by

                  @ravsu

                  Da fehlt die nodesource.list

                  iob nodejs-update 18
                  

                  legt die aber eigentlich an.

                  Zuvor

                  sudo apt autoremove
                  sudo apt remove node-* nodejs-doc
                  

                  dann

                  iob nodejs-update 18
                  sudo apt install nodejs=18.19.0-1nodesource1
                  

                  sollte zu einer richtigen Installation führen.

                  R 1 Reply Last reply Reply Quote 1
                  • R
                    raVsu @Homoran last edited by

                    @homoran
                    danke für den Hinweis, habe etwas gebraucht um herauszufinden wie die code-tags zu setzen sind 🙂

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @raVsu last edited by

                      @ravsu sagte in NPM: 9.2.0 (10.2.3) "Einige Update verfügbar" Update?:

                      habe etwas gebraucht um herauszufinden

                      das und noch viel mehr nützliches steht hier
                      https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

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

                        @thomas-braun
                        Vielen, vielen Dank. Jetzt schein alles upgedatet zu sein. 😃

                        Besseren support kann man nicht haben.

                        Danke an alle.
                        f94820d5-56b9-414d-8f33-62857b367088-image.png

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

                          @ravsu sagte in NPM: 9.2.0 (10.2.3) "Einige Update verfügbar" Update?:

                          Jetzt schein alles upgedatet zu sein.

                          Und was sagt ein erneutes

                          iob nodejs-update
                          

                          Und ein

                          apt policy nodejs
                          

                          liefert?

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

                            @thomas-braun said in NPM: 9.2.0 (10.2.3) "Einige Update verfügbar" Update?:

                            iob nodejs-update

                            Alles bestens 😄

                            ioBroker nodejs updater 2023-10-13
                            
                            Recommended nodejs-version is: 18.19.0
                            Checking your installation now. Please be patient!
                            
                            Your current setup is:
                            /usr/bin/nodejs         v18.19.0
                            /usr/bin/node           v18.19.0
                            /usr/bin/npm            10.2.3
                            /usr/bin/npx            10.2.3
                            /usr/bin/corepack       0.22.0
                            
                            We found these nodejs versions available for installation:
                            
                            nodejs:
                              Installed: 18.19.0-1nodesource1
                              Candidate: 18.19.0-1nodesource1
                              Version table:
                                 18.19.0+dfsg-6~deb12u1 500
                                    500 http://security.debian.org/debian-security bookworm-security/main arm64 Packages
                             *** 18.19.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                    100 /var/lib/dpkg/status
                                 18.18.2-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.18.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.18.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.17.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.17.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.16.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.16.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.15.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.14.2-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.14.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.14.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.13.0+dfsg1-1 500
                                    500 http://deb.debian.org/debian bookworm/main arm64 Packages
                                 18.13.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.12.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.11.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.10.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.9.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.9.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.8.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.7.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.6.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.5.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.4.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.3.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.2.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.1.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                                 18.0.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                            
                            
                            
                            Nothing to do - Your installation is using the correct paths.
                            Nothing to do - Your version is the recommended one.
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @raVsu last edited by

                              @ravsu

                              Ja, jetzt passt es.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              474
                              Online

                              31.9k
                              Users

                              80.2k
                              Topics

                              1.3m
                              Posts

                              6
                              30
                              1628
                              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