Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Error/Bug
  4. Installisation Javascript (Scriptausführung Adapter)

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    774

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Installisation Javascript (Scriptausführung Adapter)

Geplant Angeheftet Gesperrt Verschoben Error/Bug
5 Beiträge 3 Kommentatoren 696 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.
  • T Offline
    T Offline
    trilfitz
    schrieb am zuletzt editiert von
    #1

    Hallo Ihr,

    bei der Installisation vom Adapter Scriptausführung erhalte ich folgenden Fehler:

    "Fertig mit Fehler: host.raspberrypi Cannot install iobroker.javascript: 243"

    Habt ihr einen Tipp für mich?

    Vielen Dank schon mal :)

    root@raspberrypi:/opt/iobroker# npm install iobroker.javascript --production --save --prefix
    npm WARN invalid config prefix=true
    npm WARN invalid config Must be a valid filesystem path
    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
    
    > iobroker.javascript@4.0.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
    > node ./install/installTypings.js
    
    installing NodeJS typings...
    npm ERR! path /root/.npm/_logs
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall scandir
    npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    npm ERR!  { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    npm ERR!   stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'scandir',
    npm ERR!   path: '/root/.npm/_logs' }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-check the
    npm ERR! permissions of the file and its containing directories, or try running
    npm ERR! the command again as root/Administrator (though this is not recommended).
    glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
      stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
      errno: -13,
      code: 'EACCES',
      syscall: 'scandir',
      path: '/root/.npm/_logs' }
    npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall open
    npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
    npm ERR!  { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
    npm ERR!   cause:
    npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
    npm ERR!      errno: -13,
    npm ERR!      code: 'EACCES',
    npm ERR!      syscall: 'open',
    npm ERR!      path: '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' },
    npm ERR!   isOperational: true,
    npm ERR!   stack: 'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'open',
    npm ERR!   path: '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-check the
    npm ERR! permissions of the file and its containing directories, or try running
    npm ERR! the command again as root/Administrator (though this is not recommended).
    npm ERR! code ELIFECYCLE
    npm ERR! errno 243
    npm ERR! iobroker.javascript@4.0.1 postinstall: `node ./install/installTypings.js`
    npm ERR! Exit status 243
    npm ERR!
    npm ERR! Failed at the iobroker.javascript@4.0.1 postinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-12-04T21_57_15_481Z-debug.log
    root@raspberrypi:/opt/iobroker# ^C
    root@raspberrypi:/opt/iobroker# /root/.npm/_logs/2018-12-04T21_57_15_481Z-debug.log
    bash: /root/.npm/_logs/2018-12-04T21_57_15_481Z-debug.log: Permission denied
    root@raspberrypi:/opt/iobroker# sudo /root/.npm/_logs/2018-12-04T21_57_15_481Z-debug.log
    sudo: /root/.npm/_logs/2018-12-04T21_57_15_481Z-debug.log: command not found
    root@raspberrypi:/opt/iobroker# npm install iobroker.javascript --production --save
    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
    
    > iobroker.javascript@4.0.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
    > node ./install/installTypings.js
    
    installing NodeJS typings...
    npm ERR! path /root/.npm/_logs
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall scandir
    npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    npm ERR!  { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    npm ERR!   stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'scandir',
    npm ERR!   path: '/root/.npm/_logs' }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-check the
    npm ERR! permissions of the file and its containing directories, or try running
    npm ERR! the command again as root/Administrator (though this is not recommended).
    glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
      stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'',
      errno: -13,
      code: 'EACCES',
      syscall: 'scandir',
      path: '/root/.npm/_logs' }
    npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall open
    npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
    npm ERR!  { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
    npm ERR!   cause:
    npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
    npm ERR!      errno: -13,
    npm ERR!      code: 'EACCES',
    npm ERR!      syscall: 'open',
    npm ERR!      path: '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' },
    npm ERR!   isOperational: true,
    npm ERR!   stack: 'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'open',
    npm ERR!   path: '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-check the
    npm ERR! permissions of the file and its containing directories, or try running
    npm ERR! the command again as root/Administrator (though this is not recommended).
    npm ERR! code ELIFECYCLE
    npm ERR! errno 243
    npm ERR! iobroker.javascript@4.0.1 postinstall: `node ./install/installTypings.js`
    npm ERR! Exit status 243
    npm ERR!
    npm ERR! Failed at the iobroker.javascript@4.0.1 postinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-12-04T21_59_09_576Z-debug.log
    
    1 Antwort Letzte Antwort
    0
    • ? Offline
      ? Offline
      Ein ehemaliger Benutzer
      schrieb am zuletzt editiert von
      #2

      Schau mal da….

      viewtopic.php?f=20&t=19155

      und da

      viewtopic.php?f=22&t=19182

      1 Antwort Letzte Antwort
      0
      • T Offline
        T Offline
        trilfitz
        schrieb am zuletzt editiert von
        #3

        Danke Menne,

        ich werde es heute abend mal ausprobieren. Wenn ich das richtig gelesen haben ist das mögliche Problem das ich ein kleines L bei einem Kommentar geschrieben habe.

        Ich werde berichten ob es daran lag.

        1 Antwort Letzte Antwort
        0
        • AlCalzoneA Offline
          AlCalzoneA Offline
          AlCalzone
          Developer
          schrieb am zuletzt editiert von
          #4

          Bei dir wurde irgendeine Installation mit sudo durchgeführt und hat die Berechtigungen zerschossen:

          EACCES: permission denied, scandir '/root/.npm/_logs'
          

          Folgender Befehl auf der Konsole sollte das beheben:

          sudo chown -R $(whoami) ~/.npm
          

          Danach nochmal JavaScript-Adapter installieren.

          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

          1 Antwort Letzte Antwort
          0
          • T Offline
            T Offline
            trilfitz
            schrieb am zuletzt editiert von
            #5

            Danke AlCalzone!

            Dein Code hat geholfen. :)

            1 Antwort Letzte Antwort
            0

            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

            Registrieren Anmelden
            Antworten
            • In einem neuen Thema antworten
            Anmelden zum Antworten
            • Älteste zuerst
            • Neuste zuerst
            • Meiste Stimmen


            Support us

            ioBroker
            Community Adapters
            Donate

            625

            Online

            32.8k

            Benutzer

            82.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