Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Script Engine 4.3.4 zu 4.6.17 funktioniert nicht

    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

    SOLVED Script Engine 4.3.4 zu 4.6.17 funktioniert nicht

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

      @Thomas-Braun

      npm ERR! Remove the existing file and try again, or run npm
      npm ERR! with --force to overwrite files recklessly.

      siehe oben

      ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wake: is outside /opt/iobroker/node_modules/iobroker.javascript/node_modules/wake_on_lan and not a linknpm ERR! File exists: /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wakenpm ERR! Remove the existing file and try again, or run npmnpm ERR! with --force to overwrite files recklessly.
      

      Remove the existing file and try again

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

        @Ibot
        Versuch es mal mit

        iobroker install --force javascript@4.6.17
        

        Wobei ich noch nie ausprobiert habe ob --force auch mit iobroker statt npm funktioniert.

        Und setz bitte CodeTags. Ich hab nämlich keine Lust den Kram so zu lesen!

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

          @Glasfaser Hab ich natürlich gesehen. Wollte aber nicht direkt die Holzhammermethode anwenden.

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

            @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

            die Holzhammermethode anwenden.

            😁

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

              @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

              Und setz bitte CodeTags. Ich hab nämlich keine Lust den Kram so zu lesen!

              @Ibot

              Hier dein Code
              

              Kuddel1.gif

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

                Das ganz riecht wieder nach 'irgendwie im System als root rumgefuhrwerkt' oder das Dateisystem hat 'nen Schuss. Jedenfalls scheint da ein symlink ins Leere zu laufen oder durch die bin ersetzt worden zu sein.

                iobroker version
                

                liefert was?

                Glasfaser I 2 Replies Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Thomas Braun last edited by Glasfaser

                  @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                  ins Leere zu laufen oder durch die bin ersetzt worden zu sein.

                  Deshalb wir nie ein Update gelingen , da zuvor alles im Ordner / .bin /

                   /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/
                  

                  installiert wurde , was so nicht sein sollte ....

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

                    @Glasfaser Stimmt.
                    Müsste so aussehen:

                    pi@raspberrypi:~ $ cd /opt/iobroker/node_modules/.bin/
                    pi@raspberrypi:/opt/iobroker/node_modules/.bin $ ls -la | grep wake
                    lrwxrwxrwx    1 iobroker iobroker    19 Apr 12 13:04 wake -> ../wake_on_lan/wake
                    pi@raspberrypi:/opt/iobroker/node_modules/.bin $
                    

                    Da ist wohl mal javascript von Hand im falschen Verzeichnis installiert worden.

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

                      @Ibot

                      pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/.bin/wake
                      lrwxrwxrwx 1 iobroker iobroker 19 Apr 12 13:04 /opt/iobroker/node_modules/.bin/wake -> ../wake_on_lan/wake
                      pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/wake_on_lan/wake
                      -rwxrwxr-x+ 1 iobroker iobroker 1611 Mai 20  2018 /opt/iobroker/node_modules/wake_on_lan/wake
                      

                      Sieht das bei dir so aus?

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        Ibot @Thomas Braun last edited by Homoran

                        @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                        iobroker install --force javascript@4.6.17

                        Hallo, funktioniert leider nicht

                        pi@raspberrypi:~ $ iobroker install --force javascript@4.6.17
                        /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:441
                                    if (name.indexOf('@') !== -1) {
                                             ^
                        
                        TypeError: Cannot read property 'indexOf' of undefined
                            at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:441:22)
                            at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2601:5)
                            at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
                            at Module._compile (internal/modules/cjs/loader.js:1137:30)
                            at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
                            at Module.load (internal/modules/cjs/loader.js:985:32)
                            at Function.Module._load (internal/modules/cjs/loader.js:878:14)
                            at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
                            at internal/main/run_main_module.js:17:47
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • I
                          Ibot @Thomas Braun last edited by

                          @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                          iobroker version

                          pi@raspberrypi:~ $ iobroker version
                          3.1.6
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • I
                            Ibot @Thomas Braun last edited by

                            @Thomas-Braun
                            was muss ich eingeben um das zu sehen?

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

                              @Ibot Die beiden Zeilen mit ls -la usw.
                              Die Pfade sind absolut, das passt dann so

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                Ibot @Thomas Braun last edited by Homoran

                                @Thomas-Braun du meinst hiervon die erste und die dritte?

                                pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/.bin/wake
                                lrwxrwxrwx 1 iobroker iobroker 19 Apr 12 13:04 /opt/iobroker/node_modules/.bin/wake -> ../wake_on_lan/wake
                                pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/wake_on_lan/wake
                                -rwxrwxr-x+ 1 iobroker iobroker 1611 Mai 20  2018 /opt/iobroker/node_modules/wake_on_lan/wake
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Ibot last edited by

                                  @Ibot Ja.

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    Ibot @Thomas Braun last edited by

                                    @Thomas-Braun da schreib er Komando nicht gefunden in die Konsole ich glaube ich mache noch irgend was falsch...

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

                                      @Ibot Das kannst du sogar per Copy&Paste rüber kopieren.
                                      Und wenn du die komplette Ein- und Ausgabe posten würdest könnte man dir auch helfen.

                                      I 1 Reply Last reply Reply Quote 0
                                      • I
                                        Ibot @Thomas Braun last edited by

                                        @Thomas-Braun habe ich probiert```
                                        pi@raspberrypi:~ $ pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/.bin/wake
                                        -bash: pi@raspberrypi:~: Kommando nicht gefunden.
                                        pi@raspberrypi:~ $ pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/wake_on_lan/wake
                                        -bash: pi@raspberrypi:~: Kommando nicht gefunden.
                                        pi@raspberrypi:~ $

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

                                          @Ibot
                                          Ja nur den Teil ab

                                          ls -la
                                          

                                          kopieren/eingeben.
                                          Der erste Teil ist der Prompt

                                          I 1 Reply Last reply Reply Quote 0
                                          • I
                                            Ibot @Thomas Braun last edited by

                                            @Thomas-Braun sieht jetzt so aus

                                            pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/.bin/wake
                                            lrwxrwxrwx 1 iobroker iobroker 19 Okt 10  2019 /opt/iobroker/node_modules/.bin/wake -> ../wake_on_lan/wake
                                            pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/wake_on_lan/wake
                                            -rwxrwxr-x+ 1 iobroker iobroker 1611 Mai 20  2018 /opt/iobroker/node_modules/wake_on_lan/wake
                                            pi@raspberrypi:~ $
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            865
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            funktioniertnicht skript engine update fehler
                                            3
                                            31
                                            985
                                            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