Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Fehlermeldungen (dev-server) beim öffen der Config

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fehlermeldungen (dev-server) beim öffen der Config

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

      @ben1983
      exakt weiß ich es nicht, aber mehrere monate sind es schon.
      ich habe das gefühl das es mit der build-kette react zu tun hat

      Ben1983 1 Reply Last reply Reply Quote 0
      • Ben1983
        Ben1983 @OliverIO last edited by

        @oliverio OK. Ich habe es jetzt mal ignoriert und einen neuen patch erzeugt.

        OliverIO mcm1957 2 Replies Last reply Reply Quote 0
        • OliverIO
          OliverIO @Ben1983 last edited by OliverIO

          @ben1983
          ja genau, so hab ich das auch gemacht.
          ich habe auch gelernt das sich issue anlegen nicht lohnt, da es eh nicht bearbeitet wird bzw. einfach unbearbeitet geschlossen wird.
          aber wahrscheinlich hab ich da einen fehler gemacht oder mich geirrt.
          hatte zumindest auch was mit einem schema zu tun

          apollon77 1 Reply Last reply Reply Quote 0
          • mcm1957
            mcm1957 @Ben1983 last edited by

            @ben1983 said in Fehlermeldungen (dev-server) beim öffen der Config:

            @oliverio OK. Ich habe es jetzt mal ignoriert und einen neuen patch erzeugt.

            Hast du den Fehler nur mit dem dev-server oder auch der normale Adapter?

            Wenn der Fehler auch bei einem normal installierten Adapter auftritt, geh dem Problem bite nach . Da stimmte dann entweder was bei deinem jsonConfig nicht oder es ist ein Fehler im Prüfschema. Falls Letzteres vermutet wird, mach bitte ein Issue auf (https://github.com/ioBroker/adapter-react-v5/issues/new/choose) und ignorier mal OliversIO's unqualifizierten Output. Keine Ahnung was ihm über die Leber gelaufen ist - wie man so schön sagt.

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @OliverIO last edited by

              @oliverio

              lohnt, da es eh nicht bearbeitet wird bzw. einfach unbearbeitet geschlossen wird.

              Dann hast Du leider was falsches gelernt. Unbearbeitet schließen kenne ich an sich nicht. Lange Bearbeitungsgebühr hängen von verschiedenen details ab und das generell zu diskutieren macht wenig Sinn.

              OliverIO 1 Reply Last reply Reply Quote 0
              • OliverIO
                OliverIO @apollon77 last edited by

                @apollon77
                https://github.com/ioBroker/ioBroker.js-controller/issues/2818

                Ich habe gesehen, mcm hat mittlerweile dann wohl den Issue bei vis2 erfasst..
                Wie gesagt, issue schließen, ohne commit oder entsprechenden Kommentar fördert nicht unbedingt die Motivationen oder Mitarbeit der community
                Wenn ein issue im falschen Repo ist, könnt ihr ihn ja auch verschieben.

                Aber wie gesagt, wahrscheinlich hab ich was falsch gemacht

                oweitman created this issue in ioBroker/ioBroker.js-controller

                closed [bug]: incorrect schema for io-package.json #2818

                1 Reply Last reply Reply Quote 0
                • M
                  MCU last edited by MCU

                  Ich hänge mich mal hier dran.
                  Versuche mal ein wenig mit dem dev-server.
                  Mir fehlt so ein wenig die Info, in welcher Datei was drin stehen muss damit es ohne Probleme läuft.

                  Meine Problemchen sind:

                  • auch wie oben beschrieben jede Menge an error-Anzeigen
                  2024-11-02 00:41:59.275  - debug: host.dev-jarvis-extensions-iobroker-dev Incoming Host message getHostInfo
                  strict mode: missing type "object" for keyword "properties" at "#/if" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "items" is not defined at "#/properties/items/patternProperties/%5E.%2B/allOf/9/then/oneOf/0" (strictRequired)
                  strict mode: required property "#include" is not defined at "#/properties/items/patternProperties/%5E.%2B/allOf/9/then/oneOf/1" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "items" is not defined at "#/patternProperties/%5E.%2B/allOf/9/then/oneOf/0" (strictRequired)
                  strict mode: required property "#include" is not defined at "#/patternProperties/%5E.%2B/allOf/9/then/oneOf/1" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/sendToProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/sendToProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/sendToProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/stateProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/passwordProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/passwordProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/passwordProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/checkboxProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/checkboxProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/checkboxProps" (strictTypes)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/fileSelectorProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/fileSelectorProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/fileSelectorProps" (strictTypes)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/numberProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/numberProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/numberProps" (strictTypes)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/qrCodeProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/qrCodeProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/qrCodeProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/cronProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/cronProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/0" (strictTypes)
                  strict mode: required property "complex" is not defined at "#/definitions/cronProps/oneOf/0" (strictRequired)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/1" (strictTypes)
                  
                  strict mode: required property "simple" is not defined at "#/definitions/cronProps/oneOf/1" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/deviceManagerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/deviceManagerProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/deviceManagerProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
                  
                  strict mode: use allowUnionTypes to allow union type keyword at "#/properties/width" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "items" is not defined at "#/items/allOf/10/then/allOf/1/oneOf/0" (strictRequired)
                  
                  strict mode: required property "#include" is not defined at "#/items/allOf/10/then/allOf/1/oneOf/1" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: required property "complex" is not defined at "#/items/allOf/21/then/oneOf/0" (strictRequired)
                  strict mode: required property "simple" is not defined at "#/items/allOf/21/then/oneOf/1" (strictRequired)
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/instanceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/instanceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/instanceProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/objectIdProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/objectIdProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/objectIdProps" (strictTypes)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/timePickerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/timePickerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/timePickerProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/coordinatesProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/coordinatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/coordinatesProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/interfaceProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/interfaceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/interfaceProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/stateProps" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/sendToProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/sendToProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/sendToProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/stateProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/stateProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/passwordProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/passwordProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/passwordProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/checkboxProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/checkboxProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/checkboxProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/fileSelectorProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/fileSelectorProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/fileSelectorProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/numberProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/numberProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/numberProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/qrCodeProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/qrCodeProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/qrCodeProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/cronProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/cronProps" (strictTypes)
                  strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/0" (strictTypes)
                  
                  strict mode: required property "complex" is not defined at "#/definitions/cronProps/oneOf/0" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/1" (strictTypes)
                  strict mode: required property "simple" is not defined at "#/definitions/cronProps/oneOf/1" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/deviceManagerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/deviceManagerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/deviceManagerProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/instanceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/instanceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/instanceProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/objectIdProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/objectIdProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/objectIdProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/timePickerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/timePickerProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/timePickerProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/coordinatesProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/coordinatesProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/coordinatesProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/interfaceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/interfaceProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/interfaceProps" (strictTypes)
                  
                  strict mode: missing type "object" for keyword "required" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/stateProps" (strictTypes)
                  strict mode: missing type "object" for keyword "properties" at "#/definitions/stateProps" (strictTypes)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                  
                  

                  Als schema habe ich

                  "$schema": "http://json-schema.org/draft-07/schema#",
                  

                  ist das richtig? oder muss da was anderes hinein?

                  https://github.com/ioBroker/adapter-react-v5/blob/main/schemas/jsonConfig.json
                  
                  • habe beim Creator fälschlicherweise VIS angeklickt, jetzt bekomme ich den Fehler
                    -> wie bekomme ich den wieder weg? Möchte erstmal nicht mit / für VIS entwickeln
                    wo steht der entsprechende Eintrag in der io-package.json / package,json ?
                  2024-11-02 00:42:04.096  - error: host.dev-jarvis-extensions-iobroker-dev cannot call visUtils: Not exists
                  
                  • Warum werden die Dateien im .devserver-Verzeichnis nicht aktualisiert? Bzw. wie werden sie dort aktualisiert?
                    Welcher Befehl muss genutzt werden?

                  .devserver
                  1f1f5598-79fd-40a2-b088-6e6126f968c9-image.png

                  admin
                  044ca7bf-ccfc-432d-a616-b039ee386643-image.png

                  ich ändere im admin-Verzeichnis und rufe dann dev-server watch im Adapter-Ordner auf.

                  • Wo finde ich die zugehörige Datei? dev-jarvis-extensions-iobroker-dev
                  startInstance system.adapter.jarvis-extensions.0 Adapter dependency not fulfilled on "dev-jarvis-extensions-iobroker-dev": required adapter "vis" not found!
                  
                  /* es scheint mit der package.json im .devserver zusammenzuhängen */
                  /* package.json, dort muss der iobroker.vis-Eintrag sehr wahrscheinlich raus */
                  {
                      "name":"dev-server.jarvis-extensions",
                      "version":"1.0.0",
                      "private":true,
                      "dependencies":{
                          "iobroker.admin":"latest",
                          "iobroker.backitup":"3.0.26",
                          "iobroker.jarvis-extensions":"file:../../iobroker.jarvis-extensions-0.0.1.tgz",
                          "iobroker.js-controller":"latest",
                          "iobroker.socketio":"6.7.1",
                          "iobroker.vis":"1.5.6",
                          "iobroker.web":"6.3.1",
                          "iobroker.ws":"2.6.2"
                      },
                      "dev-server":{
                          "adminPort":8081,
                          "useSymlinks":false
                      },
                      "overrides":{
                          "@iobroker/adapter-core":"^3.2.1"
                      }
                  }
                  
                  
                  /* irgendwie doch nicht */
                  system.adapter.jarvis-extensions.0 [sameHostDependency]: {"js-controller":">=3.3.22","vis":"*"}
                  

                  Vielen Dank

                  OliverIO mcm1957 2 Replies Last reply Reply Quote 0
                  • OliverIO
                    OliverIO @MCU last edited by

                    ich versuche mal, soweit ich weiß

                    @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                    die erscheinen nur bei der entwicklung, die kannst du ignorieren. ich glaube, die müssten weg sein, wenn m,an auf "@iobroker/adapter-core": "^3.2.2", aktualisiert.

                    2024-11-02 00:41:59.275  - debug: host.dev-jarvis-extensions-iobroker-dev Incoming Host message getHostInfo
                    strict mode: missing type "object" for keyword "properties" at "#/if" (strictTypes)
                    
                    strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
                    
                    strict mode: required property "en" is not defined at "#/definitions/multilingual" (strictRequired)
                    

                    wo hast du das schema?
                    wenn du die vscode settings meinst, habe ich dort das drin stehen (ausschnitt).
                    das wirkt aber nur im editor. beim build prozess hat das keine auswirkungen

                    Als schema habe ich

                    "$schema": "http://json-schema.org/draft-07/schema#",
                    

                    ist das richtig? oder muss da was anderes hinein?

                        "json.schemas": [
                            {
                                "fileMatch": ["io-package.json"],
                                "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
                            },
                            {
                                "fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"],
                                "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
                            }
                        ],
                    
                    https://github.com/ioBroker/adapter-react-v5/blob/main/schemas/jsonConfig.json
                    

                    verzeichnis widget löschen
                    und in datei io-package.json
                    bei dependencies vis entfernen

                    • habe beim Creator fälschlicherweise VIS angeklickt, jetzt bekomme ich den Fehler
                      -> wie bekomme ich den wieder weg? Möchte erstmal nicht mit / für VIS entwickeln

                    was soll dieser schnipfel sagen, wahrscheinlich hängt das mit der dependency in package.json weiter unten zusammen.

                    2024-11-02 00:42:04.096  - error: host.dev-jarvis-extensions-iobroker-dev cannot call visUtils: Not exists
                    

                    wann wird etwas nicht aktualisiert wenn du WAS machst?
                    package.json und io-package.json wird nicht automatisch im dev-server aktualisiert
                    da muss man dann mit dem dev-server upload machen.
                    ansonsten werden alle anderen dateien eigentlich schon aktualisiert (admin, adapter und auch widget-dateien für vis, bei letzterem muss man aber noch was machen, aber das brauchst du ja nicht.)

                    • Warum werden die Dateien im .devserver-Verzeichnis nicht aktualisiert? Bzw. wie werden sie dort aktualisiert?
                      Welcher Befehl muss genutzt werden?
                    • Wo finde ich die zugehörige Datei? dev-jarvis-extensions-iobroker-dev

                    lokal auf der festplatte des erstellers. in der package.json siehst du ja die dependency

                            "iobroker.jarvis-extensions":"file:../../iobroker.jarvis-extensions-0.0.1.tgz",
                    

                    diese zeigt auf die eigene festplatte. das macht man aus gründen der dynamischen entwicklung, wenn man separate repositories für bestimmte anteile verwendet. sollte beim publish aber aufgelöst werden, da das nie für andere funktionieren kann.

                    M 1 Reply Last reply Reply Quote 1
                    • mcm1957
                      mcm1957 @MCU last edited by

                      @mcu

                      Generell sind Fragen zur Entwicklung / Entwicklungsumgebung in unseren Telegram Channels (Invites unter hhtps://www.iobroker.dev) besser aufgehoben da sie dort Entwickeler gezielter erreichen.

                      Inwieweit der dev-server zur Entwicklung von REACT taugt stell ich jetzt mal als Frage in den Raum. Wirkliche React Kenner gibt es nur seeehr wenige.

                      OliverIO M 2 Replies Last reply Reply Quote 1
                      • OliverIO
                        OliverIO @mcm1957 last edited by

                        @mcm1957

                        Mit dem dev-Server kann man mit react entwickeln.
                        Will er glaube ich auch nicht

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MCU @OliverIO last edited by MCU

                          @oliverio
                          Zunächst ein großes Dankeschön für die ganzen Infos. Ich taste mich langsam ran.

                          sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                          die erscheinen nur bei der entwicklung, die kannst du ignorieren. ich glaube, die müssten weg sein, wenn m,an auf "@iobroker/adapter-core": "^3.2.2", aktualisiert.

                          package,json

                          080a3c46-fd3c-47eb-9060-7d6c377809d6-image.png

                          trotzdem kommen die Warnungen / Errors

                          wo hast du das schema?

                          Ich musste das $schema in der iopackage.json eintragen, sonst kam immer ein Fehler beim Adapter-Check

                          3d8a431b-a10e-4bf1-8b71-11086d4bfa33-image.png

                          wann wird etwas nicht aktualisiert wenn du WAS machst?

                          Ich dachte, wenn ich z.B. das Icon im admin-Verzeichnis ändere, dass dann mit dev-server watch, das Icon auch im dev-server angepasst wird. Anscheinend ja nur mit dev-server upload. Muss ich jetzt mal alles probleren.

                          lokal auf der festplatte des erstellers. in der package.json siehst du ja die dependency

                          "iobroker.jarvis-extensions":"file:../../iobroker.jarvis-extensions-0.0.1.tgz",

                          Ok, aber die Datei wird wodurch erzeugt? Ich finde diese nicht.
                          Wird durch das build erstellt
                          0531bb60-8b24-4e56-9019-cee4f6b1b655-image.png

                          mcm1957 1 Reply Last reply Reply Quote 0
                          • M
                            MCU @mcm1957 last edited by

                            @mcm1957
                            Ich will zunächst den Umgang mit Adapter-Entwicklung kennenlernen. Wenn dazu auch react notwendig ist, was ja auch in jarvis genutzt wird, werde ich dies auch versuchen.
                            Den Telegram Channel werden ich nutzen, danke für die Info.

                            1 Reply Last reply Reply Quote 0
                            • M
                              MCU @OliverIO last edited by

                              @oliverio react ist sicherlich auch irgendwann ein Thema. Aber erstmal eins nach dem anderen.

                              1 Reply Last reply Reply Quote 0
                              • mcm1957
                                mcm1957 @MCU last edited by mcm1957

                                @mcu said in Fehlermeldungen (dev-server) beim öffen der Config:

                                wo hast du das schema?

                                Ich musste das $schema in der iopackage.json eintragen, sonst kam immer ein Fehler beim Adapter-Check

                                3d8a431b-a10e-4bf1-8b71-11086d4bfa33-image.png

                                $schema gehört definitiv NICHT in io-package.json. Schmeiß das wieder raus.

                                Welchen Fehler lieferte der Adapter Checker?

                                M 1 Reply Last reply Reply Quote 1
                                • OliverIO
                                  OliverIO last edited by

                                  @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                  Ich musste das $schema in der iopackage.json eintragen, sonst kam immer ein Fehler beim Adapter-Check

                                  hab ich bei keinem meiner adapter gemacht
                                  das dann mal auf dem discord-server mit den anderen abklären

                                  @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                  Ok, aber die Datei wird wodurch erzeugt? Ich finde diese nicht.
                                  Wird durch das build erstellt

                                  wo liegt den die datei, die du da anschaust?

                                  @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                  Ich dachte, wenn ich z.B. das Icon im admin-Verzeichnis ändere, dass dann mit dev-server watch, das Icon auch im dev-server angepasst wird. Anscheinend ja nur mit dev-server upload. Muss ich jetzt mal alles probleren.

                                  nein, wie geschrieben, das gehört zu den anteilen, die durch ein separaten dev-server upload befehl nur geändert werden können.

                                  @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                  Den Telegram Channel werden ich nutzen, danke für die Info.

                                  nimm discord, ich finde den komfortabler. da erscheinen auch alle nachrichten aus telegram und antworten werden wieder zurückgespielt

                                  M mcm1957 2 Replies Last reply Reply Quote 1
                                  • M
                                    MCU @mcm1957 last edited by

                                    @mcm1957
                                    War nicht im Adapter-Check sondern im VSCode, hab da einige Sachen durcheinander gebracht.
                                    Habs jetzt rausgenommen.
                                    Danke.

                                    mcm1957 1 Reply Last reply Reply Quote 0
                                    • M
                                      MCU @OliverIO last edited by MCU

                                      @oliverio sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                      nimm discord, ich finde den komfortabler.

                                      11560fb6-5c63-4cb9-962b-c92475a6a8c1-image.png

                                      Nur Join geklickt
                                      41889ec9-1c35-4a7e-a1a6-eac8f7446a82-image.png

                                      OliverIO 1 Reply Last reply Reply Quote 0
                                      • mcm1957
                                        mcm1957 @OliverIO last edited by

                                        @oliverio said in Fehlermeldungen (dev-server) beim öffen der Config:

                                        @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                        Ich musste das $schema in der iopackage.json eintragen, sonst kam immer ein Fehler beim Adapter-Check

                                        hab ich bei keinem meiner adapter gemacht
                                        das dann mal auf dem discord-server mit den anderen abklären

                                        $schema gehört definitiv nicht rein. Ich schätze das es um einen Fehler aus admin-ui geht (mangels Info schwer abschätzbar) und der Eintrag das Prüfschema überschreibt. Damit kriegt man dann auch Fehler weg.

                                        Also Eintrag raus und Fehelrmeldung auf Telegramm posten.

                                        @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                        Ich dachte, wenn ich z.B. das Icon im admin-Verzeichnis ändere, dass dann mit dev-server watch, das Icon auch im dev-server angepasst wird. Anscheinend ja nur mit dev-server upload. Muss ich jetzt mal alles probleren.

                                        nein, wie geschrieben, das gehört zu den anteilen, die durch ein separaten dev-server upload befehl nur geändert werden können.

                                        watch überwacht primär die CODETEILE des Adapters. Die UI benötigt meist ein upload. Ob watch mittlerweile jsonConfig.json schon überwacht weiß ich nicht auswendig.

                                        @mcu sagte in Fehlermeldungen (dev-server) beim öffen der Config:

                                        Den Telegram Channel werden ich nutzen, danke für die Info.

                                        nimm discord, ich finde den komfortabler. da erscheinen auch alle nachrichten aus telegram und antworten werden wieder zurückgespielt

                                        Nimm den Telegramm Channel. Die Core Entwickler sind in Telegramm und da ist alles zentral. 🙂 🙂 🙂

                                        Im Ernst - nimm das was du schon benutzt. Im Prinzip werden die Posts zwischen Telegramm in Discord gespiegelt - wenn der Bot nicht grad hängt. Wenn's dringend ist ist Telegramm der sicherere Weg wen zu erreichen. Aber Discord ist auch voll OK. Und wenn du dich dort wohlfühlst ists auch OK. Wenn du mal keien Antwort kriegst frag halt (auch) direkt in Telegramm. Ev. wurde was nicht weitergeleitet.

                                        1 Reply Last reply Reply Quote 0
                                        • mcm1957
                                          mcm1957 @MCU last edited by

                                          @mcu said in Fehlermeldungen (dev-server) beim öffen der Config:

                                          @mcm1957
                                          War nicht im Adapter-Check sondern im VSCode, hab da einige Sachen durcheinander gebracht.
                                          Habs jetzt rausgenommen.
                                          Danke.

                                          OK - müßte man auch schaun was genau gemeckert wurde 🙂
                                          Die Prüfschemas stehen da in settings.json (aber natürlich auch via gui pfelegbar).
                                          Sollte in etwa so aussehen:

                                          {
                                              "eslint.enable": true,
                                              "json.schemas": [
                                                  {
                                                      "fileMatch": [
                                                          "io-package.json"
                                                      ],
                                                      "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
                                                  },
                                                  {
                                                      "fileMatch": [
                                                          "admin/jsonConfig.json",
                                                          "admin/jsonCustom.json",
                                                          "admin/jsonTab.json"
                                                      ],
                                                      "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
                                                  }
                                              ]
                                          }
                                          
                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            MCU @mcm1957 last edited by

                                            @mcm1957 Da stand bei mir

                                            "json.schemas": [
                                            		{
                                            			"fileMatch": ["io-package.json"],
                                            			"url": "https://json.schemastore.org/io-package"
                                            		},
                                            		{
                                            			"fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"],
                                            			"url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
                                            		}
                                            	]
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            757
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            28
                                            1009
                                            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