Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. Pine 64+

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

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

Pine 64+

Geplant Angeheftet Gesperrt Verschoben Hardware
76 Beiträge 10 Kommentatoren 11.4k 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.
  • C Offline
    C Offline
    Chauffeur
    schrieb am zuletzt editiert von
    #42

    Ok, dann wäre jetzt mein weiteres vorgehen, alles wieder runter und

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

    (jetzt mal aus der aktuelleren Pi-Anleitung übernommen)

    bei "- E bash - " kam das letzte Mal eine Fehlermeldung. Deswegen hatte ich es weggelassen.

    Aber jetzt scheint es auch damit durchzulaufen. Mal abwarten…

    Oder Nodejs 4.x ganz anders installieren?

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

      apt-get install npm

      apt-get install nodejs

      Roses are red, violets are blue,

      if I listen to metal, my neighbours do too

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

        Und dann den "npm install …" command von Bluefox.

        Roses are red, violets are blue,

        if I listen to metal, my neighbours do too

        1 Antwort Letzte Antwort
        0
        • C Offline
          C Offline
          Chauffeur
          schrieb am zuletzt editiert von
          #45

          Oh, deinen Beitrag mit Debian hab ich vorhin gar nicht gesehen… Hatte eigentlich extra aktualisiert...

          Egal, nach dem "curl..." lief die Installation von iobroker jetzt tatsächlich durch und ist wieder erreichbar.

          Lasse das "latest-2" jetzt trotzdem nochmal drüber laufen...

          Vielen herzlichen Dank nochmal für die Hilfe und die Geduld... :D

          Und wenns jetzt durchgelaufen ist, mach ich mir ein Image von der Karte... ;)

          1 Antwort Letzte Antwort
          0
          • HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #46

            Hallo Eric und alle anderen Pine64 usre.

            Meine sind soeben angekommen (Nach 8 Wochen) direkt aus China.

            Debian ist drauf, alles eingerichtet jetzt gemäß der RasPi Schnellanleitung versucht zu installieren.

            Die Installation mit curl erkennt die richtige Version:

            OK   http://ftp.us.debian.org jessie/main arm64 Packages
            

            Leider gibt es eine Fehlermeldung:

            W: Fehlschlag beim Holen von https://deb.nodesource.com/node_4.x/dists/jessie/InRelease  Erwarteter Eintrag »main/binary-arm64/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei).
            

            Nodejs wird nicht installiert.

            Eric hat wegen so etwas ja auch die Motten gekriegt und dann geschrieben
            ` > ="Eric2905"Habt geschafft!!!

            Die gängigen Node-Installationsroutine bringt den ppm nicht mehr mit - den muss man separat nachinstallierten.

            Und Node heißt auch nicht mehr "node" sondern "nodejs" => die Abfrage "node -v" muss durch "nodejs -v" ersetzt werden. `

            Aber wie war dann die routine???

            Gruß

            Rainer, gesendet von Pine64 ;-)

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Antwort Letzte Antwort
            0
            • derAugeD Offline
              derAugeD Offline
              derAuge
              schrieb am zuletzt editiert von
              #47

              Hallo zusammen,

              meine sind soeben angekommen (Nach 8 Wochen) direkt aus China.

              Nun werde ich mich mal an die Arbeit machen. Bin noch nicht so weit wie Rainer

              Gruß

              Jürgen, gesendet von Pine64 ;-)

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

                Ich suche Euch nachher, wenn ich zu Hause bin, den Link zur npm- und Node-Installation raus.

                Der Raspi-Link wollte bei mir auch nicht immer sauber laufen.

                Gruß,

                Eric

                Roses are red, violets are blue,

                if I listen to metal, my neighbours do too

                1 Antwort Letzte Antwort
                0
                • HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #49

                  Danke,
                  @eric2905:

                  Der Raspi-Link wollte bei mir auch nicht immer sauber laufen. `
                  Habe bei nodeSource im GitHub jetzt ein Issue eröffnet.

                  EDIT:

                  Während ich tippe wird der/das issue geschlossen, da angeblich doppelt, der andere ist auch geschlossen:

                  https://github.com/nodesource/distributions/issues/262

                  Gruß

                  Rainer

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

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

                    Schaut mal hier - damit hat es bei mir geklappt : https://nodejs.org/en/download/package- … tributions

                    Ansonsten kann man auch mit

                    apt-get install npm

                    apt-get install node

                    sich eine Basis holen.

                    Gruß,

                    Eric

                    Roses are red, violets are blue,

                    if I listen to metal, my neighbours do too

                    1 Antwort Letzte Antwort
                    0
                    • HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #51

                      @eric2905:

                      Schaut mal hier - damit hat es bei mir geklappt : https://nodejs.org/en/download/package- … tributions `
                      Aber das ist doch genau der Befehl, der im Raspberry schnellstart steht.

                      Das tolle daran ist, dass der Befehl für alle Systeme gilt und eigenständig die korrekte Version installiert.

                      Leider nicht hier.

                      Antwort von NodeSource
                      ~~@[url=https://github.com/nodesource/distributions/issues/262:~~

                      ~~NodeSource"]~~So, being able to do this would require having cross compilers available for all of the target distributions and also being able to get those compilers into our build workflow currently based on pbuilder. It's possible we'll look into it in the future but it's not on the near term roadmap I'm afraid. It may make more sense once there are fewer release lines to track as we're currently supporting 5 release lines. `

                      @eric2905:

                      Ansonsten kann man auch mit

                      apt-get install npm

                      apt-get install node

                      sich eine Basis holen. `
                      Bekommst du damit die 64bit Variante?

                      Ok, ich habe gerade gelesen du hast dann Ubuntu genommen, Mag ich nicht - Ich Will Debian!

                      Gruß

                      Rainer

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Antwort Letzte Antwort
                      0
                      • HomoranH Nicht stören
                        HomoranH Nicht stören
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #52

                        Hallo Eric,

                        bin noch mal auf den Pine drauf. Paket heisst doch nodejs, oder:

                        root@debianpine64:~# apt-get install nodejs
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.       
                        Statusinformationen werden eingelesen.... Fertig
                        Package nodejs is not available, but is referred to by another package.
                        This may mean that the package is missing, has been obsoleted, or
                        is only available from another source
                        
                        

                        bei npm:

                        root@debianpine64:~# apt-get install npm
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.       
                        Statusinformationen werden eingelesen.... Fertig
                        Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
                        Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
                        Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
                        nicht erstellt wurden oder Incoming noch nicht verlassen haben.
                        Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
                        
                        Die folgenden Pakete haben unerfüllte Abhängigkeiten:
                         npm [color]: Hängt ab von: nodejs ist aber nicht installierbar[/color]
                               Hängt ab von: node-abbrev (>= 1.0.4) soll aber nicht installiert werden
                               Hängt ab von: node-ansi (>= 0.3.0-2) soll aber nicht installiert werden...
                        

                        Wat nu?

                        auf nodejs.org gibt es ein nodejs___.tar.gz für ARM64 aber da komme ich nicht mit klar.

                        hat jemand eine einfache Anleitung wie man daraus ein node "baut"?

                        Gruß

                        Rainer

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

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

                          Hmmm, ich dachte, das Paket heißt node.

                          Warum kein Ubuntu?

                          Oder nutzt Du die Gui?

                          Ich gehe nur per SSH auf die Shell und da tun sich die beiden eigentlich nicht viel.

                          Gruß,

                          Eric

                          Roses are red, violets are blue,

                          if I listen to metal, my neighbours do too

                          1 Antwort Letzte Antwort
                          0
                          • HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #54

                            Ich weiß noch aus alter Zeit, als ich ersten Kontakt mit Linux für ccu.io und später ioBroker bekam, dass es bei Installationen auf Ubuntu immer Probleme gab.

                            Befehle und Dateistrukturen waren zumindest damals teilweise vollkommen anders.

                            Ich habe da damals nichts ans Laufen bekommen.

                            Habe jetzt nodejs Binary Pakete von nodejs.org heruntegeladen und versucht zu installieren.

                            mit ./configure geht gar nichts, da keine configure Datei vorhanden ist und mit make auch nichts.

                            Das ärgert mich mal wieder, dass ich bei Linux nicht mehr weiß und kann :cry: :cry:

                            Gruß

                            Rainer

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • derAugeD Offline
                              derAugeD Offline
                              derAuge
                              schrieb am zuletzt editiert von
                              #55

                              @Homoran:

                              Ich weiß noch aus alter Zeit, als ich ersten Kontakt mit Linux für ccu.io und später ioBroker bekam, dass es bei Installationen auf Ubuntu immer Probleme gab.

                              Befehle und Dateistrukturen waren zumindest damals teilweise vollkommen anders.

                              Ich habe da damals nichts ans Laufen bekommen.

                              Habe jetzt nodejs Binary Pakete von nodejs.org heruntegeladen und versucht zu installieren.

                              mit ./configure geht gar nichts, da keine configure Datei vorhanden ist und mit make auch nichts.

                              Das ärgert mich mal wieder, dass ich bei Linux nicht mehr weiß und kann :cry: :cry:

                              Gruß

                              Rainer `

                              Das hatte ich nun auch schon hinter mir.

                              das Problem ist: Node v.4.x gibt es nicht für "arm64"

                              Ein Ubuntu-Image habe ich noch nicht gefunden.

                              Gruß

                              Jürgen

                              1 Antwort Letzte Antwort
                              0
                              • HomoranH Nicht stören
                                HomoranH Nicht stören
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von
                                #56

                                @derAuge:

                                Das Problem ist: Node v.4.x gibt es nicht für "arm64" `
                                doch, die Binarys habe ich ja, nur wie bekomme ich die installiert

                                Habe ich dann auch noch was gefunden:

                                https://packages.debian.org/stretch/arm … g/download

                                klappt aber auch nicht

                                @derAuge:

                                Ein Ubuntu-Image habe ich noch nicht gefunden. `
                                Doch, schreibt sich gerade auf Karte:

                                https://www.pine64.com/downloads

                                Gruß

                                Rainer

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Antwort Letzte Antwort
                                0
                                • paul53P Offline
                                  paul53P Offline
                                  paul53
                                  schrieb am zuletzt editiert von
                                  #57

                                  @Homoran:

                                  auf nodejs.org gibt es ein nodejs___.tar.gz für ARM64 aber da komme ich nicht mit klar. `
                                  Du meinst sicherlich diese https://nodejs.org/dist/v4.4.7/node-v4.4.7-linux-arm64.tar.gz ?

                                  Mit meinen sehr bescheidenen Linux-Kentnissen würde ich es so versuchen:
                                  ` > cd /usr/local

                                  tar -xzf /Pfad zum Download/node-v4.4.7-linux-arm64.tar.gz `
                                  Danach sollten "node" und "npm" (npm als Symlink) im Suchpfad "/usr/local/bin" sein.

                                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                  1 Antwort Letzte Antwort
                                  0
                                  • HomoranH Nicht stören
                                    HomoranH Nicht stören
                                    Homoran
                                    Global Moderator Administrators
                                    schrieb am zuletzt editiert von
                                    #58

                                    Danke Paul,

                                    Ja das ist die ARM64 Version, die ich heruntergeladen habe.

                                    @paul53:

                                    Mit meinen sehr bescheidenen Linux-Kentnissen würde ich es so versuchen:

                                    Zitat:

                                    cd /usr/local

                                    tar -xzf /Pfad zum Download/node-v4.4.7-linux-arm64.tar.gz

                                    Danach sollten "node" und "npm" (npm als Symlink) im Suchpfad "/usr/local/bin" sein. `
                                    Das hat leider nicht geklappt.

                                    ich bleibe aber dran

                                    Danke nochmals

                                    Rainer

                                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    1 Antwort Letzte Antwort
                                    0
                                    • paul53P Offline
                                      paul53P Offline
                                      paul53
                                      schrieb am zuletzt editiert von
                                      #59

                                      Dann versuche es mal so:

                                      cd /usr/local
                                      tar --strip-components=1 -xzf /Pfad zum Download/node-v4.4.7-linux-arm64.tar.gz
                                      

                                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                      1 Antwort Letzte Antwort
                                      0
                                      • derAugeD Offline
                                        derAugeD Offline
                                        derAuge
                                        schrieb am zuletzt editiert von
                                        #60

                                        Hallo,

                                        hier mein Lösungsansatz:

                                        Pine64

                                        Download Image

                                        Ubuntu Base Longsleep (3.10.65 BSP)

                                        https://www.pine64.pro/download.php?opt … ptionid=33

                                        pine64-image-ubuntubase-31065bsp-longsleep.img.xz

                                        7zip file and selecting "Extract All"

                                        Win32 Disk Imager

                                        Now insert your SD card into the Pine64 and power it on

                                        For Debian/Ubuntu

                                        ############################################

                                        sudo -i
                                        /usr/local/sbin/pine64_update_uboot.sh
                                        /usr/local/sbin/pine64_update_kernel.sh
                                        resize_rootfs.sh
                                        reboot 
                                        
                                        
                                        Passwort für den User "root" vergeben
                                        ubuntu@localhost:~$
                                        ubuntu@localhost:~$ sudo passwd root
                                        [sudo] password for ubuntu:
                                        Enter new UNIX password:
                                        Retype new UNIX password:
                                        passwd: password updated successfully
                                        #
                                        ##### Als User "root" anmelden #####
                                        ubuntu@localhost:~$ su
                                        Password:
                                        #
                                        
                                        
                                        System auf den aktuellen Stand bringen
                                        apt update && apt upgrade -y && apt autoremove -y
                                        #
                                        curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
                                        #
                                        N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://deb.nodesource.com/node_4.x xenial InRelease' doesn't support architecture 'arm64'
                                        #
                                        apt-get install -y nodejs
                                        #
                                        
                                        
                                        • Preparing to unpack …/nodejs_4.2.6~dfsg-1ubuntu4.1_arm64.deb ...
                                        Unpacking nodejs (4.2.6~dfsg-1ubuntu4.1) ...
                                        
                                        #
                                        
                                        reboot
                                        
                                        # 
                                        

                                        root@localhost:/home/ubuntu# node -v

                                        bash: node: command not found

                                        root@localhost:/home/ubuntu# npm -v

                                        bash: npm: command not found

                                        root@localhost:/home/ubuntu# nodejs -v

                                        v4.2.6

                                        apt-get install -y build-essential

                                        apt install npm

                                        root@localhost:/home/ubuntu# npm -v

                                        3.5.2

                                        node ist nicht da –--- nodejs ist installiert
                                        root@localhost:/home/ubuntu# cd /usr/bin/
                                        #
                                        root@localhost:/usr/bin# ls -la node*
                                        lrwxrwxrwx 1 root root       33 Dec  7  2015 node-gyp -> ../share/node-gyp/bin/node-gyp.js
                                        -rwxr-xr-x 1 root root 10281544 May 20 23:57 nodejs
                                        

                                        Symlink anlegen
                                        root@localhost:/usr/bin# ln -s nodejs node
                                        #
                                        root@localhost:/usr/bin# ls -la node*
                                        

                                        lrwxrwxrwx 1 root root 6 Jul 22 20:56 node -> nodejs

                                        lrwxrwxrwx 1 root root 33 Dec 7 2015 node-gyp -> ../share/node-gyp/bin/node-gyp.js

                                        -rwxr-xr-x 1 root root 10281544 May 20 23:57 nodejs

                                        • ubuntu@localhost:~$ uname -a
                                        Linux localhost.localdomain 3.10.102-2-pine64-longsleep #66 SMP PREEMPT Sat Jul 16 10:53:13 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
                                        
                                        #
                                        
                                        ubuntu@localhost:~$ npm -v
                                        
                                        3.5.2
                                        
                                        ubuntu@localhost:~$ node -v
                                        
                                        v4.2.6
                                        
                                        ubuntu@localhost:~$ nodejs -v
                                        
                                        v4.2.6
                                        
                                        # 
                                        

                                        Nun zur Installation von ioBroker

                                        mkdir /opt/iobroker
                                        cd /opt/iobroker
                                        npm install --unsafe-perm iobroker
                                        
                                        

                                        iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

                                        node lib/setup.js

                                        ! npm install iobroker.js-controller –production --prefix /opt/iobroker
                                        ! npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
                                        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                                        ! npm WARN iobroker No description
                                        ! npm WARN iobroker No repository field.
                                        ! npm WARN iobroker No README data
                                        ! npm WARN iobroker No license field.
                                        ! npm install iobroker.admin --production --prefix /opt/iobroker
                                        ! sh: 0: getcwd() failed: No such file or directory
                                        ! path.js:424
                                        ! var path = (i >= 0) ? arguments __: process.cwd();
                                        ! ^
                                        ! Error: ENOENT: no such file or directory, uv_cwd
                                        ! at Error (native)
                                        ! at Object.posix.resolve (path.js:424:50)
                                        ! at Function.Module._resolveLookupPaths (module.js:250:17)
                                        ! at Function.Module._resolveFilename (module.js:317:31)
                                        ! at Function.Module.load (module.js:277:25)
                                        ! at Module.require (module.js:354:17)
                                        ! at require (internal/module.js:12:17)
                                        ! at /opt/iobroker/node_modules/npm/bin/npm-cli.js:23:11
                                        ! at Object. <anonymous>(/opt/iobroker/node_modules/npm/bin/npm-cli.js:75:3)
                                        ! at Module.compile (module.js:410:26)
                                        ! Write "./iobroker start" to start the ioBroker
                                        ! sh: 0: getcwd() failed: No such file or directory
                                        ! shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
                                        ! sh: 0: getcwd() failed: No such file or directory
                                        ! insserv: pushd() can not change to directory /etc/init.d: No such file or directory
                                        ! update-rc.d: error: insserv rejected the script header
                                        ! chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
                                        ! Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
                                        ! iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
                                        ! /opt/iobroker
                                        ! – iobroker@0.7.1 ! -- yargs@4.8.1
                                        ! +-- cliui@3.2.0
                                        ! | +-- strip-ansi@3.0.1
                                        ! | | -- ansi-regex@2.0.0 ! | -- wrap-ansi@2.0.0
                                        ! +-- decamelize@1.2.0
                                        ! +-- get-caller-file@1.0.1
                                        ! +-- lodash.assign@4.0.9
                                        ! | +-- lodash.keys@4.0.7
                                        ! | -- lodash.rest@4.0.3 ! +-- os-locale@1.4.0 ! | -- lcid@1.0.0
                                        ! | -- invert-kv@1.0.0 ! +-- read-pkg-up@1.0.1 ! | +-- find-up@1.1.2 ! | | +-- path-exists@2.1.0 ! | | -- pinkie-promise@2.0.1
                                        ! | | -- pinkie@2.0.4 ! | -- read-pkg@1.1.0
                                        ! | +-- load-json-file@1.1.0
                                        ! | | +-- graceful-fs@4.1.4
                                        ! | | +-- parse-json@2.2.0
                                        ! | | | -- error-ex@1.3.0 ! | | | -- is-arrayish@0.2.1
                                        ! | | +-- pify@2.3.0
                                        ! | | -- strip-bom@2.0.0 ! | | -- is-utf8@0.2.1
                                        ! | +-- normalize-package-data@2.3.5
                                        ! | | +-- hosted-git-info@2.1.5
                                        ! | | +-- is-builtin-module@1.0.0
                                        ! | | | -- builtin-modules@1.1.1 ! | | +-- semver@5.3.0 ! | | -- validate-npm-package-license@3.0.1
                                        ! | | +-- spdx-correct@1.0.2
                                        ! | | | -- spdx-license-ids@1.2.1 ! | | -- spdx-expression-parse@1.0.2
                                        ! | | -- spdx-exceptions@1.0.5 ! | -- path-type@1.1.0
                                        ! +-- require-directory@2.1.1
                                        ! +-- require-main-filename@1.0.1
                                        ! +-- set-blocking@2.0.0
                                        ! +-- string-width@1.0.1
                                        ! | +-- code-point-at@1.0.0
                                        ! | | -- number-is-nan@1.0.0 ! | -- is-fullwidth-code-point@1.0.0
                                        ! +-- which-module@1.0.0
                                        ! +-- window-size@0.2.0
                                        ! +-- y18n@3.2.1
                                        ! -- yargs-parser@2.4.1 ! -- camelcase@3.0.0
                                        ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                                        ! npm WARN iobroker No description
                                        ! npm WARN iobroker No repository field.
                                        ! npm WARN iobroker No README data
                                        ! npm WARN iobroker No license field.</anonymous>
                                        __#####

                                        Die Oberfläche ist nun erreichbar.

                                        Ich werde es weiter beobachten

                                        Gruß

                                        Jürgen__

                                        1 Antwort Letzte Antwort
                                        0
                                        • HomoranH Nicht stören
                                          HomoranH Nicht stören
                                          Homoran
                                          Global Moderator Administrators
                                          schrieb am zuletzt editiert von
                                          #61

                                          Ich hatte in der Zwischenzeit mit Ubuntu experimentiert.

                                          Immerhin bekommt man mit apt-get install nodejs ein anscheinen funktionierendes node v4.2.6

                                          Die ioBroker Installation klappte trotzdem nicht.

                                          Es fehlte noch npm

                                          ok dann noch mit apt-get install npm das fehlende Paket installiert.

                                          ioBroker liess sich immer noch nicht installieren.

                                          Nach anfänglichen grafikspielchen des Fortschritts kam dann das böse Erwachen.

                                          ! ` > root@localhost:/opt/iobroker# npm install iobroker –unsafe-perm

                                          iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

                                          node lib/setup.js

                                          sh: 1: node: not found

                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'

                                          npm WARN iobroker No description

                                          npm WARN iobroker No repository field.

                                          npm WARN iobroker No README data

                                          npm WARN iobroker No license field.

                                          npm ERR! Linux 3.10.65-7-pine64-longsleep

                                          npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"

                                          npm ERR! node v4.2.6

                                          npm ERR! npm v3.5.2

                                          npm ERR! file sh

                                          npm ERR! code ELIFECYCLE

                                          npm ERR! errno ENOENT

                                          npm ERR! syscall spawn

                                          npm ERR! iobroker@0.7.1 install: node lib/setup.js

                                          npm ERR! spawn ENOENT

                                          npm ERR!

                                          npm ERR! Failed at the iobroker@0.7.1 install script 'node lib/setup.js'.

                                          npm ERR! Make sure you have the latest version of node.js and npm installed.

                                          npm ERR! If you do, this is most likely a problem with the iobroker package,

                                          npm ERR! not with npm itself.

                                          npm ERR! Tell the author that this fails on your system:

                                          npm ERR! node lib/setup.js

                                          npm ERR! You can get information on how to open an issue for this project with:

                                          npm ERR! npm bugs iobroker

                                          npm ERR! Or if that isn't available, you can get their info via:

                                          npm ERR! npm owner ls iobroker

                                          npm ERR! There is likely additional logging output above.

                                          npm ERR! Please include the following file with any support request:

                                          npm ERR! /opt/iobroker/npm-debug.log `

                                          Alle Fehlermeldungen ignoriert; bis auf npm v3.5.2

                                          Da war doch was,

                                          apt-get purge npm

                                          aber wie installiere ich version 2.xx

                                          da stand so etwas hier im thread.

                                          npm install -g npm@latest-2
                                          

                                          geht doch gar nicht muss sicher apt-get…. heißen.

                                          Nein auch nicht, also wieder v3.xx installiert und dann npm install -g npm@latest-2 ausgeführt. Der scheint es auch ordentlich zu downgraden

                                          ! ````
                                          root@localhost:/# npm install -g npm@latest-2
                                          /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
                                          /usr/local/lib
                                          └─┬ npm@2.15.9
                                          ├── abbrev@1.0.9
                                          ├── ansi@0.3.1
                                          ├── ansi-regex@2.0.0
                                          ├── ansicolors@0.3.2
                                          ├── ansistyles@0.1.3
                                          ├── archy@1.0.0
                                          ├── async-some@1.0.2
                                          ├── block-stream@0.0.9
                                          ├── char-spinner@1.0.1
                                          ├── chmodr@1.0.2
                                          ├── chownr@1.0.1
                                          ├── cmd-shim@2.0.2
                                          ├─┬ columnify@1.5.4
                                          │ └─┬ wcwidth@1.0.0
                                          │ └─┬ defaults@1.0.3
                                          │ └── clone@1.0.2
                                          ├─┬ config-chain@1.1.10
                                          │ └── proto-list@1.2.4
                                          ├─┬ dezalgo@1.0.3
                                          │ └── asap@2.0.3
                                          ├── editor@1.0.0
                                          ├── fs-vacuum@1.2.9
                                          ├─┬ fs-write-stream-atomic@1.0.8
                                          │ └── iferr@0.1.5
                                          ├── fstream@1.0.10
                                          ├─┬ fstream-npm@1.0.7
                                          │ └── fstream-ignore@1.0.3
                                          ├── github-url-from-git@1.4.0
                                          ├── github-url-from-username-repo@1.0.2
                                          ├─┬ glob@7.0.4
                                          │ ├── fs.realpath@1.0.0
                                          │ └── path-is-absolute@1.0.0
                                          ├── graceful-fs@4.1.4
                                          ├── hosted-git-info@2.1.4
                                          ├── imurmurhash@0.1.4
                                          ├── inflight@1.0.5
                                          ├── inherits@2.0.1
                                          ├── ini@1.3.4
                                          ├─┬ init-package-json@1.9.4
                                          │ ├─┬ glob@6.0.4
                                          │ │ └── path-is-absolute@1.0.0
                                          │ └── promzard@0.3.0
                                          ├── lockfile@1.0.1
                                          ├─┬ lru-cache@4.0.1
                                          │ ├── pseudomap@1.0.2
                                          │ └── yallist@2.0.0
                                          ├─┬ minimatch@3.0.0
                                          │ └─┬ brace-expansion@1.1.1
                                          │ ├── balanced-match@0.2.1
                                          │ └── concat-map@0.0.1
                                          ├─┬ mkdirp@0.5.1
                                          │ └── minimist@0.0.8
                                          ├─┬ node-gyp@3.4.0
                                          │ ├─┬ minimatch@3.0.2
                                          │ │ └─┬ brace-expansion@1.1.5
                                          │ │ ├── balanced-match@0.4.1
                                          │ │ └── concat-map@0.0.1
                                          │ └─┬ path-array@1.0.1
                                          │ └─┬ array-index@1.0.0
                                          │ ├─┬ debug@2.2.0
                                          │ │ └── ms@0.7.1
                                          │ └─┬ es6-symbol@3.1.0
                                          │ ├── d@0.1.1
                                          │ └─┬ es5-ext@0.10.11
                                          │ ├── es6-iterator@2.0.0
                                          │ └── es6-symbol@3.0.2
                                          ├── nopt@3.0.6
                                          ├── normalize-git-url@3.0.2
                                          ├─┬ normalize-package-data@2.3.5
                                          │ └─┬ is-builtin-module@1.0.0
                                          │ └── builtin-modules@1.1.0
                                          ├── npm-cache-filename@1.0.2
                                          ├── npm-install-checks@1.0.7
                                          ├── npm-package-arg@4.1.0
                                          ├─┬ npm-registry-client@7.1.2
                                          │ ├─┬ concat-stream@1.5.1
                                          │ │ ├─┬ readable-stream@2.0.6
                                          │ │ │ ├── core-util-is@1.0.2
                                          │ │ │ ├── isarray@1.0.0
                                          │ │ │ ├── process-nextick-args@1.0.7
                                          │ │ │ ├── string_decoder@0.10.31
                                          │ │ │ └── util-deprecate@1.0.2
                                          │ │ └── typedarray@0.0.6
                                          │ └── retry@0.8.0
                                          ├── npm-user-validate@0.1.4
                                          ├─┬ npmlog@2.0.4
                                          │ ├─┬ are-we-there-yet@1.1.2
                                          │ │ └── delegates@1.0.0
                                          │ └─┬ gauge@1.2.7
                                          │ ├── has-unicode@2.0.0
                                          │ ├─┬ lodash.pad@4.4.0
                                          │ │ ├── lodash._baseslice@4.0.0
                                          │ │ ├── lodash._basetostring@4.12.0
                                          │ │ └── lodash.tostring@4.1.3
                                          │ ├─┬ lodash.padend@4.5.0
                                          │ │ ├── lodash._baseslice@4.0.0
                                          │ │ ├── lodash._basetostring@4.12.0
                                          │ │ └── lodash.tostring@4.1.3
                                          │ └─┬ lodash.padstart@4.5.0
                                          │ ├── lodash._baseslice@4.0.0
                                          │ ├── lodash._basetostring@4.12.0
                                          │ └── lodash.tostring@4.1.3
                                          ├── once@1.3.3
                                          ├── opener@1.4.1
                                          ├─┬ osenv@0.1.3
                                          │ ├── os-homedir@1.0.0
                                          │ └── os-tmpdir@1.0.1
                                          ├── path-is-inside@1.0.1
                                          ├─┬ read@1.0.7
                                          │ └── mute-stream@0.0.5
                                          ├─┬ read-installed@4.0.3
                                          │ ├── debuglog@1.0.1
                                          │ ├── readdir-scoped-modules@1.0.2
                                          │ └── util-extend@1.0.1
                                          ├─┬ read-package-json@2.0.4
                                          │ ├─┬ glob@6.0.4
                                          │ │ └── path-is-absolute@1.0.0
                                          │ └─┬ json-parse-helpfulerror@1.0.3
                                          │ └── jju@1.3.0
                                          ├─┬ readable-stream@2.1.4
                                          │ ├── buffer-shims@1.0.0
                                          │ ├── core-util-is@1.0.2
                                          │ ├── isarray@1.0.0
                                          │ ├── process-nextick-args@1.0.7
                                          │ ├── string_decoder@0.10.31
                                          │ └── util-deprecate@1.0.2
                                          ├── realize-package-specifier@3.0.1
                                          ├─┬ request@2.72.0
                                          │ ├── aws-sign2@0.6.0
                                          │ ├── aws4@1.3.2
                                          │ ├─┬ bl@1.1.2
                                          │ │ └─┬ readable-stream@2.0.6
                                          │ │ ├── core-util-is@1.0.2
                                          │ │ ├── isarray@1.0.0
                                          │ │ ├── process-nextick-args@1.0.7
                                          │ │ ├── string_decoder@0.10.31
                                          │ │ └── util-deprecate@1.0.2
                                          │ ├── caseless@0.11.0
                                          │ ├─┬ combined-stream@1.0.5
                                          │ │ └── delayed-stream@1.0.0
                                          │ ├── extend@3.0.0
                                          │ ├── forever-agent@0.6.1
                                          │ ├─┬ form-data@1.0.0-rc4
                                          │ │ └── async@1.5.2
                                          │ ├─┬ har-validator@2.0.6
                                          │ │ ├─┬ chalk@1.1.3
                                          │ │ │ ├── ansi-styles@2.2.1
                                          │ │ │ ├── escape-string-regexp@1.0.5
                                          │ │ │ ├── has-ansi@2.0.0
                                          │ │ │ └── supports-color@2.0.0
                                          │ │ ├─┬ commander@2.9.0
                                          │ │ │ └── graceful-readlink@1.0.1
                                          │ │ ├─┬ is-my-json-valid@2.13.1
                                          │ │ │ ├── generate-function@2.0.0
                                          │ │ │ ├─┬ generate-object-property@1.2.0
                                          │ │ │ │ └── is-property@1.0.2
                                          │ │ │ ├── jsonpointer@2.0.0
                                          │ │ │ └── xtend@4.0.1
                                          │ │ └─┬ pinkie-promise@2.0.1
                                          │ │ └── pinkie@2.0.4
                                          │ ├─┬ hawk@3.1.3
                                          │ │ ├── boom@2.10.1
                                          │ │ ├── cryptiles@2.0.5
                                          │ │ ├── hoek@2.16.3
                                          │ │ └── sntp@1.0.9
                                          │ ├─┬ http-signature@1.1.1
                                          │ │ ├── assert-plus@0.2.0
                                          │ │ ├─┬ jsprim@1.2.2
                                          │ │ │ ├── extsprintf@1.0.2
                                          │ │ │ ├── json-schema@0.2.2
                                          │ │ │ └── verror@1.3.6
                                          │ │ └─┬ sshpk@1.8.3
                                          │ │ ├── asn1@0.2.3
                                          │ │ ├── assert-plus@1.0.0
                                          │ │ ├── dashdash@1.13.1
                                          │ │ ├── ecc-jsbn@0.1.1
                                          │ │ ├── getpass@0.1.6
                                          │ │ ├── jodid25519@1.0.2
                                          │ │ ├── jsbn@0.1.0
                                          │ │ └── tweetnacl@0.13.3
                                          │ ├── is-typedarray@1.0.0
                                          │ ├── isstream@0.1.2
                                          │ ├── json-stringify-safe@5.0.1
                                          │ ├─┬ mime-types@2.1.11
                                          │ │ └── mime-db@1.23.0
                                          │ ├── node-uuid@1.4.7
                                          │ ├── oauth-sign@0.8.2
                                          │ ├── qs@6.1.0
                                          │ ├── stringstream@0.0.5
                                          │ ├── tough-cookie@2.2.2
                                          │ └── tunnel-agent@0.4.3
                                          ├── retry@0.9.0
                                          ├─┬ rimraf@2.5.2
                                          │ └─┬ glob@7.0.0
                                          │ └── path-is-absolute@1.0.0
                                          ├── semver@5.1.0
                                          ├─┬ sha@2.0.1
                                          │ └─┬ readable-stream@2.0.2
                                          │ ├── core-util-is@1.0.1
                                          │ ├── isarray@0.0.1
                                          │ ├── process-nextick-args@1.0.3
                                          │ ├── string_decoder@0.10.31
                                          │ └── util-deprecate@1.0.1
                                          ├── slide@1.1.6
                                          ├── sorted-object@2.0.0
                                          ├── spdx-license-ids@1.2.1
                                          ├── strip-ansi@3.0.1
                                          ├── tar@2.2.1
                                          ├── text-table@0.2.0
                                          ├── uid-number@0.0.6
                                          ├── umask@1.1.0
                                          ├─┬ validate-npm-package-license@3.0.1
                                          │ ├── spdx-correct@1.0.2
                                          │ └─┬ spdx-expression-parse@1.0.2
                                          │ └── spdx-exceptions@1.0.4
                                          ├─┬ validate-npm-package-name@2.2.2
                                          │ └── builtins@0.0.7
                                          ├─┬ which@1.2.10
                                          │ └── isexe@1.1.2
                                          ├── wrappy@1.0.2
                                          └── write-file-atomic@1.1.4

                                          
                                          Erneuter Versuch mit iobroker - gleicher Fehler.
                                          
                                          Kann doch gaar nicht sein! Was sagt denn npm -v? Ich fall vom Glauben ab:
                                          

                                          root@localhost:/opt/iobroker# npm -v
                                          3.5.2

                                          nochmal downgrade - 2.15.9 - bestätigt; npm -v wieder 3.5.2
                                          
                                          >! ````
                                          root@localhost:/opt/iobroker# npm -v
                                          3.5.2
                                          root@localhost:/opt/iobroker# npm install -g npm@latest-2
                                          /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
                                          /usr/local/lib
                                          └── npm@2.15.9 
                                          >! root@localhost:/opt/iobroker# npm -v
                                          3.5.2
                                          root@localhost:/opt/iobroker# npm install -g npm@latest-2
                                          /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
                                          /usr/local/lib
                                          └── npm@2.15.9 
                                          >! root@localhost:/opt/iobroker# npm -v
                                          3.5.2
                                          root@localhost:/opt/iobroker# cd ..
                                          root@localhost:/opt# cd /
                                          root@localhost:/# npm -v
                                          3.5.2
                                          root@localhost:/# npm install -g npm@latest-2
                                          /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
                                          /usr/local/lib
                                          └── npm@2.15.9 
                                          >! root@localhost:/# npm -v
                                          3.5.2
                                          >! ````
                                          
                                          Wie um alles bekomme ich eine npm 2.xx installiert???
                                          
                                          Gruß
                                          
                                          Rainer

                                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

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

                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          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

                                          639

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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