Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Typescript compilation error global folder js adapter 6.0.0

    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

    Typescript compilation error global folder js adapter 6.0.0

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

      @erdymurphy sagte in Typescript compilation error global folder js adapter 6.0.0:

      dass ein Node-Update die Lösung sein könnte.

      Habe nur deinen alten NodeJS stand gesehen .
      Bei Typescript muss dir jemand anderes helfen .

      1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @ErdyMurphy last edited by

        @erdymurphy sagte in Typescript compilation error global folder js adapter 6.0.0:

        Oder muss ich sonst noch etwas aktualisieren

        Zeige mal :

        cd /opt/iobroker
        npm ls | grep -E 'github.com|ERR' 
        
        iobroker update -i
        
        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
        
        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @ErdyMurphy last edited by

          @erdymurphy

          Könnte das passen !?

          hier bei Github :

          https://github.com/ioBroker/ioBroker.javascript/issues/1106

          dpolakovics created this issue in ioBroker/ioBroker.javascript

          closed global script with function crashes typescript compiler #1106

          P 1 Reply Last reply Reply Quote 0
          • E
            ErdyMurphy last edited by

            @glasfaser said in Typescript compilation error global folder js adapter 6.0.0:

            https://github.com/ioBroker/ioBroker.javascript/issues/1106

            ja das passt sehr gut... muss ich mir mal überlegen ob ich TS downgrade oder alles wieder in JS umwandele... Auf jeden Fall Danke für Deine Unterstützung!

            T 1 Reply Last reply Reply Quote 0
            • P
              Peet_b @Glasfaser last edited by

              @glasfaser

              Hey, ich habe genau das selbe Problem. Wie könnte man denn TS Downgraden?

              Danke
              Peet

              T 1 Reply Last reply Reply Quote 0
              • T
                tklein @Peet_b last edited by

                @peet_b bist du da weitergekommen? habe auch das problem

                1 Reply Last reply Reply Quote 0
                • T
                  tklein @ErdyMurphy last edited by

                  @erdymurphy wie kann man ts downgraden?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mdietrich @tklein last edited by

                    @tklein Ich habe den Javascript-Adapter aus GitHub installiert. Dort wurde der Fix reingemerged. Damit klappts.

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @mdietrich last edited by Glasfaser

                      @mdietrich sagte in Typescript compilation error global folder js adapter 6.0.0:

                      aus GitHub

                      Nicht aus Github ziehen ...

                      wenn schon , dann auf die freigegebene Beta upgraden .

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tklein @Glasfaser last edited by

                        @glasfaser da zeigt er mir aber nix neueres als meine 6.0.0 an

                        8b3ff2d0-a556-48b5-82a2-2537178c4c4b-grafik.png Dann also mit einem Downgrade versuchen?

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

                          @tklein

                          iobroker update -i
                          

                          zeigen.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tklein @Thomas Braun last edited by

                            @thomas-braun da ist der 6.0.1 mit drin

                            Used repository: beta
                            Adapter    "accuweather"  : 1.2.4    , installed 1.2.1  [Updatable]
                            Adapter    "admin"        : 6.2.20   , installed 6.2.17 [Updatable]
                            Adapter    "alarm"        : 3.1.1    , installed 3.1.1
                            Adapter    "alexa2"       : 3.19.7   , installed 3.11.2 [Updatable]
                            Adapter    "apple-find-me": 0.0.14   , installed 0.0.14
                            Adapter    "backitup"     : 2.4.12   , installed 2.4.10 [Updatable]
                            Adapter    "ble"          : 0.13.0   , installed 0.13.0
                            Adapter    "bmw"          : 2.5.5    , installed 2.5.5
                            Adapter    "bring"        : 1.8.1    , installed 1.8.1
                            Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                            Adapter    "cloud"        : 4.2.2    , installed 4.2.2
                            Adapter    "coronavirus-statistics": 0.8.7, installed 0.8.7
                            Adapter    "cul"          : 2.0.2    , installed 2.0.2
                            Adapter    "daswetter"    : 3.1.4    , installed 3.1.2  [Updatable]
                            Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                            Adapter    "device-reminder": 1.2.9  , installed 1.2.9
                            Adapter    "devices"      : 1.0.12   , installed 1.0.12
                            Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                            Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                            Adapter    "echarts"      : 1.0.12   , installed 1.0.12
                            Adapter    "email"        : 1.1.3    , installed 1.1.3
                            Adapter    "fb-checkpresence": 1.1.19, installed 1.1.19
                            Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                            Adapter    "fhem"         : 1.6.3    , installed 1.6.3
                            Adapter    "flot"         : 1.11.0   , installed 1.11.0
                            Adapter    "followthesun" : 0.3.9    , installed 0.3.9
                            Adapter    "fritzbox"     : 0.5.0    , installed 0.2.1  [Updatable]
                            Adapter    "geofency"     : 1.2.2    , installed 1.1.1  [Updatable]
                            Adapter    "ham"          : 5.1.0    , installed 5.0.2  [Updatable]
                            Adapter    "history"      : 2.2.1    , installed 2.2.0  [Updatable]
                            Adapter    "homekit-controller": 0.5.1, installed 0.5.1
                            Adapter    "ical"         : 1.13.2   , installed 1.13.1 [Updatable]
                            Adapter    "influxdb"     : 3.1.8    , installed 3.1.7  [Updatable]
                            Adapter    "info"         : 1.9.19   , installed 1.9.19
                            Adapter    "intex"        : 0.0.7    , installed 0.0.7
                            Adapter    "iot"          : 1.11.9   , installed 1.11.8 [Updatable]
                            Adapter    "javascript"   : 6.0.1    , installed 6.0.0  [Updatable]
                            Controller "js-controller": 4.0.23   , installed 4.0.23
                            Adapter    "linux-control": 1.1.5    , installed 1.1.3  [Updatable]
                            Adapter    "luftdaten"    : 2.2.4    , installed 2.2.4
                            Adapter    "mclighting"   : 0.1.2    , installed 0.1.2
                            Adapter    "meross"       : 1.14.0   , installed 1.13.0 [Updatable]
                            Adapter    "milight"      : 0.3.6    , installed 0.3.6
                            Adapter    "milight-smart-light": 1.2.2, installed 1.2.2
                            Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                            Adapter    "mysensors"    : 3.0.0    , installed 3.0.0
                            Adapter    "netatmo-crawler": 0.8.1  , installed 0.8.1
                            Adapter    "nina"         : 0.0.25   , installed 0.0.25
                            Adapter    "openweathermap": 0.3.0   , installed 0.3.0
                            Adapter    "parcel"       : 0.0.20   , installed 0.0.20
                            Adapter    "ping"         : 1.5.3    , installed 1.5.3
                            Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                            Adapter    "pushover"     : 3.0.3    , installed 3.0.2  [Updatable]
                            Adapter    "radar2"       : 2.0.3    , installed 2.0.3
                            Adapter    "rest-api"     : 1.0.4    , installed 1.0.1  [Updatable]
                            Adapter    "rflink"       : 2.1.6    , installed 2.1.6
                            Adapter    "ring"         : 3.1.1    , installed 3.0.4  [Updatable]
                            Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                            Adapter    "sayit"        : 1.12.6   , installed 1.12.3 [Updatable]
                            Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                            Adapter    "schoolfree"   : 1.0.1    , installed 1.0.1
                            Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                            Adapter    "simple-api"   : 2.7.1    , installed 2.7.0  [Updatable]
                            Adapter    "smartcontrol" : 1.2.1    , installed 1.2.1
                            Adapter    "socketio"     : 6.1.10   , installed 4.2.0  [Updatable]
                            Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                            Adapter    "sonos"        : 2.2.3    , installed 2.2.3
                            Adapter    "sourceanalytix": 0.4.14  , installed 0.4.12-1 [Updatable]
                            Adapter    "spotify-premium": 1.2.2  , installed 1.2.1  [Updatable]
                            Adapter    "sql"          : 2.1.8    , installed 2.1.7  [Updatable]
                            Adapter    "systeminfo"   : 0.3.1    , installed 0.3.1
                            Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                            Adapter    "telegram"     : 1.14.1   , installed 1.14.1
                            Adapter    "terminal"     : 0.2.6    , installed 0.2.6
                            Adapter    "text2command" : 2.2.2    , installed 2.2.2
                            Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                            Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                            Adapter    "tuya"         : 3.6.15   , installed 3.6.15
                            Adapter    "vis"          : 1.4.15   , installed 1.4.15
                            Adapter    "vis-hqwidgets": 1.3.0    , installed 1.2.0  [Updatable]
                            Adapter    "vis-icontwo"  : 0.89.0   , installed 0.89.0
                            Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.1  [Updatable]
                            Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                            Adapter    "vis-weather"  : 2.5.6    , installed 2.5.5  [Updatable]
                            Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                            Adapter    "web"          : 5.2.5    , installed 4.3.0  [Updatable]
                            Adapter    "whatsapp-cmb" : 0.2.3    , installed 0.2.2  [Updatable]
                            Adapter    "wled"         : 0.6.7    , installed 0.6.7
                            Adapter    "ws"           : 2.1.5    , installed 1.3.0  [Updatable]
                            Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                            Adapter    "zigbee"       : 1.7.6    , installed 1.7.5  [Updatable]
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @tklein last edited by

                              @tklein Dann kannst du ja jetzt upgraden.

                              iobroker upgrade javascript
                              

                              Wenn du generell volles Beta-Repo fährst, upgrade den Rest auch. Wenn nur der javascript auf Beta laufen soll stell das Repository wieder auf 'stable' zurück.

                              T 2 Replies Last reply Reply Quote 0
                              • T
                                tklein @Thomas Braun last edited by

                                @thomas-braun said in Typescript compilation error global folder js adapter 6.0.0:

                                iobroker upgrade javascript

                                Danke für deine Hilfe. Ich update nur den einen und stelle dann wieder auf stable. Bin da einer von den vorsichtigen. 🙂

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tklein @Thomas Braun last edited by

                                  @thomas-braun update hat geklappt, aber adapter wird auch wieder rot.

                                  
                                  javascript.0
                                  11884	2022-09-02 10:32:29.376	error	Debug Failure. Unhandled SyntaxKind: Unknown.
                                  
                                  javascript.0
                                  11884	2022-09-02 10:32:29.376	error	Error: Debug Failure. Unhandled SyntaxKind: Unknown. at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:113075:22) at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13) at emitModuleDeclaration (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114436:13) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112799:32) at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmitWithComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116249:13) at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) at emit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112521:13) at emitListItemWithParenthesizerRule (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116742:9) at emitNodeListItems (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115493:17) at emitNodeList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115411:17) at emitList (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115376:13) at emitSourceFileWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:115062:13) at emitBodyWithDetachedComments (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:116369:17) at emitSourceFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:114981:17) at pipelineEmitWithHintWorker (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112623:24) at pipelineEmitWithHint (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112608:17) at pipelineEmit (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112548:13) at print (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112484:13) at writeFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112468:13) at printFile (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112329:13) at Object.printNode (/opt/iobroker/node_modules/iobroker.javascript/node_modules/typescript/lib/typescript.js:112313:62) at transformGlobalDeclarations (/opt/iobroker/node_modules/iobroker.javascript/lib/typescriptTools.js:496:31) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:1078:64) at processImmediate (node:internal/timers:468:21)
                                  
                                  javascript.0
                                  11884	2022-09-02 10:32:29.376	error	unhandled promise rejection: Debug Failure. Unhandled SyntaxKind: Unknown.
                                  
                                  javascript.0
                                  11884	2022-09-02 10:32:29.375	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  
                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rtamas @tklein last edited by

                                    @tklein https://github.com/ioBroker/ioBroker.javascript/issues/1132

                                    reztamas created this issue in ioBroker/ioBroker.javascript

                                    closed TypeScript global functions crash again - TS was upgraded to 4.8 however it should stay 4.7 #1132

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    757
                                    Online

                                    31.9k
                                    Users

                                    80.1k
                                    Topics

                                    1.3m
                                    Posts

                                    7
                                    21
                                    1956
                                    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