Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Nodejs und Vis Probleme

    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

    Nodejs und Vis Probleme

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

      @wurschtbrot sagte in Nodejs und Vis Probleme:

      das kommt dann

      Wann kommt das? Bitte immer vollständige Eingabezeilen posten.

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

        @thomas-braun finde ich bei mir gar nicht

        W Thomas Braun 2 Replies Last reply Reply Quote 0
        • W
          wurschtbrot @crunchip last edited by

          @crunchip

          pi@iobr22:~ $ /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js
          : No such file or directoryiobroker.systeminfo/myAdapter.js: line 1: /**
          /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 2: node_modules: command not found
          /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: syntax error near unexpected token `c'
          /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: ` *      (c' 2016- <frankjoke@hotmail.com>
          pi@iobr22:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @wurschtbrot last edited by

            @wurschtbrot

            Du musst auch einen Editor angeben, mit dem du werkeln willst.
            nano ist z. B. einer.

            Oder du installierst den Adapter aus dem github, da dürfte das bereinigt sein.

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

              @crunchip

              Im Master scheint es auch behoben zu sein:

              https://github.com/iobroker-community-adapters/ioBroker.systeminfo/blob/master/myAdapter.js

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

                @thomas-braun bei mir gibt es aber auch kein
                /opt/iobroker/node_modules/iobroker.systeminfo

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

                  @crunchip

                  Zu warm? Hast du den Adapter installiert?

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

                    @thomas-braun ja der Adapter läuft bei mir, hab ihn nur in der Regel aus und schalt gelegentlich die Instanz mal ein
                    gibt vllt mit dem neuen Js-controller/admin nicht mehr

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

                      @crunchip
                      Hier gibt es das:

                      echad@chet:/opt/iobroker $ ls -lAh /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js
                      -rw-rw-r--+ 1 iobroker iobroker 25K Jul  9 21:08 /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js
                      
                      crunchip 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @Thomas Braun last edited by

                        @thomas-braun sagte in Nodejs und Vis Probleme:

                        ls -lAh /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js

                        Zugriff auf '/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js' nicht möglich: Datei oder Verzeichnis nicht gefunden

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          :räusper:

                          wir befinden uns in den Einsteigerfragen!

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

                            @crunchip

                            In der Version aus dem Beta-Repo:

                                    this.D(`Adapter ${this.ains} starting.`);
                                    this.getObjectList = this.c2p(adapter.objects.getObjectList).bind(adapter.objects);
                                    this.getForeignState = this.c2p(adapter.getForeignState).bind(adapter);
                            

                            Da ist der Fehler noch drin.

                            Github kommt so daher:

                                static initAdapter() {
                                    states = {};
                                    this.D(`Adapter ${this.ains} starting.`);
                                    this.getObjectList = this.c2p(adapter.getObjectList);
                                    this.getForeignState = this.c2p(adapter.getForeignState);
                                    this.setForeignState = this.c2p(adapter.setForeignState);
                                    this.getState = this.c2p(adapter.getState);
                            
                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Homoran last edited by

                              @homoran hihi, gar nicht darauf geachtet

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

                                @homoran sagte in Nodejs und Vis Probleme:

                                wir befinden uns in den Einsteigerfragen!

                                Ich helf dem @crunchip doch gerade... 😛

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  wurschtbrot @Thomas Braun last edited by

                                  @thomas-braun jetzt überfordert ihr mich ...;)

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

                                    @wurschtbrot

                                    Installier den Adapter mal ausnahmsweise 'über die Katze' / aus dem GitHub.
                                    Da ist der Fehler raus.

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

                                      @thomas-braun sagte in Nodejs und Vis Probleme:

                                      In der Version aus dem Beta-Repo:

                                      system.adapter.info : info - v1.9.26
                                      läuft bei mir

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

                                        @crunchip

                                        Wir sprechen aber über

                                        iobroker.systeminfo@0.3.0
                                        
                                        crunchip 1 Reply Last reply Reply Quote 0
                                        • W
                                          wurschtbrot @Thomas Braun last edited by

                                          @thomas-braun mit 0.3.0 läuft er sobald ich das update mache was er dann anzeigt ist es wieder rot 😉

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

                                            @wurschtbrot

                                            echad@chet:~ $ cd /opt/iobroker/ && npm ls | grep systeminfo
                                            

                                            Muss sowas zurückliefern

                                            ├── iobroker.systeminfo@0.3.0 (git+ssh://git@github.com/frankjoke/ioBroker.systeminfo.git#114c670ea3802be0bbdaced9c0d115ea61f4b5d9)
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            619
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            47
                                            1867
                                            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