Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Fehler seit Update auf JS Engine 3.4.0

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Fehler seit Update auf JS Engine 3.4.0

Scheduled Pinned Locked Moved ioBroker Allgemein
12 Posts 3 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BluefoxB Offline
    BluefoxB Offline
    Bluefox
    wrote on last edited by
    #2

    @LDSign:

    Hallo

    Vorhin habe ich die über das Admin-UI angebotene JS Engine Version 3.4.0 installiert. Danach hat er bei mir alle (!) Adapter neu installiert und nun kommen zwei davon nicht hoch:

    Der JS-Adapter an sich:

    host.SmartHome 2017-09-13 08:48:20.516 info Restart adapter system.adapter.javascript.0 because enabled

    host.SmartHome 2017-09-13 08:48:20.516 error instance system.adapter.javascript.0 terminated with code 1 ()

    Und der hm.rega Adapter:

    host.SmartHome 2017-09-13 08:51:30.874 error startInstance hm-rega.0: cannot find start file!

    Update über die Konsole habe ich versucht. Kein Erfolg.

    Wie bekomme ich das wieder zum Laufen?

    Danke und Gruß,

    Frank `
    hm-rega:

    cd /opt/iobroker
    npm cache clean
    npm i iobroker.hm-rega --production
    
    

    javascript: Da muss man untersuchen. Dafür:

    cd /opt/iobroker
    iobroker stop javascript.0
    node node_modules/iobroker.javasciprt/javascript.js --force --logs
    
    

    Und dann schauen, was gesagt wird.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LDSign
      wrote on last edited by
      #3

      Neuinstallation von hm.rega lief durch (und funktioniert jetzt).

      node node_modules/iobroker.javasciprt/javascript.js --force --logs
      

      liefert

      module.js:491
          throw err;
          ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javasciprt/javascript.js'
          at Function.Module._resolveFilename (module.js:489:15)
          at Function.Module._load (module.js:439:25)
          at Function.Module.runMain (module.js:609:10)
          at startup (bootstrap_node.js:158:16)
          at bootstrap_node.js:598:3
      

      Danke 🙂

      1 Reply Last reply
      0
      • HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #4

        @LDSign:

        node_modules/iobroker.javasciprt/javascript.js –force --logs `

        Wirklich so?

        Gruß

        Rainer

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • L Offline
          L Offline
          LDSign
          wrote on last edited by
          #5

          Oooops - hab ich per Copy&Paste übernommen und nicht kontrolliert 😉

          node node_modules/iobroker.javascript/javascript.js --force --logs
          

          liefert jetzt

          module.js:491
              throw err;
              ^
          
          Error: Cannot find module 'coffee-script'
              at Function.Module._resolveFilename (module.js:489:15)
              at Function.Module._load (module.js:439:25)
              at Module.require (module.js:517:17)
              at require (internal/module.js:11:18)
              at Object. <anonymous>(/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js:7:10)
              at Module._compile (module.js:573:30)
              at Object.Module._extensions..js (module.js:584:10)
              at Module.load (module.js:507:32)
              at tryModuleLoad (module.js:470:12)
              at Function.Module._load (module.js:462:3)</anonymous> 
          
          1 Reply Last reply
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            wrote on last edited by
            #6

            Dann probiere mal:

            cd /opt/iobroker
            npm i iobroker.javascript --production --force
            
            
            1 Reply Last reply
            0
            • L Offline
              L Offline
              LDSign
              wrote on last edited by
              #7

              Leider nicht - gleicher Fehler wie im Einstiegspost 😞

              instance system.adapter.javascript.0 terminated with code 1 ()
              
              1 Reply Last reply
              0
              • HomoranH Do not disturb
                HomoranH Do not disturb
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #8

                Versuch es mal bitte zuerst ein

                sudo npm cache clean
                

                Und dann nochmal, wie Bluefox geschrieben hat.

                Gruß

                Rainer

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  LDSign
                  wrote on last edited by
                  #9

                  Auch nix 😞

                  "npm cache clean" scheint auch seit der 5er npm nichts mehr zu nutzen:

                  npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
                  npm ERR!
                  npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /root/.npm/_logs/2017-09-13T14_35_40_749Z-debug.log
                  
                  
                  npm cache clean --force
                  

                  Hab ich dennoch versucht - ohne Erfolg. Bin ratlos…kann ich auf die Version vor dem Update zurückgehen? Wie bekomme ich heraus, welche das war und wie spiele ich die dann ein?

                  Gruß,

                  Frank

                  1 Reply Last reply
                  0
                  • HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #10

                    @LDSign:

                    seit der 5er npm `
                    mit der habe ich nur Probleme!

                    Mein Vorschlag wäre: bitte downgrade auf 3.x (oder 4.x)

                    Gruß

                    Rainer

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    0
                    • BluefoxB Offline
                      BluefoxB Offline
                      Bluefox
                      wrote on last edited by
                      #11

                      @Homoran:

                      @LDSign:

                      seit der 5er npm `
                      mit der habe ich nur Probleme!

                      Mein Vorschlag wäre: bitte downgrade auf 3.x (oder 4.x)

                      Gruß

                      Rainer `
                      Das kann man damit machen:

                      npm i npm@latest-4 -g
                      
                      
                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        LDSign
                        wrote on last edited by
                        #12

                        Habe die 4er Version (4.6.1) von npm jetzt installiert. "npm cache clean" läuft nun wie gewohnt.

                        javascript-adapter erneut installiert (mit den Varianten oben)…als root...mit sudo...nichts 😞

                        Leider immer noch der gleiche Fehler...

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        245

                        Online

                        32.4k

                        Users

                        81.4k

                        Topics

                        1.3m

                        Posts
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        ioBroker Community 2014-2025
                        logo
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Unread 0
                        • Categories
                        • Unreplied
                        • Popular
                        • GitHub
                        • Docu
                        • Hilfe