Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. gelöst: Javascript Adapter 5.8.8

    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

    gelöst: Javascript Adapter 5.8.8

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Beowolf last edited by

      @beowolf sagte in gelöst: Javascript Adapter 5.8.8:

      Ich bin mir nicht sicher was ich machen soll.

      Welcher Befehl führte zu den Ausgaben?
      Welche nodejs-Version?

      sudo ln -s /usr/bin/node /usr/bin/nodejs
      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      

      Welche Versionen der Adapter?

      iobroker update -i
      
      B 2 Replies Last reply Reply Quote 0
      • B
        Beowolf @Thomas Braun last edited by

        @thomas-braun

        Bei

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

        kommt

        pi@raspberrypi:/ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        armv7l
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.17.0
        v16.17.0
        8.15.0
        pi
        /
        OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
        OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
        OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
        OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
        Paketlisten werden gelesen… Fertig
        Abhängigkeitsbaum wird aufgebaut… Fertig
        Statusinformationen werden eingelesen… Fertig
        Alle Pakete sind aktuell.
        nodejs:
          Installiert:           16.17.0-deb-1nodesource1
          Installationskandidat: 16.17.0-deb-1nodesource1
          Versionstabelle:
         *** 16.17.0-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                100 /var/lib/dpkg/status
             14.20.0-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
             12.22.12~dfsg-1~deb11u1 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        pi@raspberrypi:/ $
        
        

        Bei

        iobroker update -i
        

        kommt

        pi@raspberrypi:/ $ iobroker update -i
        Used repository: stable
        Adapter    "admin"        : 6.2.20   , installed 6.2.20
        Adapter    "alexa2"       : 3.11.2   , installed 3.11.2
        Adapter    "alias-manager": 1.2.4    , installed 1.2.4
        Adapter    "backitup"     : 2.4.10   , installed 2.4.10
        Adapter    "discovery"    : 3.0.5    , installed 3.0.5
        Adapter    "email"        : 1.1.3    , installed 1.1.3
        Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
        Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
        Adapter    "ical"         : 1.13.1   , installed 1.13.1
        Adapter    "influxdb"     : 3.1.7    , installed 3.1.7
        Adapter    "info"         : 1.9.19   , installed 1.9.19
        Adapter    "iot"          : 1.11.8   , installed 1.11.8
        Adapter    "iqontrol"     : 2.0.0    , installed 2.0.1
        Adapter    "javascript"   : 6.0.0    , installed 6.0.0
        Controller "js-controller": 4.0.23   , installed 4.0.23
        Adapter    "luftdaten"    : 2.2.4    , installed 2.2.4
        Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
        Adapter    "ping"         : 1.5.3    , installed 1.5.3
        Adapter    "pushover"     : 3.0.2    , installed 3.0.2
        Adapter    "scenes"       : 2.3.9    , installed 2.3.9
        Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
        Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
        Adapter    "vis"          : 1.4.15   , installed 1.4.15
        Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
        Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
        Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
        Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
        Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
        Adapter    "web"          : 4.3.0    , installed 4.3.0
        Adapter    "wiffi-wz"     : 2.2.1    , installed 2.2.1
        Adapter    "wled"         : 0.6.7    , installed 0.6.7
        Adapter    "ws"           : 1.3.0    , installed 1.3.0
        pi@raspberrypi:/ $
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • B
          Beowolf @Thomas Braun last edited by

          @thomas-braun sagte in gelöst: Javascript Adapter 5.8.8:

          Welcher Befehl führte zu den Ausgaben?

          Bei diesem

          Please execute "npm install --production" in adapter directory manually.
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Beowolf last edited by

            @beowolf
            Stell dich in dein /home-Verzeichnis. Warum steht du da in / herum?

            cd ~
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Beowolf last edited by

              @beowolf sagte in gelöst: Javascript Adapter 5.8.8:

              npm install --production

              Hast du das auch in / ausgeführt?
              Bitte IMMER vollständige Ein- und Ausgaben inkl. login prompt zeigen, dann sieht man sowas direkt.

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

                @thomas-braun

                Habe es dort gemacht.

                pi@raspberrypi:/opt/iobroker/node_modules/iobroker.javascript/node_modules $ npm install --production
                npm WARN config production Use `--omit=dev` instead.
                
                > iobroker.javascript@6.0.0 postinstall
                > node ./install/installTypings.js
                
                Installing NodeJS typings...
                latest @types: 18, installed node: 16
                
                up to date, audited 107 packages in 12s
                
                9 packages are looking for funding
                  run `npm fund` for details
                
                found 0 vulnerabilities
                pi@raspberrypi:/opt/iobroker/node_modules/iobroker.javascript/node_modules $
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Beowolf last edited by Thomas Braun

                  @beowolf sagte in gelöst: Javascript Adapter 5.8.8:

                  /opt/iobroker/node_modules/iobroker.javascript
                  wäre richtig gewesen.

                  cd /opt/iobroker/node_modules/iobroker.javascript
                  npm install --omit=dev
                  
                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Beowolf @Thomas Braun last edited by Beowolf

                    @thomas-braun

                    
                    pi@raspberrypi:/opt/iobroker/node_modules/iobroker.javascript $ npm install --production
                    npm WARN config production Use `--omit=dev` instead.
                    
                    > iobroker.javascript@6.0.0 postinstall
                    > node ./install/installTypings.js
                    
                    Installing NodeJS typings...
                    latest @types: 18, installed node: 16
                    
                    up to date, audited 107 packages in 11s
                    
                    9 packages are looking for funding
                      run `npm fund` for details
                    
                    found 0 vulnerabilities
                    pi@raspberrypi:/opt/iobroker/node_modules/iobroker.javascript $
                    
                    

                    Habe ich jetzt ein Problem, weil es im falschen Ordner war?

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

                      @beowolf sagte in gelöst: Javascript Adapter 5.8.8:

                      Habe ich jetzt ein Problem, weil es im falschen Ordner war?

                      Gegebenenfalls später, ja.

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

                        @thomas-braun

                        
                        pi@raspberrypi:/opt/iobroker/node_modules/iobroker.javascript $ npm install --omit=dev
                        
                        > iobroker.javascript@6.0.0 postinstall
                        > node ./install/installTypings.js
                        
                        Installing NodeJS typings...
                        latest @types: 18, installed node: 16
                        
                        up to date, audited 107 packages in 11s
                        
                        9 packages are looking for funding
                          run `npm fund` for details
                        
                        found 0 vulnerabilities
                        pi@raspberrypi:/opt/iobroker/node_modules/iobroker.javascript $
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Beowolf last edited by

                          @beowolf sagte in gelöst: Javascript Adapter 5.8.8:

                          cd /opt/iobroker
                          npm ls iobroker.javascript
                          
                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Beowolf @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi:/opt/iobroker $ npm ls iobroker.javascript
                            iobroker.inst@3.0.0 /opt/iobroker
                            └── iobroker.javascript@6.0.0
                            
                            pi@raspberrypi:/opt/iobroker $
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Beowolf last edited by

                              @beowolf

                              Passt.

                              npm ls
                              

                              sagt?

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

                                @thomas-braun

                                pi@raspberrypi:/opt/iobroker $ npm ls
                                iobroker.inst@3.0.0 /opt/iobroker
                                ├── @types/caseless@0.12.2 extraneous
                                ├── @types/request@2.48.8 extraneous
                                ├── @types/tough-cookie@4.0.2 extraneous
                                ├── coffeescript@1.12.7 extraneous
                                ├── iobroker.admin@6.2.20
                                ├── iobroker.alexa2@3.11.2
                                ├── iobroker.alias-manager@1.2.4
                                ├── iobroker.backitup@2.4.10
                                ├── iobroker.discovery@3.0.5
                                ├── iobroker.email@1.1.3
                                ├── iobroker.hm-rega@3.0.40
                                ├── iobroker.hm-rpc@1.15.12
                                ├── iobroker.ical@1.13.1
                                ├── iobroker.influxdb@3.1.7
                                ├── iobroker.info@1.9.19
                                ├── iobroker.iot@1.11.8
                                ├── iobroker.iqontrol@2.0.1
                                ├── iobroker.javascript@6.0.0
                                ├── iobroker.js-controller@4.0.23
                                ├── iobroker.luftdaten@2.2.4
                                ├── iobroker.mqtt@4.0.7
                                ├── iobroker.ping@1.5.3
                                ├── iobroker.pushover@3.0.2
                                ├── iobroker.scenes@2.3.9
                                ├── iobroker.simple-api@2.7.0
                                ├── iobroker.sonoff@2.5.1
                                ├── iobroker.vis-bars@0.1.4
                                ├── iobroker.vis-canvas-gauges@0.1.5
                                ├── iobroker.vis-fancyswitch@1.1.0
                                ├── iobroker.vis-history@1.0.0
                                ├── iobroker.vis-hqwidgets@1.2.0
                                ├── iobroker.vis@1.4.15
                                ├── iobroker.web@4.3.0
                                ├── iobroker.wiffi-wz@2.2.1
                                ├── iobroker.wled@0.6.7
                                ├── jsonata@1.8.6 extraneous
                                ├── node-inspect@2.0.0 extraneous
                                ├── picocolors@1.0.0 extraneous
                                ├── suncalc2@1.8.1 extraneous
                                ├── typescript@4.7.4 extraneous
                                ├── virtual-tsc@0.6.2 extraneous
                                └── wake_on_lan@1.0.0 extraneous
                                
                                pi@raspberrypi:/opt/iobroker $
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Beowolf last edited by

                                  @beowolf

                                  Kannst du noch 'prunen', wenn du magst.

                                  npm prune
                                  

                                  Sieht aber sauber aus.

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

                                    @thomas-braun sagte in gelöst: Javascript Adapter 5.8.8:

                                    npm prune

                                    pi@raspberrypi:/opt/iobroker $ npm prune
                                    
                                    removed 105 packages, and changed 1 package in 7s
                                    
                                    59 packages are looking for funding
                                      run `npm fund` for details
                                    pi@raspberrypi:/opt/iobroker $
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Beowolf last edited by

                                      Läuft wieder.

                                      Danke für die Hilfe.

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      400
                                      Online

                                      31.8k
                                      Users

                                      80.0k
                                      Topics

                                      1.3m
                                      Posts

                                      6
                                      31
                                      1479
                                      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