Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Javascript 4.6.14 kann nicht installiert werden

    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 4.6.14 kann nicht installiert werden

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

      Hi,
      ich habe versucht Javascript zu updaten, bricht mit Fehler 243 ab. Hat jemand eine Idee ?
      Hier die Ausgabe :

      $ ./iobroker upgrade javascript
      Update javascript from @4.5.1 to @4.6.14
      NPM version: 6.9.0
      npm install iobroker.javascript@4.6.14 --loglevel error --prefix "/opt/iobroker" (System call)
      npm
      ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-typesnpm ERR! code EACCESnpm ERR! errno -13npm ERR! syscall access
      npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types'npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types']npm ERR! stack:npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types'',npm
      ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'access',npm ERR! path:npm ERR! '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types' }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 runningnpm 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/iobroker/.npm/_logs/2020-05-22T14_01_27_852Z-debug.log
      ERROR: host.raspberrypi Cannot install iobroker.javascript@4.6.14: 243
      ERROR: process exited with code 25

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Gargano last edited by

        @Gargano

        lsb_release -a
        nodejs -v && node -v && npm -v
        which nodejs && which node && which npm
        
        Gargano 1 Reply Last reply Reply Quote 0
        • Gargano
          Gargano @Thomas Braun last edited by

          @Thomas-Braun sagte in Javascript 4.6.14 kann nicht installiert werden:

          Nodejs 10.16.0
          node 10.16.0
          npm 6.9.0

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Gargano last edited by

            @Gargano Die Ausgaben der Befehle im Volltext, inkl. Eingabezeile.
            Und bitte in </> code tags .

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

              pi@raspberrypi:~ $ nodejs -v
              v10.16.0
              pi@raspberrypi:~ $ node -v
              v10.16.0
              pi@raspberrypi:~ $ npm -v
              6.9.0
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Gargano last edited by

                @Gargano

                which nodejs && which node && which npm
                apt policy nodejs
                
                1 Reply Last reply Reply Quote 0
                • S
                  Steffl last edited by

                  Es ist sicher sinnvoll die Versionen zu checken aber in Log steht doch eindeutig: permission denied, access '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types

                  Was bringt denn ein?

                  code_text
                  ```ls -l /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Steffl last edited by

                    @Steffl Habe ich gesehen. Aber ich arbeite gerne mit einer soliden Basis bevor ich an die anderen Symptome gehe.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Steffl last edited by

                      @Thomas-Braun das war ja auch nicht als Kritik gemeint. Kann man so machen, aber vieles steht ja auch schon gleich im Log - z.B. NPM version: 6.9.0. Oder - und die Frage kommt bestimmt noch host.raspberrypi. Er scheint also auf nem Raspi unterwegs zu sein. Und wenn wir lange genug warten, kommt bestimmt jemand mit der defekten SD-Karte ums Eck. 😉

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Steffl last edited by

                        @Steffl Alles gesehen...

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

                          @Thomas-Braun sagte in Javascript 4.6.14 kann nicht installiert werden:

                          apt policy nodejs

                          Also hier die fehlenden Infos :

                          lsb_release -a
                          No LSB modules are available.
                          Distributor ID: Raspbian
                          Description:    Raspbian GNU/Linux 10 (buster)
                          Release:        10
                          Codename:       buster
                          
                           apt policy nodejs
                          nodejs:
                            Installed: 10.16.0-1nodesource1
                            Candidate: 10.16.0-1nodesource1
                            Version table:
                           *** 10.16.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.15.2~dfsg-2+rpi1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          
                          pi@raspberrypi:~ $ ls -l /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/babel-types
                          total 116
                          -rw-r--r--+ 1 pi pi 104220 Apr 24  2019 index.d.ts
                          -rw-r--r--+ 1 pi pi   1183 Apr 24  2019 LICENSE
                          -rw-r--r--+ 1 pi pi   1986 May  1 14:13 package.json
                          -rw-r--r--+ 1 pi pi    668 Apr 24  2019 README.md
                          
                          
                          

                          SD Karte ist neu .

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Gargano last edited by

                            @Gargano

                            iobroker fix
                            
                            1 Reply Last reply Reply Quote 0
                            • Gargano
                              Gargano last edited by

                              iobroker fix habe ich laufen lassen:

                              evtl. wars dies :

                              ==========================================================================
                                  Checking ioBroker user and directory permissions (2/3)
                              ==========================================================================
                              
                              Created /etc/sudoers.d/iobroker
                              Fixing directory permissions...
                              
                              

                              Javascript lies sich dann ohne Fehler upgraden.
                              Danke.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              631
                              Online

                              31.8k
                              Users

                              80.0k
                              Topics

                              1.3m
                              Posts

                              3
                              13
                              436
                              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