Skip to content
  • 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
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Javascript Adapter lässt sich nicht mehr installieren.

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.9k

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

Javascript Adapter lässt sich nicht mehr installieren.

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
62 Beiträge 5 Kommentatoren 6.1k 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.
  • ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #1

    Hallo All,

    ich hatte letzte Woche den BananaPi M2 Berry bekommen. Dort habe ich erfolgreich auf einen Raspbian Stretch System iobroker installiert.

    Der P1 bekam sein Gnadenbrot. Aber trotzdem lief auch dort iobroker. Nur quälend langsam.

    Nun war die micro SD Karte zu groß (32GB) und ich hatte keine andere. Heute wollte ich iobroker auf einer 8GB Karte wieder neu aufsetzen.

    Das geht aber scheinbar nicht mehr gegenüber letzter Woche, weil npm > als 6.x.x sein muss. 4.6.1 scheitert jetzt.

    Bis da alles trotzdem gut, halt npm auf die letzte Version geupdatet.

    Was mir am Anfang nach der Installation aufgefallen ist, das der Autostart eingerichtet wurde,

    ===================================================

    Write

    systemctl daemon-reload

    systemctl enable iobroker

    systemctl start iobroker

    to enable auto-start and to start ioBroker

    ===================================================

    aber nicht geht.

    Gut, dann halt Manuell gestartet.

    Ich hatte ca. 10 Adapter installiert und nun wollte ich den Javascript installieren.

    Dann kam das:

    $ ./iobroker add javascript  --host bpi-iobroker
    NPM version: 6.4.1
    npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call)
    npm
     WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
    npm
     ERR! path /root/.npm/_logsnpm 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/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2benpm 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 ELIFECYCLEnpm 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-03T21_39_33_139Z-debug.log
    
    ERROR: host.bpi-iobroker Cannot install iobroker.javascript: 243
    ERROR: process exited with code 25
    

    Jetzt muss ich passen, da ich nicht weiter komme.

    Große Karte steckt wieder…

    node: 8.14.0

    npm: 6.4.1

    Gruß

    Menne

    1 Antwort Letzte Antwort
    0
    • Homer.J.H Offline
      Homer.J.H Offline
      Homer.J.
      schrieb am zuletzt editiert von
      #2

      Propier mal das,

      ! cd /opt/iobroker
      ! npm install iobroker.javascript@4.0.1
      ! iobroker update javascript

      1 Antwort Letzte Antwort
      0
      • eric2905E Offline
        eric2905E Offline
        eric2905
        schrieb am zuletzt editiert von
        #3

        Moin,

        @Menne:

        .Was mir am Anfang nach der Installation aufgefallen ist, das der Autostart eingerichtet wurde,

        ===================================================

        Write

        systemctl daemon-reload

        systemctl enable iobroker

        systemctl start iobroker

        to enable auto-start and to start ioBroker

        ===================================================

        aber nicht geht. `
        da steht nichts von „eingerichtet wurde“, sondern es werden die Kommandos aufgelistet, die Du manuell ausführen musst, um den Autostart einzurichten („Write …. to enable ...“).

        Das ist übrigens der „alte Weg“ der Installation. Der neue ist im entspr. Posting beschrieben (als Bekanntmachung überall zu finden).

        Du Deinem JavaScript-Problem:

        Als welcher User hast Du die Installation durchgeführt?

        Und in welchem Verzeichnis hast Du die Installation („npm ....“) ausgeführt?

        Gruß,

        Eric

        Von unterwegs getippert

        Roses are red, violets are blue,

        if I listen to metal, my neighbours do too

        1 Antwort Letzte Antwort
        0
        • ? Offline
          ? Offline
          Ein ehemaliger Benutzer
          schrieb am zuletzt editiert von
          #4

          Die Installation wurde unter Adapter ausgeführt und

          auch in der Konsole selbstverständlich mit sudo und im iobroker Verzeichnis.

          Dann habe ich wohl letzte Woche den anderen Weg genommen.

          Wer soll auf den Seiten schon den Überblick behalten.

          Ich hatte ja schon geschrieben, das ich derartige Probleme letzte Woche nicht hatte

          und brauchte keinen Autostart hinzufügen….sehr Komisch ist das...ich zweifel gerade an mir.

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

            @Menne:

            auch in der Konsole selbstverständlich mit sudo `
            Und warum mit sudo?

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

            1 Antwort Letzte Antwort
            0
            • ? Offline
              ? Offline
              Ein ehemaliger Benutzer
              schrieb am zuletzt editiert von
              #6

              Da habe ich keine Antwort zu….

              "Leute ich bin kein Anfänger".

              Ich habe schon so manchen E2 Receiver aufgesetzt.

              Zudem lief mein P1 auch schon über ein Jahr mit iobroker.

              Ich bin nach dieser Anleitung gegangen

              http://www.iobroker.net/docu/?page_id=5 ... #Allgemein

              Bitte den anderen Link.

              Es gibt für meinen Bananapi kein Image. Ihr könnt ja mal eins zur Verfügung stellen.

              1 Antwort Letzte Antwort
              0
              • eric2905E Offline
                eric2905E Offline
                eric2905
                schrieb am zuletzt editiert von
                #7

                @Menne:

                Ich hätte gern den anderen Link. `
                Der „andere“ Link ist auf der Webseite von ioBroker zu finden.

                Ebenso in dem dazugehörigen Post von mir, der in jedem Unterforum hier ganz oben als Bekanntmachung gepinnt ist…..

                @Menne:

                Es gibt für meinen Bananapi kein Image. Ihr könnt ja mal eins zur Verfügung stellen. `
                War das jetzt ein Angebot Deinerseits, ein Image zu erstellen?

                Gruß,

                Eric

                Von unterwegs getippert

                Roses are red, violets are blue,

                if I listen to metal, my neighbours do too

                1 Antwort Letzte Antwort
                0
                • ? Offline
                  ? Offline
                  Ein ehemaliger Benutzer
                  schrieb am zuletzt editiert von
                  #8

                  Da läßt sich drüber schreiben. 😉

                  1 Antwort Letzte Antwort
                  0
                  • ? Offline
                    ? Offline
                    Ein ehemaliger Benutzer
                    schrieb am zuletzt editiert von
                    #9

                    Ist auch klar mit der neuen Anleitung….ist ja auch erst gestern erschienen. 😄

                    Das ich da gestern noch nicht drüber gestolpert bin....sorry

                    1 Antwort Letzte Antwort
                    0
                    • eric2905E Offline
                      eric2905E Offline
                      eric2905
                      schrieb am zuletzt editiert von
                      #10

                      Der Post ist von gestern 6:46 Uhr und im ganzen Forum als Bekanntmachung (in jedem Unterforunm) gepostet und gepinnt.

                      Zusätzlich und annähernd zeitgleich ist es als Ankündigung bei Facebook gepostet worden.

                      Eine Mailbenachrichtigung gibt es nicht werden wir auch nicht einrichten.

                      Mehr können wir nicht tun, außer auf den Lese- und Suchwillen der User appellieren.

                      Von unterwegs getippert

                      Roses are red, violets are blue,

                      if I listen to metal, my neighbours do too

                      1 Antwort Letzte Antwort
                      0
                      • ? Offline
                        ? Offline
                        Ein ehemaliger Benutzer
                        schrieb am zuletzt editiert von
                        #11

                        In Facebook bin ich nicht vertreten…

                        und ins Forum bin ich erst nach dem Desaster gegangen.

                        Da habe ich auch nicht geschaut, was da angepinnt wurde.

                        Ich mache euch doch auch keine Vorwürfe...ist halt dumm gelaufen.

                        ...alles gut.

                        1 Antwort Letzte Antwort
                        0
                        • ? Offline
                          ? Offline
                          Ein ehemaliger Benutzer
                          schrieb am zuletzt editiert von
                          #12

                          Das ist die Fehler Ausgabe nach einer Neu Installation vom Java Script Adapter:

                          $ ./iobroker add javascript  --host bpi-iobroker
                          NPM version: 6.4.1
                          npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call)
                          Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
                          npm
                           ERR! cb() never called!
                          npm ERR! This is an error with npm itself. Please report this error at:
                          npm
                           ERR!     <https: npm.community="">
                          host.bpi-iobroker install adapter javascript
                          NPM version: 6.4.1
                          npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call)
                          Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
                          npm
                           ERR! cb() never called!
                          npm ERR! This is an error with npm itself. Please report this error at:
                          npm ERR!
                               <https: npm.community="">
                          host.bpi-iobroker install adapter javascript
                          NPM version: 6.4.1
                          npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call)
                          Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
                          npm
                           ERR! cb() never called!
                          npm ERR! This is an error with npm itself. Please report this error at:
                          npm ERR!
                               <https: npm.community="">
                          host.bpi-iobroker install adapter javascript
                          ERROR: host.bpi-iobroker Cannot install javascript
                          ERROR: process exited with code 13</https:></https:></https:>
                          

                          Ich werde jetzt via Konsole den Befehl von @Homer1976 ausführen

                          1 Antwort Letzte Antwort
                          0
                          • ? Offline
                            ? Offline
                            Ein ehemaliger Benutzer
                            schrieb am zuletzt editiert von
                            #13

                            und das ist die Ausgabe via Konsole:

                            pi@bpi-iobroker:/opt/iobroker $ npm install iobroker.javascript@4.0.1
                            npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules
                            npm ERR! path /opt/iobroker/node_modules
                            npm ERR! code EACCES
                            npm ERR! errno -13
                            npm ERR! syscall access
                            npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules'
                            npm ERR!  { Error: EACCES: permission denied, access '/opt/iobroker/node_modules'
                            npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules\'',
                            npm ERR!   errno: -13,
                            npm ERR!   code: 'EACCES',
                            npm ERR!   syscall: 'access',
                            npm ERR!   path: '/opt/iobroker/node_modules' }
                            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! A complete log of this run can be found in:
                            npm ERR!     /home/pi/.npm/_logs/2018-12-04T11_50_18_103Z-debug.log
                            
                            

                            btw…Normal editiere ich die Beiträge immer, nur möchte ich mit einem neuen Beitrag zum lesen hinweisen.

                            Anbei die Logs...

                            Habe jetzt test halber den Harmony Adapter installieren wollen...der steigt auch aus. Gestern gingen diverse noch zu insten.

                            Auch der Harmony...es waren ca. 10 Stück. Nur ging der Javascript nicht...

                            Ich fange nochmals von ganz vorne an...
                            6260_2018-12-03t21_25_13_477z-debug.log
                            6260_2018-12-04t11_50_18_103z-debug.log

                            1 Antwort Letzte Antwort
                            0
                            • ? Offline
                              ? Offline
                              Ein ehemaliger Benutzer
                              schrieb am zuletzt editiert von
                              #14

                              Bei der Installation von nodejs ist ein Fehler drin:

                              curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

                              Das große "L" ist falsch.

                              Das war gestern schon.

                              …und dort auch, bei der Installation von iobroker:

                              curl -sL https://raw.githubusercontent.com/ioBro ... staller.sh | bash -

                              1 Antwort Letzte Antwort
                              0
                              • ? Offline
                                ? Offline
                                Ein ehemaliger Benutzer
                                schrieb am zuletzt editiert von
                                #15

                                (gelöst) Gleich eine Rückmeldung:

                                Läuft …

                                Danke

                                weiter

                                viewtopic.php?f=22&t=19182

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

                                  @Menne:

                                  Bei der Installation von nodejs ist ein Fehler drin:

                                  curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

                                  Das große "L" ist falsch.

                                  Das war gestern schon.

                                  …und dort auch, bei der Installation von iobroker:

                                  curl -sL https://raw.githubusercontent.com/ioBro ... staller.sh | bash - `
                                  Was ist da falsch? Und warum?

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

                                  1 Antwort Letzte Antwort
                                  0
                                  • ? Offline
                                    ? Offline
                                    Ein ehemaliger Benutzer
                                    schrieb am zuletzt editiert von
                                    #17

                                    Weil er bei mir gemotzt hat…

                                    Sodas ich den Link ändern musste.

                                    Ich saug mir sowas nicht aus den Fingern. Das ist Fakt.

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

                                      Warum denn so gereizt? Hier will dir keiner auf die Füße treten. Nur Feedback ist für uns Entwickler deutlich hilfreicher wenn da nicht nur steht, dass etwas falsch ist und dass du etwas anders gemacht hast, sondern wenn du auch schreibst, was das Problem war (Fehlermeldung!) und wie du es behoben hast.

                                      Zu deiner Aussage:

                                      Der L-Parameter heißt erst mal nur, dass Weiterleitungen gefolgt werden soll, was durchaus Sinn macht.

                                      Der ersten Befehl den du nennst, stammt übrigens 1:1 von den Machern der NodeJS-Installations-Skripte:

                                      https://github.com/nodesource/distribut … structions

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

                                      1 Antwort Letzte Antwort
                                      0
                                      • ? Offline
                                        ? Offline
                                        Ein ehemaliger Benutzer
                                        schrieb am zuletzt editiert von
                                        #19

                                        Gereizt, keine Ahnung, nur liest es sich als wenn man wie ein Newbie nicht voll genommen wird.

                                        Ich werde mit der Installation ein paar Tage abwarten und nochmals probieren.

                                        Dann nehme ich wieder den Original Link.

                                        Iobroker ist derzeit gelöscht. (sudo rm -r iobroker)

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

                                          @Menne:

                                          Gereizt, keine Ahnung, nur liest es sich als wenn man wie ein Newbie nicht voll genommen wird. `
                                          Wenn das so scheint, dann tut mir das leid.

                                          Aber wenn jemand sagt "XY ist falsch" ohne es zu begründen oder das Problem/die Fehlermeldung zu nennen, dann frage ich halt nach, um das Problem zu verstehen.

                                          Ich weiß nämlich von anderen Leuten, dass bei ihnen die Befehle funktioniert haben.

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

                                          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

                                          307

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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