Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Java Scrip Modul

    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

    Java Scrip Modul

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

      @lucascoco

      NodeJS ist sauber im System? Wenn du von npm alleine sprichst schwant mir da schon wieder was.

      1 Reply Last reply Reply Quote 0
      • L
        Lucascoco last edited by

        Wie erkenne ich denn, ob es sauber im System ist ?

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

          @lucascoco

          Das sagt dir die Ausgabe von

          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          
          1 Reply Last reply Reply Quote 0
          • L
            Lucascoco last edited by

            Das kam raus
            v14.18.2
            v14.18.2
            6.14.15

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

              @lucascoco

              Nicht nacherzählen, vollständige Ein- und Ausgaben. Da kam hofffentlich noch mehr ums Eck.

              1 Reply Last reply Reply Quote 0
              • L
                Lucascoco last edited by

                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v14.18.2
                v14.18.2
                6.14.15
                OK:1 http://archive.raspberrypi.org/debian buster InRelease
                OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Aktualisierung für 129 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                OK:1 http://archive.raspberrypi.org/debian buster InRelease
                OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Aktualisierung für 129 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                nodejs:
                  Installiert:           14.18.2-deb-1nodesource1
                  Installationskandidat: 14.18.2-deb-1nodesource1
                  Versionstabelle:
                 *** 14.18.2-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
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Lucascoco last edited by

                  @lucascoco sagte in Java Scrip Modul:

                  Aktualisierung für 129 Pakete verfügbar.

                  Die node-Installation ist okay, der Rest hängt schwer hinterher:

                  sudo apt update
                  sudo apt full-upgrade
                  sudo reboot
                  
                  1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer last edited by

                    Scheinbar zufällige

                    Cannot find module

                    hab ich bisher immer dann gesehen, wenn jemand manuell einzelne Module in /opt/iobroker nachinstalliert hat. Wäre also ein Versuch wert, sich mal /opt/iobroker/package.json anzuschauen, ob da nicht ein unnötiges typescript drin auftaucht.

                    1 Reply Last reply Reply Quote 0
                    • L
                      Lucascoco last edited by

                      @alcalzone said in Java Scrip Modul:

                      typescript

                      nein ist nicht mit drin

                      Full upgrade ist System wurde gemacht, Fehler ist immer noch da

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

                        @lucascoco sagte in Java Scrip Modul:

                        Full upgrade ist System wurde gemacht, Fehler ist immer noch da

                        War auch nicht anders zu erwarten. Ich schau mir aber lieber voll durchpatchte Systeme an.

                        cd /opt/iobroker
                        npm list
                        
                        1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @Lucascoco last edited by

                          @lucascoco sagte in Java Scrip Modul:

                          nein ist nicht mit drin

                          ggf. was anderes - zeig doch mal den Inhalt

                          1 Reply Last reply Reply Quote 0
                          • L
                            Lucascoco last edited by

                            npm ERR! missing: @types/node@14.18.0, required by iobroker.javascript@5.2.13
                            npm ERR! peer dep missing: typescript@>=2.0.0, required by virtual-tsc@0.6.1
                            npm ERR! missing: @types/node@14.18.0, required by @types/iobroker@3.3.4

                            Die Ausgabe ist zu lang, habe mal das Ende angefügt

                            {
                              "name": "iobroker.inst",
                              "version": "2.0.3",
                              "private": true,
                              "description": "Automation platform in node.js",
                              "scripts": {
                                "install": "node lib/checkVersions.js",
                                "postinstall": "node lib/install.js",
                                "test": "node node_modules/mocha/bin/mocha --exit"
                              },
                              "dependencies": {
                                "colors": "^1.3.3",
                                "fs-extra": "^7.0.1",
                                "iobroker": "^2.0.3",
                                "iobroker.admin": "^5.2.3",
                                "iobroker.alexa2": "^3.11.2",
                                "iobroker.backitup": "^2.2.2",
                                "iobroker.devices": "^1.0.9",
                                "iobroker.discovery": "^2.7.3",
                                "iobroker.email": "^1.0.10",
                                "iobroker.flot": "^1.10.7",
                                "iobroker.history": "^1.9.14",
                                "iobroker.hm-rega": "^3.0.33",
                                "iobroker.hm-rpc": "^1.14.50",
                                "iobroker.hue-extended": "^2.0.0",
                                "iobroker.info": "^1.9.8",
                                "iobroker.javascript": "^5.2.13",
                                "iobroker.js-controller": "^3.3.22",
                                "iobroker.rpi2": "^1.3.1",
                                "iobroker.shelly": "^4.0.7",
                                "iobroker.simple-api": "^2.6.1",
                                "iobroker.sonoff": "^2.4.5",
                                "iobroker.tahoma": "github:Excodibur/ioBroker.tahoma",
                                "iobroker.telegram": "^1.10.0",
                                "iobroker.viessmannapi": "^2.0.6",
                                "iobroker.web": "^3.4.9",
                                "iobroker.yahka": "^0.13.1",
                                "semver": "^5.6.0",
                                "yargs": "^7.0.2"
                              }
                            }
                            
                            
                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @Lucascoco last edited by

                              @lucascoco Ok in package.json ist wirklich nix auffälliges dabei... Ggf. nochmal iobroker.javascript drüber installieren, aber ansonsten bin ich raus.

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

                                @alcalzone sagte in Java Scrip Modul:

                                package.json ist wirklich nix auffälliges dabei.

                                und in package-lock.json vielleicht?

                                1 Reply Last reply Reply Quote 0
                                • L
                                  Lucascoco last edited by

                                  Ich glaube das hat geholfen

                                  npm install iobroker.javascript

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  824
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  4
                                  16
                                  549
                                  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