Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. NPM Problem

    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

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

      @rich90 sagte in NPM Problem:

      Egal was ich versuche zu installieren (neuer Adapter, update eines alten Adapters, downgrade des JS-controllers) alles führt zu den oben genannten Fehlern.

      Ich denke mal du installierst dir willkürliches in ioBroker alles rein!?

      Js-Controller 3.3.8

      ist Beta und Aktuell ist 3.3.14 .
      Bist du Beta Tester !?

      @rich90 sagte in NPM Problem:

      io_ohne_ordner.JPG

      Was zu machen ist steht im Log .Die Datei liegt ausserhalb und kann nicht gelöscht werden .
      Lösche sie manuell .

      Zeige mal :

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
      iobroker update -i
      iobroker list instances
      iobroker list adapters
      iobroker version
      

      aber bitte in </> Code-Tags , keine Screenshots

      R 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Rich90 last edited by

        @rich90 sagte in NPM Problem:

        habe nunb auch den angegebenen Ordner gelöscht

        welchen Ordner und wo?

        anhand deinem npm ERR hab ich bei mir mal nachgesehen, da gibt es dort kein node-gyp, weder
        .../.bin/node-gyp
        noch
        ...node_modules/node-gyp

        bei mir gibt es nur
        node-pre-gyp

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

          @crunchip

          echad@chet:/opt/iobroker $ ls -ls /opt/iobroker/node_modules/.bin/node-gyp
          0 lrwxrwxrwx 1 iobroker iobroker 27 30. Jun 19:30 /opt/iobroker/node_modules/.bin/node-gyp -> ../node-gyp/bin/node-gyp.js
          echad@chet:/opt/iobroker $ ls -ls /opt/iobroker/node_modules/node-gyp/bin/node-gyp.js                                  
          

          hier gibt es das.
          Jedenfalls hat sich @Rich90 da ordentlich die npm-Datenbank zerballert, scheint mir.

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

            @thomas-braun said in NPM Problem:

            @rich90

            cd /opt/iobroker/
            npm list
            

            Steht der da noch drin?

            ja da steht er drin

            @Glasfaser
            ich installiere nicht willkürliches rein, sondern wollte die ausstehenden Updates installieren. Nachdem das nicht funktioniert hat, habe ich zum testen versucht einen neuen Adapter zu installieren. Nachdem dies auch zu dem gleichen Fehler geführt hat, habe ich mich hier im Forum auf die Suche begeben. Dabei ist mir aufgefallen, dass der JS-Controller im Beta ist und habe versucht ihn wieder downzugraden, da ich sicher kein Beta-Tester bin. Ich weiß ehrlcih gesagt auch nicht wieso ich eine Beta-Version habe, da ich das Repository auf "stable" stehen habe.

            # which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
            /usr/bin/nodejs
            v12.22.2
            /usr/bin/node
            v12.22.2
            /usr/bin/npm
            6.14.13
            nodejs:
              Installiert:           12.22.2-1nodesource1
              Installationskandidat: 12.22.2-1nodesource1
            
            iobroker update -i
            Used repository: stable
            hash unchanged, use cached sources
            update done
            Adapter    "admin"         : 4.2.1    , installed 4.2.1
            Adapter    "alexa2"        : 3.9.1    , installed 3.9.0 [Updateable]
            Adapter    "cloud"         : 4.0.11   , installed 4.0.10 [Updateable]
            Adapter    "daswetter"     : 3.0.7    , installed 3.0.7
            Adapter    "discovery"     : 2.6.2    , installed 2.6.2
            Adapter    "dwd"           : 2.7.5    , installed 2.7.5
            Adapter    "email"         : 1.0.9    , installed 1.0.9
            Adapter    "feiertage"     : 1.0.17   , installed 1.0.17
            Adapter    "flot"          : 1.10.6   , installed 1.10.6
            Adapter    "heatingcontrol": 2.3.2    , installed 2.3.2
            Adapter    "history"       : 1.9.13   , installed 1.9.13
            Adapter    "hm-rega"       : 3.0.25   , installed 3.0.24 [Updateable]
            Adapter    "hm-rpc"        : 1.14.41  , installed 1.14.38 [Updateable]
            Adapter    "hue"           : 3.5.15   , installed 3.5.15
            Adapter    "ical"          : 1.7.4    , installed 1.7.4
            Adapter    "info"          : 1.7.14   , installed 1.7.14
            Adapter    "iot"           : 1.8.22   , installed 1.8.16 [Updateable]
            Adapter    "javascript"    : 5.1.3    , installed 5.1.3
            Controller "js-controller" : 3.2.16   , installed 3.3.8
            Adapter    "lightify"      : 0.2.16   , installed 0.2.16
            Adapter    "mihome-vacuum" : 2.1.1    , installed 2.1.1
            Adapter    "nuki-extended" : 2.3.0    , installed 2.3.0
            Adapter    "octoprint"     : 1.0.8    , installed 1.0.8
            Adapter    "parser"        : 1.0.7    , installed 1.0.7
            Adapter    "scenes"        : 2.3.6    , installed 2.3.6
            Adapter    "simple-api"    : 2.6.1    , installed 2.6.0 [Updateable]
            Adapter    "socketio"      : 3.1.4    , installed 3.1.4
            Adapter    "tankerkoenig"  : 2.0.5    , installed 2.0.5
            Adapter    "telegram"      : 1.8.1    , installed 1.8.1
            Adapter    "terminal"      : 0.1.2    , installed 0.1.2
            Adapter    "text2command"  : 2.1.0    , installed 2.0.7 [Updateable]
            Adapter    "tr-064"        : 4.2.12   , installed 4.2.12
            Adapter    "trashschedule" : 1.1.1    , installed 1.1.1
            Adapter    "vis"           : 1.3.10   , installed 1.3.9 [Updateable]
            
            iobroker list instances
            + system.adapter.admin.0                  : admin                 : Tower                                    -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              system.adapter.alexa2.1                 : alexa2                : Tower                                    - disabled
              system.adapter.cloud.0                  : cloud                 : Tower                                    - disabled
            + system.adapter.discovery.0              : discovery             : Tower                                    -  enabled
              system.adapter.email.0                  : email                 : Tower                                    - disabled
              system.adapter.feiertage.0              : feiertage             : Tower                                    -  enabled
              system.adapter.flot.0                   : flot                  : Tower                                    -  enabled
            + system.adapter.heatingcontrol.0         : heatingcontrol        : Tower                                    -  enabled
              system.adapter.history.0                : history               : Tower                                    - disabled
            + system.adapter.hm-rega.0                : hm-rega               : Tower                                    -  enabled
            + system.adapter.hm-rpc.0                 : hm-rpc                : Tower                                    -  enabled, port: 0
            + system.adapter.hm-rpc.1                 : hm-rpc                : Tower                                    -  enabled, port: 0
            + system.adapter.hm-rpc.2                 : hm-rpc                : Tower                                    -  enabled, port: 0
            + system.adapter.hue.0                    : hue                   : Tower                                    -  enabled, port: 443
              system.adapter.ical.1                   : ical                  : Tower                                    -  enabled
              system.adapter.ical.2                   : ical                  : Tower                                    -  enabled
              system.adapter.info.0                   : info                  : Tower                                    - disabled
            + system.adapter.iot.0                    : iot                   : Tower                                    -  enabled
            + system.adapter.javascript.0             : javascript            : Tower                                    -  enabled
            + system.adapter.mihome-vacuum.0          : mihome-vacuum         : Tower                                    -  enabled, port: 54321
              system.adapter.nuki-extended.0          : nuki-extended         : Tower                                    - disabled
              system.adapter.octoprint.0              : octoprint             : Tower                                    - disabled
              system.adapter.parser.0                 : parser                : Tower                                    - disabled
            + system.adapter.scenes.0                 : scenes                : Tower                                    -  enabled
            + system.adapter.tankerkoenig.0           : tankerkoenig          : Tower                                    -  enabled
            + system.adapter.telegram.0               : telegram              : Tower                                    -  enabled, port: 8443, bind: 0.0.0.0
            + system.adapter.terminal.0               : terminal              : Tower                                    -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
            + system.adapter.trashschedule.0          : trashschedule         : Tower                                    -  enabled
              system.adapter.vis.0                    : vis                   : Tower                                    -  enabled
            + system.adapter.web.0                    : web                   : Tower                                    -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            + instance is alive
            
            iobroker list adapters
            system.adapter.admin                   : admin          - v4.2.1
            system.adapter.alexa2                  : alexa2         - v3.9.0
            system.adapter.cloud                   : cloud          - v4.0.10
            system.adapter.daswetter               : daswetter      - v3.0.4
            system.adapter.discovery               : discovery      - v2.5.0
            system.adapter.dwd                     : dwd            - v2.7.5
            system.adapter.email                   : email          - v1.0.9
            system.adapter.feiertage               : feiertage      - v1.0.17
            system.adapter.flot                    : flot           - v1.10.6
            system.adapter.heatingcontrol          : heatingcontrol - v2.3.2
            system.adapter.history                 : history        - v1.9.12
            system.adapter.hm-rega                 : hm-rega        - v3.0.24
            system.adapter.hm-rpc                  : hm-rpc         - v1.14.38
            system.adapter.hue                     : hue            - v3.4.0
            system.adapter.ical                    : ical           - v1.7.4
            system.adapter.info                    : info           - v1.7.14
            system.adapter.iot                     : iot            - v1.8.16
            system.adapter.javascript              : javascript     - v5.0.14
            system.adapter.lightify                : lightify       - v0.2.16
            system.adapter.mihome-vacuum           : mihome-vacuum  - v2.2.5
            system.adapter.nuki-extended           : nuki-extended  - v2.3.0
            system.adapter.octoprint               : octoprint      - v1.0.8
            system.adapter.parser                  : parser         - v1.0.7
            system.adapter.scenes                  : scenes         - v2.3.6
            system.adapter.simple-api              : simple-api     - v2.6.0
            system.adapter.socketio                : socketio       - v3.1.4
            system.adapter.stockmarket             : stockmarket    - v0.0.2
            system.adapter.tankerkoenig            : tankerkoenig   - v2.0.5
            system.adapter.telegram                : telegram       - v1.8.0
            system.adapter.terminal                : terminal       - v0.1.2
            system.adapter.text2command            : text2command   - v2.0.7
            system.adapter.tr-064                  : tr-064         - v4.2.4
            system.adapter.trashschedule           : trashschedule  - v1.1.1
            system.adapter.vis                     : vis            - v1.3.9
            system.adapter.web                     : web            - v3.3.0
            system.adapter.web-speedy              : web-speedy     - v0.2.0
            
            iobroker version
            3.3.8
            

            @crunchip
            ich meinte den Ordner "node_Modules\tr-O64"

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

              @rich90 sagte in NPM Problem:

              ja da steht er drin

              Bitte die Ausgabe zeigen.

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

                @thomas-braun
                ich kann leider nicht die gesamte Ausgabe ansehen, da das Konsolenfenster nicht so weit zurück reicht.

                hier der Abschnitt über den tr-064

                ├─┬ iobroker.tr-064@4.2.12
                │ ├── @iobroker/adapter-core@2.4.0 deduped
                │ ├── mdns-discovery@0.2.6 deduped
                │ ├─┬ tr-O64@0.2.4
                │ │ ├── async@2.6.3 deduped
                │ │ ├── eyes@0.1.8
                │ │ ├── request@2.88.2 deduped
                │ │ └── xml2js@0.4.23 deduped
                │ └── xml2js@0.4.23 deduped
                

                falls du "alles" sehen möchtest kann ich das auch kopieren...

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

                  @glasfaser said in NPM Problem:

                  Was zu machen ist steht im Log .Die Datei liegt ausserhalb und kann nicht gelöscht werden .
                  Lösche sie manuell

                  ok, ich habe sie ausserhalb des Containers gefunden. dort ist sowohl die node-gyp als auch die node-pre-gyp

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

                    @rich90 sagte in NPM Problem:

                    tr-O64@0.2.4

                    Versuch mal:

                    cd /opt/iobroker/node_modules/iobroker.tr-064
                    npm uninstall tr-O64
                    
                    R 1 Reply Last reply Reply Quote 0
                    • R
                      Rich90 @Thomas Braun last edited by

                      @thomas-braun said in NPM Problem:

                      npm uninstall tr-O64

                      npm uninstall tr-O64
                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                      npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
                      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                      npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
                      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                      npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                      npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                      npm notice created a lockfile as package-lock.json. You should commit this file.
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                      
                      added 541 packages from 765 contributors and audited 544 packages in 11.703s
                      
                      35 packages are looking for funding
                        run `npm fund` for details
                      
                      found 35 vulnerabilities (33 low, 2 moderate)
                        run `npm audit fix` to fix them, or `npm audit` for details
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Rich90 last edited by

                        @rich90

                        iobroker update
                        iobroker upgrade
                        

                        bringt?

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

                          @thomas-braun said in NPM Problem:

                          iobroker upgrade

                          iobroker upgrade
                          Circular dependency detected between adapters "iot"
                          
                          This upgrade of "vis" will introduce the following changes:
                          ==========================================================================
                          -> 1.3.10:
                          Fixed the support of admin5
                          ==========================================================================
                          
                          Would you like to upgrade vis from @1.3.9 to @1.3.10 now? [(y)es, (n)o]: y
                          Update vis from @1.3.9 to @1.3.10
                          NPM version: 6.14.13
                          npm install iobroker.vis@1.3.10 --loglevel error --prefix "/opt/iobroker" (System call)
                          npm ERR! code EINVALIDTAGNAME
                          npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /opt/iobroker/.npm/_logs/2021-07-04T20_38_57_402Z-debug.log
                          upload [3] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/words.js words.js application/javascript
                          Adapter "system.adapter.vis.0" restarted.
                          upload [2] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/vis.png vis.png image/png
                          upload [1] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/index_m.html index_m.html text/html
                          upload [0] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/index.html index.html text/html
                          upload [300] vis /opt/iobroker/node_modules/iobroker.vis/www/widgets/jqui/img/ct.png widgets/jqui/img/ct.png image/png
                          upload [250] vis /opt/iobroker/node_modules/iobroker.vis/www/widgets/basic/img/Prev_ValueBool.png widgets/basic/img/Prev_ValueBool.png image/png
                          upload [200] vis /opt/iobroker/node_modules/iobroker.vis/www/lib/js/jquery.ba-resize.min.js lib/js/jquery.ba-resize.min.js application/javascript
                          upload [150] vis /opt/iobroker/node_modules/iobroker.vis/www/js/visEditInspect.js js/visEditInspect.js application/javascript
                          upload [100] vis /opt/iobroker/node_modules/iobroker.vis/www/js/fm/icon/actions/delete.png js/fm/icon/actions/delete.png image/png
                          upload [90] vis /opt/iobroker/node_modules/iobroker.vis/www/index.html index.html text/html
                          upload [80] vis /opt/iobroker/node_modules/iobroker.vis/www/img/faviconEdit.png img/faviconEdit.png image/png
                          upload [70] vis /opt/iobroker/node_modules/iobroker.vis/www/img/bulbOn.png img/bulbOn.png image/png
                          upload [60] vis /opt/iobroker/node_modules/iobroker.vis/www/img/back/oblique-line-bk.png img/back/oblique-line-bk.png image/png
                          upload [50] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/timestamp.png icon/timestamp.png image/png
                          upload [40] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/ok.png icon/ok.png image/png
                          upload [30] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/distribute-vertical-equal.png icon/distribute-vertical-equal.png image/png
                          upload [20] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-width.png icon/align-width.png image/png
                          upload [19] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-top-2.png icon/align-vertical-top-2.png image/png
                          upload [18] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-center-2.png icon/align-vertical-center-2.png image/png
                          upload [17] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-vertical-bottom-2.png icon/align-vertical-bottom-2.png image/png
                          upload [16] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-right-2.png icon/align-horizontal-right-2.png image/png
                          upload [15] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-left.png icon/align-horizontal-left.png image/png
                          upload [14] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-horizontal-center-2.png icon/align-horizontal-center-2.png image/png
                          upload [13] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/align-height.png icon/align-height.png image/png
                          upload [12] vis /opt/iobroker/node_modules/iobroker.vis/www/icon/add.png icon/add.png image/png
                          upload [11] vis /opt/iobroker/node_modules/iobroker.vis/www/edit.src.html edit.src.html text/html
                          upload [10] vis /opt/iobroker/node_modules/iobroker.vis/www/edit.html edit.html text/html
                          upload [9] vis /opt/iobroker/node_modules/iobroker.vis/www/css/vis.css css/vis.css text/css
                          upload [8] vis /opt/iobroker/node_modules/iobroker.vis/www/css/vis-editor.css css/vis-editor.css text/css
                          upload [7] vis /opt/iobroker/node_modules/iobroker.vis/www/css/styles.css css/styles.css text/css
                          upload [6] vis /opt/iobroker/node_modules/iobroker.vis/www/css/montserrat-regular-webfont.woff css/montserrat-regular-webfont.woff font/woff
                          upload [5] vis /opt/iobroker/node_modules/iobroker.vis/www/css/doc.css css/doc.css text/css
                          upload [4] vis /opt/iobroker/node_modules/iobroker.vis/www/css/backgrounds.css css/backgrounds.css text/css
                          upload [3] vis /opt/iobroker/node_modules/iobroker.vis/www/css/app.css css/app.css text/css
                          upload [2] vis /opt/iobroker/node_modules/iobroker.vis/www/css/add_kian.css css/add_kian.css text/css
                          upload [1] vis /opt/iobroker/node_modules/iobroker.vis/www/cordova.js cordova.js application/javascript
                          upload [0] vis /opt/iobroker/node_modules/iobroker.vis/www/cache.manifest cache.manifest text/cache-manifest
                          Adapter "vis" updated
                          

                          und das für alle die als updatable in der Liste stehen (Liste ist ja oben schon)

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

                            @rich90 sagte in NPM Problem:

                            Circular dependency detected between adapters "iot"

                            Da hast du noch einen Schuß...

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

                              @thomas-braun @crunchip @Glasfaser
                              Danke erstmal für eure Zeit und Hilfe bis hier her.
                              Da ich keine Ahnung habe: wie würdet ihr das einschätzen, ist das reparabel oder kann ich mich mental schon auf eine neue Installation vorbereiten?

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

                                @rich90 Ich würde mir ein Backup von einem Zeitpunkt schnappen bevor du das so verfummelt hast.

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

                                  @thomas-braun
                                  😍 daran habe ich gar nicht gedacht. Danke für den Hinweis!

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    vsa last edited by

                                    Hallo Zusammen,

                                    hm. auch ich habe das o.g. Problem neuerdings. Ich habe auch lediglich iobroker über die Konsole bisher geupgraded. Seit einigen Tagen kann ich keine Adapter mehr updaten.

                                    Meine Fehlermeldung beim Versuch irgendein Adapter zu updaten oder eben den veralteten tr-=64 Adapter übder die Konsle zu deaktivieren:

                                    npm uninstall tr-O64
                                    npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
                                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                    npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                    npm ERR! code EINVALIDTAGNAME
                                    npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes.
                                    
                                    Would you like to upgrade vw-connect from @0.0.39 to @0.0.40 now? [(y)es, (n)o]: y
                                    Update vw-connect from @0.0.39 to @0.0.40
                                    NPM version: 6.14.14
                                    npm install iobroker.vw-connect@0.0.40 --loglevel error --prefix "/opt/iobroker" (System call)
                                    npm ERR! code EINVALIDTAGNAME
                                    npm ERR! Invalid tag name "node_modules\tr-O64": Tags may not have any characters that encodeURIComponent encodes.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2021-08-31T16_46_07_551Z-debug.log
                                    upload [4] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/words.js words.js application/javascript
                                    upload [3] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/vw-connect.png vw-connect.png image/pngupload [2] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/style.css style.css text/css
                                    upload [1] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/index_m.html index_m.html text/html
                                    upload [0] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/admin.d.ts admin.d.ts video/mp2t
                                    Adapter "vw-connect" updated
                                    

                                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                                    pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    v14.17.5
                                    /usr/local/bin/node
                                    v14.17.5
                                    /usr/local/bin/npm
                                    6.14.14
                                    nodejs:
                                      Installiert:           14.17.5-1nodesource1
                                      Installationskandidat: 14.17.6-deb-1nodesource1
                                      Versionstabelle:
                                         14.17.6-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                     *** 14.17.5-1nodesource1 100
                                            100 /var/lib/dpkg/status
                                         10.24.0~dfsg-1~deb10u1 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    

                                    iobroker update -i

                                    pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker update -i
                                    Used repository: latest
                                    hash unchanged, use cached sources
                                    update done
                                    Adapter    "admin"         : 5.1.25   , installed 5.1.25
                                    Adapter    "daswetter"     : 3.0.7    , installed 3.0.7
                                    Adapter    "devices"       : 1.0.9    , installed 1.0.9
                                    Adapter    "discovery"     : 2.7.0    , installed 2.7.0
                                    Adapter    "fritzdect"     : 2.1.15   , installed 2.1.15
                                    Adapter    "history"       : 1.9.13   , installed 1.9.13
                                    Adapter    "hue"           : 3.5.23   , installed 3.5.22 [Updateable]
                                    Adapter    "icons-mfd-png" : 1.0.2    , installed 1.0.2
                                    Adapter    "icons-mfd-svg" : 1.0.2    , installed 1.0.2
                                    Adapter    "influxdb"      : 2.2.0    , installed 2.1.1 [Updateable]
                                    Adapter    "info"          : 1.9.8    , installed 1.9.8
                                    Adapter    "innogy-smarthome": 0.3.7   , installed 0.3.7
                                    Adapter    "jarvis"        : 2.2.3    , installed 2.2.3
                                    Adapter    "javascript"    : 5.2.8    , installed 5.2.8
                                    Controller "js-controller" : 3.3.15   , installed 3.3.15
                                    Adapter    "meross"        : 1.6.3    , installed 1.6.3
                                    Adapter    "netatmo"       : 1.4.4    , installed 1.4.4
                                    Adapter    "pi-hole"       : 1.3.2    , installed 1.3.2
                                    Adapter    "pollenflug"    : 1.0.6    , installed 1.0.6
                                    Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
                                    Adapter    "socketio"      : 3.1.4    , installed 3.1.4
                                    Adapter    "terminal"      : 0.1.2    , installed 0.1.2
                                    Adapter    "tr-064"        : 4.2.14   , installed 4.2.14
                                    Adapter    "vis"           : 1.4.3    , installed 1.4.3
                                    Adapter    "vis-bars"      : 0.1.4    , installed 0.1.4
                                    Adapter    "vis-canvas-gauges": 0.1.5   , installed 0.1.5
                                    Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
                                    Adapter    "vis-google-fonts": 0.1.0   , installed 0.1.0
                                    Adapter    "vis-history"   : 1.0.0    , installed 1.0.0
                                    Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                                    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-materialdesign": 0.5.9   , installed 0.5.9
                                    Adapter    "vis-metro"     : 1.1.2    , installed 1.1.2
                                    Adapter    "vis-plumb"     : 1.0.2    , installed 1.0.2
                                    Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
                                    Adapter    "vw-connect"    : 0.0.40   , installed 0.0.39 [Updateable]
                                    Adapter    "weatherunderground": 3.3.1   , installed 3.3.1
                                    Adapter    "web"           : 3.4.9    , installed 3.4.9
                                    Adapter    "yahka"         : 0.13.1   , installed 0.13.1
                                    Adapter    "yeelight-2"    : 1.1.2    , installed 1.1.2
                                    

                                    iobroker list instances

                                    pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker list instances
                                    + system.adapter.admin.0                  : admin                 : ioBroker-RasPi4                          -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                      system.adapter.backitup.0               : backitup              : ioBroker-RasPi4                          - disabled
                                      system.adapter.daswetter.0              : daswetter             : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.discovery.0              : discovery             : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.fritzdect.0              : fritzdect             : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.hue.0                    : hue                   : ioBroker-RasPi4                          -  enabled, port: 443
                                      system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker-RasPi4                          -  enabled
                                      system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.influxdb.0               : influxdb              : ioBroker-RasPi4                          -  enabled, port: 8086
                                    + system.adapter.innogy-smarthome.0       : innogy-smarthome      : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.jarvis.0                 : jarvis                : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.javascript.0             : javascript            : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.netatmo.0                : netatmo               : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.pi-hole.0                : pi-hole               : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.pollenflug.0             : pollenflug            : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-bars.0               : vis-bars              : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-history.0            : vis-history           : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-justgage.0           : vis-justgage          : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-metro.0              : vis-metro             : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis-plumb.0              : vis-plumb             : ioBroker-RasPi4                          -  enabled
                                      system.adapter.vis.0                    : vis                   : ioBroker-RasPi4                          -  enabled
                                      system.adapter.weatherunderground.0     : weatherunderground    : ioBroker-RasPi4                          -  enabled
                                    + system.adapter.web.0                    : web                   : ioBroker-RasPi4                          -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                    + system.adapter.yahka.1                  : yahka                 : ioBroker-RasPi4                          -  enabled
                                    
                                    + instance is alive
                                    

                                    iobroker list adapters

                                    pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker list adapters
                                    system.adapter.admin                   : admin          - v5.1.25
                                    system.adapter.backitup                : backitup       - v1.5.6
                                    system.adapter.daswetter               : daswetter      - v3.0.7
                                    system.adapter.discovery               : discovery      - v2.7.0
                                    system.adapter.fritzdect               : fritzdect      - v2.1.15
                                    system.adapter.hue                     : hue            - v3.5.22
                                    system.adapter.icons-mfd-png           : icons-mfd-png  - v1.0.2
                                    system.adapter.icons-mfd-svg           : icons-mfd-svg  - v1.0.2
                                    system.adapter.influxdb                : influxdb       - v2.1.1
                                    system.adapter.info                    : info           - v1.9.8
                                    system.adapter.innogy-smarthome        : innogy-smarthome - v0.3.7
                                    system.adapter.jarvis                  : jarvis         - v2.2.3
                                    system.adapter.javascript              : javascript     - v5.2.8
                                    system.adapter.netatmo                 : netatmo        - v1.4.4
                                    system.adapter.pi-hole                 : pi-hole        - v1.3.2
                                    system.adapter.pollenflug              : pollenflug     - v1.0.6
                                    system.adapter.simple-api              : simple-api     - v2.6.1
                                    system.adapter.socketio                : socketio       - v3.1.4
                                    system.adapter.terminal                : terminal       - v0.1.2
                                    system.adapter.vis                     : vis            - v1.4.3
                                    system.adapter.vis-bars                : vis-bars       - v0.1.4
                                    system.adapter.vis-canvas-gauges       : vis-canvas-gauges - v0.1.5
                                    system.adapter.vis-fancyswitch         : vis-fancyswitch - v1.1.0
                                    system.adapter.vis-google-fonts        : vis-google-fonts - v0.1.0
                                    system.adapter.vis-history             : vis-history    - v1.0.0
                                    system.adapter.vis-hqwidgets           : vis-hqwidgets  - v1.1.7
                                    system.adapter.vis-jqui-mfd            : vis-jqui-mfd   - v1.0.12
                                    system.adapter.vis-justgage            : vis-justgage   - v1.0.2
                                    system.adapter.vis-materialdesign      : vis-materialdesign - v0.5.9
                                    system.adapter.vis-metro               : vis-metro      - v1.1.2
                                    system.adapter.vis-plumb               : vis-plumb      - v1.0.2
                                    system.adapter.vw-connect              : vw-connect     - v0.0.39
                                    system.adapter.weatherunderground      : weatherunderground - v3.3.1
                                    system.adapter.web                     : web            - v3.4.9
                                    system.adapter.yahka                   : yahka          - v0.13.1
                                    

                                    iobroker version

                                    pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker version
                                    3.3.15
                                    

                                    Ich schneine einen sehr ähnliches Problem zu haben wie Rich90. Wie könnte ich den meine iobroker-Installation noch retten?
                                    VG vsa

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

                                      @vsa

                                      nodeJS ist schon mal falsch installiert. Schau in meiner Signatur, da wirds erklärt.

                                      Und der Adapter heißt tr-064, nicht tr-O64

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

                                        @thomas-braun

                                        Dank schonmal.
                                        Ja, das hatte ich gelesen,
                                        trotz Deiner Anleitung wird in

                                        /usr/bin/nodejs
                                        
                                        v14.17.5
                                        
                                        /usr/local/bin/node
                                        
                                        v14.17.5
                                        
                                        /usr/local/bin/npm
                                        
                                        

                                        6.14.14

                                        installiert. Und nicht in /usr/bin

                                        Wie kann ich das forcieren?
                                        VG vsa

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

                                          @vsa sagte in NPM Problem:

                                          trotz Deiner Anleitung wird in /usr/local/bin/ installiert

                                          Das kann nicht sein.

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

                                            @thomas-braun
                                            Hallo nochmals.

                                            Gerne hier mein Mitschnitt:

                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ iobroker stop
                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo nano /etc/apt/sources.list.d/nodesource.list
                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo apt upgrade
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Paketaktualisierung (Upgrade) wird berechnet... Fertig
                                            Die folgenden Pakete werden aktualisiert (Upgrade):
                                              bluez nodejs
                                            2 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                            Es müssen 23,6 MB an Archiven heruntergeladen werden.
                                            Nach dieser Operation werden 135 kB Plattenplatz zusätzlich benutzt.
                                            Möchten Sie fortfahren? [J/n]
                                            Holen:1 http://archive.raspberrypi.org/debian buster/main armhf bluez armhf 5.50-1.2~deb10u2+rpt1 [770 kB]
                                            Holen:2 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.17.6-deb-1nodesource1 [22,8 MB]
                                            Es wurden 23,6 MB in 2 s geholt (10,1 MB/s).
                                            Changelogs werden gelesen... Fertig
                                            (Lese Datenbank ... 61329 Dateien und Verzeichnisse sind derzeit installiert.)
                                            Vorbereitung zum Entpacken von .../bluez_5.50-1.2~deb10u2+rpt1_armhf.deb ...
                                            Entpacken von bluez (5.50-1.2~deb10u2+rpt1) über (5.50-1.2~deb10u2) ...
                                            Vorbereitung zum Entpacken von .../nodejs_14.17.6-deb-1nodesource1_armhf.deb ...
                                            Entpacken von nodejs (14.17.6-deb-1nodesource1) über (14.17.5-1nodesource1) ...
                                            nodejs (14.17.6-deb-1nodesource1) wird eingerichtet ...
                                            bluez (5.50-1.2~deb10u2+rpt1) wird eingerichtet ...
                                            Trigger für systemd (241-7~deb10u8+rpi1) werden verarbeitet ...
                                            Trigger für man-db (2.8.5-2) werden verarbeitet ...
                                            Trigger für dbus (1.12.20-0+deb10u1) werden verarbeitet ...
                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $
                                            

                                            soweit so gut...
                                            nun weiter.

                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ apt policy nodejs
                                            nodejs:
                                              Installiert:           14.17.6-deb-1nodesource1
                                              Installationskandidat: 14.17.6-deb-1nodesource1
                                              Versionstabelle:
                                             *** 14.17.6-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 10.24.0~dfsg-1~deb10u1 500
                                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $
                                            

                                            und jetzt die 14er Version installieren: (mit der 12er passiert das gleiche)

                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ sudo apt reinstall nodejs=14.17.6-deb-1nodesource1
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                            Es müssen 22,8 MB an Archiven heruntergeladen werden.
                                            Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                                            Holen:1 https://deb.nodesource.com/node_14.x buster/main armhf nodejs armhf 14.17.6-deb-1nodesource1 [22,8 MB]
                                            Es wurden 22,8 MB in 2 s geholt (10.000 kB/s).
                                            (Lese Datenbank ... 61339 Dateien und Verzeichnisse sind derzeit installiert.)
                                            Vorbereitung zum Entpacken von .../nodejs_14.17.6-deb-1nodesource1_armhf.deb ...
                                            Entpacken von nodejs (14.17.6-deb-1nodesource1) über (14.17.6-deb-1nodesource1) ...
                                            nodejs (14.17.6-deb-1nodesource1) wird eingerichtet ...
                                            Trigger für man-db (2.8.5-2) werden verarbeitet ...
                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $
                                            

                                            Ergebnis ansehen:

                                            pi@ioBroker-RasPi4:/opt/iobroker/node_modules $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                            /usr/bin/nodejs
                                            /usr/local/bin/node
                                            /usr/local/bin/npm
                                            v14.17.6
                                            v14.17.5
                                            6.14.14
                                            Holen:1 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]
                                            OK:2 https://deb.nodesource.com/node_14.x buster InRelease
                                            Holen:3 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
                                            OK:4 https://packages.grafana.com/enterprise/deb stable InRelease
                                            OK:5 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                            OK:6 https://repos.influxdata.com/debian buster InRelease
                                            Holen:7 https://deb.nodesource.com/node_12.x buster/main armhf Packages [780 B]
                                            Holen:8 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
                                            Es wurden 416 kB in 2 s geholt (185 kB/s).
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Alle Pakete sind aktuell.
                                            OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                            OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                            OK:3 https://packages.grafana.com/enterprise/deb stable InRelease
                                            OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                                            OK:5 https://repos.influxdata.com/debian buster InRelease
                                            OK:6 https://deb.nodesource.com/node_14.x buster InRelease
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Alle Pakete sind aktuell.
                                            nodejs:
                                              Installiert:           14.17.6-deb-1nodesource1
                                              Installationskandidat: 14.17.6-deb-1nodesource1
                                              Versionstabelle:
                                             *** 14.17.6-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 12.22.6-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                                 10.24.0~dfsg-1~deb10u1 500
                                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                            

                                            Gibt es etwas das ich übersehen haben könnte?
                                            VG vsa

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

                                            Support us

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

                                            935
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            28
                                            2965
                                            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