Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Javascript Adapter lässt sich nicht mehr installieren.

    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

    Javascript Adapter lässt sich nicht mehr installieren.

    This topic has been deleted. Only users with topic management privileges can see it.
    • AlCalzone
      AlCalzone Developer last edited by

      @Menne:

      Normal löse ich meine Probleme selber,

      bis ich nicht mehr weiter komme.

      Lesen hilft dabei ungemein… `
      Sorry, eins noch… ich verstehe nicht, was du mit dem Wechsel der Option -L auf -l bezweckst. Wild Groß- und Kleinschreibung bei Linux zu ändern, macht in der Regel mehr kaputt als es hilft. Hier ist es zum Glück vergleichbar mit dem Weglassen der Option.

      http://manpages.ubuntu.com/manpages/tru ... url.1.html

      -l, --list-only
                    (FTP) When listing an FTP directory, this switch forces a name-only view.  This  is
                    especially  useful  if  the  user  wants  to  machine-parse  the contents of an FTP
                    directory since the normal directory view doesn't use a standard  look  or  format.
                    When  used  like  this,  the  option causes a NLST command to be sent to the server
                    instead of LIST. [...]
      
      -L, --location
                    (HTTP/HTTPS) If the server reports that the requested page has moved to a different
                    location (indicated with a Location: header and a 3XX response code),  this  option
                    will  make  curl  redo  the  request  on  the  new place. [...]
      
      

      Zum ursprünglichen Problem:
      > Error: EACCES: permission denied, access '/opt/iobroker/node_modules'
      Irgendeine Installation, die du womöglich mit sudo ausgeführt hast, hat dir die Rechte im ioBroker-Ordner zerschossen.

      sudo chown -R pi /opt/iobroker
      

      sollte das wieder herstellen - vorausgesetzt, ioBroker wird auch unter dem user pi ausgeführt. Sonst nimm stattdessen den jeweiligen User, z.B. "iobroker":

      sudo chown -R iobroker /opt/iobroker
      

      Und um ganz sicher zu gehen:

      sudo chown -R $(whoami) ~/.npm
      
      
      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        Jupp, Danke erst einmal.

        Bevor ich wieder installiere, möchte ich auch sicher sein,

        das an npm gearbeitet wurde.

        Denn derzeit besteht ja dort ein Problem.

        Dann hat sich hier das Thema eh erledigt.

        Ich bin auch bereit für euch ein fertiges Image bereit zustellen.

        Denn für den Banana Pi M2 Berry gibt es hier keins.

        1 Reply Last reply Reply Quote 0
        • eric2905
          eric2905 last edited by

          Hier muss ich aber noch was zu loswerden….

          @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 - `
          Dir ist schon bewusst, das Du und als Team damit quasi beschuldigst, eine ungetestete Anleitung zu veröffentlichen.

          Und das alle User, die genauso installiert haben,alle den Erfolg ihrer Installation nur geträumt haben können. Die Node-Anleitung ist die letzten Monate schon so und nach der iobroker-Anleitung ist auch schon mehrfach erfolgreich installiert worden.

          @Menne:

          Weil er bei mir gemotzt hat…

          Sodas ich den Link ändern musste.

          Ich saug mir sowas nicht aus den Fingern. Das ist Fakt. `
          Und dann noch mit so einer Antwort um die Ecke zu kommen, wenn nach einer genaueren Fehlerbeschreibung/einer Fehlermeldung gefragt wird, ist für mich in kleinster Weise mehr nachvollziehbar.

          Das einzige was man damit sicherstellt, ist das einem beim nächsten Mal sicherlich mit viel Freude geholfen werden wird …. weil ja jeder, der Hilfe anbietet, gerne so angegangen wird.

          Von unterwegs getippert

          1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer last edited by

            @Menne:

            das an npm gearbeitet wurde.

            Denn derzeit besteht ja dort ein Problem. `
            npm ist nicht in unserer Hand: https://github.com/npm/cli

            Probleme sind mir auch nicht bekannt, außer man installiert nach einer veralteten Anleitung mit sudo, was neuere npm-Versionen so gar nicht mögen.

            Probier doch bitte erst mal die Installation nach der jetzt neuen und empfohlenen Vorgehensweise, die genau deswegen entwickelt wurde.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User last edited by

              OT on

              @eric2905,

              hast du was in den falschen Schlund bekommen?

              Deine Reaktion kann ich überhaupt nicht verstehen.

              Ich verstehe deine Anmacherei gegenüber von mir in keinster Weise.

              Dann schreib klip und klar was du gegen mich hast.

              Hauptsache erstmal einen klein halten und ducken lassen….ist leider nicht nur in diesem Forum so.

              Ich brauche mir so eine Unterstellung nicht bieten lassen

              OT off

              @AlCalzone,

              werde ich machen, Danke

              @AlCalzone:

              Probleme sind mir auch nicht bekannt, `
              Aber im andere Thread behauptet du was anderes.

              Ich habe gestern 2 x neu aufgesetzt nach der neuen Anleitung.

              1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer last edited by

                @Menne:

                hast du was in den falschen Schlund bekommen?

                Deine Reaktion kann ich überhaupt nicht verstehen. Les deine Kommentare bisher bitte mal aus Sicht eines Betreibers, dann kannst du es vielleicht verstehen. > Ich saug mir sowas nicht aus den Fingern. Das ist Fakt. > Das große "L" ist falsch.

                Das war gestern schon. > ich habe die Ausgabe ignoriert und das "L" geändert in "l".

                […]

                Können wir jetzt mit dem eigentlichen Thema weiter machen? `
                Und allgemeine unspezifische, leicht pampige Antworten auf spezifische Rückfragen, ohne die Rückfragen zu beantworten. Die Fragen haben in der Regel ihre Berechtigung, auch wenn sie aus deiner Sicht erst mal am Thema vorbei führen. Oft ist nämlich das "was hast du vorher getan?" wesentlich wichtiger.

                1 Reply Last reply Reply Quote 0
                • eric2905
                  eric2905 last edited by

                  @Menne:

                  Dann schreib klip und klar was du gegen mich hast. `
                  Ich habe nichts gegen Dich und das auch nie behauptet - ansonsten wo.

                  Ich habe was gegen die Art und Weise Deines Auftretens/Schreibens.

                  Du wurdest freundlich nach Infos gefragt und polterst los wie sonstwas.

                  @Menne:

                  Ich saug mir sowas nicht aus den Fingern. Das ist Fakt. `
                  @Menne:

                  Hauptsache erstmal einen klein halten und ducken lassen….ist leider nicht nur in diesem Forum so. `
                  Finde den „Fehler“

                  @Menne:

                  Ich brauche mir so eine Unterstellung nicht bieten lassen `
                  Und wo habe ich Dir was unterstellt?

                  Du schreibst, die npm-Anleitung sei falsch, also können alle User danach nicht erfolgreich installiert haben.

                  Gleiches schreibst Du zur ioBroker-Anleitung. Also kann meine Installation auch nicht laufen (keine meiner 6 Installationen nach der neuen Ankeitung).

                  Also was willst Du?

                  Von unterwegs getippert

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User last edited by

                    Wisst ihr was, ich habe kein Bock mehr.

                    Im Endeffekt wurde hier nicht weiter geholfen.

                    Nur auf den evtl. Fehler mit dem "L" herumgetrampelt, den ich leider hier gepostet habe.

                    Macht weiter so.

                    so long

                    Bitte mein Account löschen !!!

                    1 Reply Last reply Reply Quote 0
                    • AlCalzone
                      AlCalzone Developer last edited by

                      @Menne:

                      Aber im andere Thread behauptet du was anderes.

                      Ich habe gestern 2 x neu aufgesetzt nach der neuen Anleitung. `
                      npm hat kein Problem. Nur sind bei der Verwendung von sudo mit npm gewisse Regeln zu beachten.

                      1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer last edited by

                        @Menne:

                        Im Endeffekt wurde hier nicht weiter geholfen. `
                        Hast du die Vorschläge denn mal ausprobiert und das Ergebnis hier gepostet? Ich hab dazu jedenfalls keine Rückmeldung gesehen an der man ansetzen könnte.

                        Und diese "vermeintlichen Fehler" können gut und gerne die Ursache für Probleme sein, sonst würden wir nicht nachfragen 😐

                        Da du aber scheinbar davon überzeugt bist, dass es unbedingt ein kleines l sein muss, ohne zu erklären warum, kann man dir damit leider nicht helfen.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User last edited by

                          Es lief ebend durch und nehme das "L"zurück.

                          Das Thema sollte nun beendet sein.

                          Folgendes ist mir aufgefallen:

                          Ich hatte gestern geschrieben, das sich iobroker nicht stoppen lies.

                          "Hier stand Müll" erledigt

                          Hoffentlich führt das nicht wieder zur großen Diskussion.

                          1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer last edited by

                            @Menne:

                            Das ist immer noch, wegen

                            iobroker start => stop

                            und

                            iobroker stop => start `
                            Sorry ich versteh dich nicht…

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User last edited by

                              OK,OK,

                              erledigt. Weil er es beim ersten mal wieder den Stop Befehl nicht angenommen hat und meinte das der daemon nicht läuft.

                              Obwohl er lief habe ich ihn nochmal gestartet. Ich konnte das ja am webif sehen. Jetzt geht es.

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User last edited by

                                Da haben wir ihn wieder:

                                $ ./iobroker add javascript 0 --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 -13npm 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 usernpm 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.2 postinstall: `node ./install/installTypings.js`npm ERR! Exit status 243
                                npm ERR! 
                                npm ERR! Failed at the iobroker.javascript@4.0.2 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-05T16_02_39_949Z-debug.log
                                
                                ERROR: host.bpi-iobroker Cannot install iobroker.javascript: 243
                                ERROR: process exited with code 25
                                

                                Ganz einfach über den Adapter installiert…

                                ...auf der Konsole nichts gemacht.

                                6 Adapter vorher mit Erfolg installiert

                                1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer last edited by

                                  Hast du mit der neuen Routine (Skript) installiert? Und unter welchem User läuft iobroker?

                                  Hast du das schon probiert?

                                  sudo chown -R $(whoami) ~/.npm
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User last edited by

                                    Ohne Patzig zu werden (nicht das es wieder falsch verstanden wird)

                                    Selbstverständlich über den script.

                                    User pi

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User last edited by

                                      Dein Befehl wurde eingegeben und nochmals installiert.

                                      Diesmal vom Git-Hub

                                      $ ./iobroker url "https://github.com/ioBroker/ioBroker.javascript/tarball/master" javascript --debug
                                      install https://github.com/ioBroker/ioBroker.javascript/tarball/master
                                      npm install https://github.com/ioBroker/ioBroker.javascript/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                                      npm
                                       WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                                      > iobroker.javascript@4.0.2 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                      > node ./install/installTypings.js
                                      
                                      installing NodeJS typings...
                                      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 opennpm 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.2 postinstall: `node ./install/installTypings.js`npm ERR! Exit status 243
                                      npm ERR! 
                                      npm ERR! Failed at the iobroker.javascript@4.0.2 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-05T16_15_30_736Z-debug.log
                                      
                                      ERROR: host.bpi-iobroker Cannot install https://github.com/ioBroker/ioBroker.javascript/tarball/master: 243
                                      ERROR: process exited with code 25
                                      

                                      Irgendwie drehen wir uns im Kreis

                                      Dieser Befehl wurde zum installieren von iobroker benutzt:

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

                                      1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer last edited by

                                        @Menne:

                                        Irgendwie drehen wir uns im Kreis Und da haben wir es wieder :roll: > Diesmal vom Git-Hub `
                                        Warum machst du bei der Fehlersuche parallel Dinge, nach denen du nicht gefragt wurdest?

                                        Etwas Geduld bitte, ich habe hier kein System an dem ich es schnell selbst ausprobieren kann.

                                        Bitte folgendes probieren:

                                        sudo chown -R pi:pi /home/pi/.npm
                                        

                                        JavaScript über Admin installieren. Ergebnis hier posten.

                                        Geht das nicht, dann

                                        sudo chown -R iobroker:iobroker /home/iobroker/.npm
                                        

                                        wieder JavaScript über Admin installieren. Ergebnis hier posten.

                                        Geht das auch nicht, dann bitte nochmal melden.

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User last edited by

                                          > Warum machst du bei der Fehlersuche parallel Dinge, nach denen du nicht gefragt wurdest?

                                          Jawohl Sir

                                          …konnte ich mir nicht verkneifen. 😄

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User last edited by

                                            Mit chown -R pi:pi /home/pi/.npm

                                            $ ./iobroker add javascript 0 --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 ELIFECYCLE
                                            npm ERR! errno 243
                                            npm ERR! iobroker.javascript@4.0.2 postinstall: `node ./install/installTypings.js`npm ERR! Exit status 243
                                            npm ERR! 
                                            npm ERR! Failed at the iobroker.javascript@4.0.2 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-05T16_38_06_223Z-debug.log
                                            
                                            ERROR: host.bpi-iobroker Cannot install iobroker.javascript: 243
                                            ERROR: process exited with code 25
                                            

                                            Mit chown -R iobroker:iobroker /home/iobroker/.npm

                                            $ ./iobroker add javascript 0 --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 usernpm 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.2 postinstall: `node ./install/installTypings.js`npm ERR! Exit status 243
                                            npm 
                                            ERR! npm ERR! Failed at the iobroker.javascript@4.0.2 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-05T16_41_13_634Z-debug.log
                                            
                                            ERROR: host.bpi-iobroker Cannot install iobroker.javascript: 243
                                            ERROR: process exited with code 25
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            654
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            62
                                            5142
                                            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