Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Javascript Adapter nicht mehr installierbar

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.6k

Javascript Adapter nicht mehr installierbar

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
5 Beiträge 2 Kommentatoren 840 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • P Offline
    P Offline
    PerfectAnswer
    schrieb am zuletzt editiert von
    #1

    Hallo Zusammen,

    zunächst einmal ein frohes neues Jahr Zusammen, ich hoffe ihr seid schon wieder fit für eine Problemlösung.

    Mir fiel auf, dass meine Skripte nicht mehr ausgeführt wurden. Der JavascriptAdapter lief nicht mehr und lies sich auch nicht manuell starten.

    Ich hatte dann die verrückte Idee den Adapter zu deinstallieren - was auch wunderbar klappte, allerdings bekomme ich den Adapter nicht mehr installiert. Weder über den Browser noch über die Konsole komme ich weiter.

    Hier die Fehlermeldung:

    ! host.iobroker 2019-01-01 17:40:59.403 info iobroker exit 20
    ! host.iobroker 2019-01-01 17:40:59.374 error iobroker host.iobroker error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'
    ! host.iobroker 2019-01-01 17:40:59.369 info iobroker host.iobroker create instance javascript
    ! host.iobroker 2019-01-01 17:40:59.014 info iobroker npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
    ! host.iobroker 2019-01-01 17:40:59.013 info iobroker
    ! host.iobroker 2019-01-01 17:40:58.688 info iobroker node ./install/installTypings.jsnpm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.javascript npm ERR! Or if that isn't availa
    ! host.iobroker 2019-01-01 17:40:58.687 info iobroker Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the iobroker.javascript package, npm ERR! not with npm itself. npm E
    ! host.iobroker 2019-01-01 17:40:58.686 info iobroker ERR! Failed at the iobroker.javascript@4.0.7 postinstall script 'node ./install/installTypings.js'.npm ERR!
    ! host.iobroker 2019-01-01 17:40:58.671 info iobroker ERR! iobroker.javascript@4.0.7 postinstall: node ./install/installTypings.jsnpm ERR! Exit status 1 npm ERR! npm
    ! host.iobroker 2019-01-01 17:40:58.667 info iobroker npm ERR! Linux 3.10.102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.javascript" "–production" "--save" "--prefix" "/opt/iobroker" npm ERR! node v6.14.4 npm ERR! npm v3.1
    ! host.iobroker 2019-01-01 17:40:58.660 info iobroker npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none was installed.npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none was inst
    ! host.iobroker 2019-01-01 17:40:58.658 info iobroker npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/choices-separator/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_
    ! host.iobroker 2019-01-01 17:40:58.657 info iobroker WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: U
    ! host.iobroker 2019-01-01 17:40:58.656 info iobroker npm
    ! host.iobroker 2019-01-01 17:40:50.894 info iobroker module.js:478 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/install/installTypings.js' at Function.Module._resolveFilename (module.js:476:
    ! host.iobroker 2019-01-01 17:39:01.404 info iobroker WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
    ! host.iobroker 2019-01-01 17:39:01.403 info iobroker npm
    ! host.iobroker 2019-01-01 17:37:55.454 info iobroker npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call)

    Hat jemand eine Idee was ich machen könnte? Der Rest vom IOBroker schnurrt vor sich hin, aber meine Skripte vermisse ich schon…

    Das ganze läuft übrigens im Docker Container auf einem Synology NAS.

    Besten Gruß

    Bernd

    1 Antwort Letzte Antwort
    0
    • wendy2702W Online
      wendy2702W Online
      wendy2702
      schrieb am zuletzt editiert von
      #2

      Also bezüglich den "React" meldungen gibt es hier etwas: viewtopic.php?f=20&t=20049&p=209772&hilit=react#p209772

      Leider sind die Zeilen des Logs abgeschnitten wie es aussieht. Kannst du das mal direkt aus dem iobroker logfile unter /opt/iobroker/logs/ kopieren?

      Hast du einfach mal versucht die eine Instanz hinzuzufügen?

      Bitte keine Fragen per PN, die gehören ins Forum!

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

      1 Antwort Letzte Antwort
      0
      • P Offline
        P Offline
        PerfectAnswer
        schrieb am zuletzt editiert von
        #3

        Danke für den Hinweis.

        Ja, ich habe bereits mehrfach versucht die Instanz neu hinzuzufügen. Klappt leider nicht.

        Ich habe als Anhang noch die npm-debug.log angehängt, in der Hoffnung das die etwas mehr aussagt.

        node ist Version 6.14.4 installiert.

        Hier das log anch der versuchten Installation:

        ! 2018-12-31 16:42:38.285 - [32minfo[39m: iobroker module.js:478 throw err;
        ! ^
        ! Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/install/installTypings.js'
        ! at Function.Module._resolveFilename (module.js:476:15)
        ! at Function.Module._load (module.js:424:25)
        ! at Module.runMain (module.js:611:10)
        ! at run (bootstrap_node.js:394:7)
        ! at startup (bootstrap_node.js:160:9)
        ! at bootstrap_node.js:507:3
        ! 2018-12-31 16:42:46.818 - [32minfo[39m: iobroker npm
        ! 2018-12-31 16:42:46.822 - [32minfo[39m: iobroker WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
        ! npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/choices-separator/package.json'
        ! npm
        ! 2018-12-31 16:42:46.825 - [32minfo[39m: iobroker WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/clone-deep/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-abi/package.json'
        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prebuild-install/package.json'
        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/serialport/package.json'
        ! npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none was installed.
        ! npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none was installed.
        ! 2018-12-31 16:42:46.828 - [32minfo[39m: iobroker npm WARN react-redux@5.1.1 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none was installed.npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none was installed.
        ! npm WARN react-beautiful-dnd@9.0.2 requires a peer of react@^16.3.1 but none was installed.
        ! 2018-12-31 16:42:46.831 - [32minfo[39m: iobroker npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none was installed.npm WARN
        ! 2018-12-31 16:42:46.837 - [32minfo[39m: iobroker react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none was installed.npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none was installed.
        ! 2018-12-31 16:42:46.847 - [32minfo[39m: iobroker npm
        ! 2018-12-31 16:42:46.850 - [32minfo[39m: iobroker ERR! Linux 3.10.102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.javascript" "–production" "--save" "--prefix" "/opt/iobroker"
        ! npm ERR! node v6.14.4
        ! npm ERR! npm v3.10.10
        ! npm ERR!
        ! 2018-12-31 16:42:46.853 - [32minfo[39m: iobroker code ELIFECYCLE
        ! npm
        ! 2018-12-31 16:42:46.860 - [32minfo[39m: iobroker ERR! iobroker.javascript@4.0.7 postinstall: node ./install/installTypings.jsnpm ERR! Exit status 1
        ! npm ERR!
        ! npm ERR! Failed at the iobroker.javascript@4.0.7 postinstall script 'node ./install/installTypings.js'.
        ! npm ERR! Make sure you have the latest version of node.js and npm installed.
        ! npm ERR! If you do, this is most likely a problem with the iobroker.javascript package,
        ! npm ERR! not with npm itself.
        ! npm ERR! Tell the author that this fails on your system:
        ! npm ERR! node ./install/installTypings.js
        ! npm ERR! You can get information on how to open an issue for this project with:
        ! npm ERR! npm bugs iobroker.javascript
        ! npm ERR! Or if that isn't available, you can get their info via:
        ! npm ERR! npm owner ls iobroker.javascript
        ! npm ERR!
        1161_npm-debug.log

        1 Antwort Letzte Antwort
        0
        • P Offline
          P Offline
          PerfectAnswer
          schrieb am zuletzt editiert von
          #4

          Hallo Zusammen,

          hat wirklich niemand eine Idee was ich hier machen kann?

          Irgendwie müsste ich doch den Adapter manuell installieren können, aber wie?

          Besten Gruß

          Bernd

          1 Antwort Letzte Antwort
          0
          • wendy2702W Online
            wendy2702W Online
            wendy2702
            schrieb am zuletzt editiert von
            #5

            Ich befürchte deine NPM Version ist zu alt –>

            npm ERR! npm v3.10.10
            npm ERR! 
            2018-12-31 16:42:46.853 - [32minfo[39m: iobroker code ELIFECYCLE
            npm 
            

            Bitte keine Fragen per PN, die gehören ins Forum!

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

            1 Antwort Letzte Antwort
            0
            Antworten
            • In einem neuen Thema antworten
            Anmelden zum Antworten
            • Älteste zuerst
            • Neuste zuerst
            • Meiste Stimmen


            Support us

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

            706

            Online

            32.5k

            Benutzer

            81.7k

            Themen

            1.3m

            Beiträge
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
            ioBroker Community 2014-2025
            logo
            • Anmelden

            • Du hast noch kein Konto? Registrieren

            • Anmelden oder registrieren, um zu suchen
            • Erster Beitrag
              Letzter Beitrag
            0
            • Home
            • Aktuell
            • Tags
            • Ungelesen 0
            • Kategorien
            • Unreplied
            • Beliebt
            • GitHub
            • Docu
            • Hilfe