Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nodejs und npm Update

    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

    Nodejs und npm Update

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

      im Log keine Fehler. Das mit dem latest könnte sein, müsste ich mir mal anschauen. Hab halt seit dem Update vom Node Npm keine Updates mehr gehabt…

      1 Reply Last reply Reply Quote 0
      • V
        Videonisse last edited by

        @AlCalzone:

        Momentan alles gut mit der Kombo. Eventuell könnte der ein oder andere Adapter ein Update auf NodeJS 8 gebrauchen, solange nicht benötigt würde ich aber bei deinem Setup bleiben. `
        Ist npm v3.10.x die bevorzugte Version zusammen mit nodejs v8??

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

          @Videonisse:

          Ist npm v3.10.x die bevorzugte Version zusammen mit nodejs v8?? `
          Nein, npm 3.10.x gehört zu nodejs v6. Die gegenwärtig bevorzugte Version zu nodejs v8 ist npm v4.x.

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

            Dazu habe ich auch eine Frage:

            Installiert ist node 8.x

            standartmäßig ergibt npm dabei npm 5.6 = böse- soweit gut. Eine Installation von npm @latest ergibt dann bei mir

            npm -v = npm 6.3

            ist die 6.3 nun böse oder nicht ?

            danke, Black

            1 Reply Last reply Reply Quote 0
            • J
              Jan1 last edited by

              Vielleicht könnte hier mal einer schreiben, welche Versionen derzeit empfohlen werden. Denn nicht immer ist es die aktuellste, die am besten läuft.

              Diese Empfehlung könnte man dann auch immer wieder aktualisieren und so endlich mal eine einheitliche Grundinstallation bei allen erreichen. Das ganze dann vielleicht sogar in einen extra Thread der nur von den Admins hier beschreibbar ist, damit das ganze auch übersichtlich bleibt und man nicht durch 100 Seiten blättern muss, um diese simple Info zu erhalten.

              Wäre eine Idee (Wunsch) und Vorschlag von mir zu dem Thema 😉

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

                Gute Idee

                Gesendet von iPhone mit Tapatalk Pro

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

                  folgendes Problem

                  debian-9.5.0-amd64-netinst.iso installier

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

                  sudo npm install -g npm@4 bringt
                  ` > npm ERR! Invalid argument: family must be 4 or 6

                  npm ERR! A complete log of this run can be found in:

                  npm ERR! /root/.npm/_logs/2018-08-09T10_14_53_524Z-debug.log `
                  bei curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

                  sudo npm install -g npm@latest bringt
                  ` > npm ERR! Linux 4.9.0-7-686-pae

                  npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "npm@latest"

                  npm ERR! node v6.14.3

                  npm ERR! npm v3.10.10

                  npm ERR! path /usr/lib/node_modules/.staging/abbrev-7fff8000

                  npm ERR! code ENOENT

                  npm ERR! errno -2

                  npm ERR! syscall rename

                  npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-7fff8000' -> '/usr/lib/node_modules/npm/node_modules/abbrev'

                  npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-7fff8000' -> '/usr/lib/node_modules/npm/node_modules/abbrev'

                  npm ERR! enoent This is most likely not a problem with npm itself

                  npm ERR! enoent and is related to npm not being able to find a file.

                  npm ERR! enoent

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

                  npm ERR! /root/npm-debug.log

                  npm ERR! code 1 danach npm -v > -bash: /usr/bin/npm: Datei oder Verzeichnis nicht gefunden `
                  bei curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

                  node -v

                  -bash: node: Kommando nicht gefunden.

                  nodejs -v

                  v4.8.2

                  npm -v

                  -bash: npm: Kommando nicht gefunden.

                  build-essential ist installiert

                  Was mache ich falsch?

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    Hast du nachbdem curl…. überhaupt nodejs installiert?

                    Auf jeden Fall jetzt erst mal node v4 deinstallieren!

                    Gruß Rainer

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

                      habe ich, alles nach der Anleitung

                      http://www.iobroker.net/docu/?page_id=5106&lang=de

                      und vor jeden curl…. ein neuer, sauberer Image

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        Sehe ich aber bei dir nicht. Da fehlt ein Schritt.

                        Trotz allem musst du erst mal nodrjs 4.x loswerden.

                        So wie es in der Anleitung steht.

                        Gruß Rainer

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

                          das mit nodejs 4. kommt ja nur bei curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

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

                          und sudo npm install -g npm@4 durchführen

                          habe nur auch andere node getestet und überall läuft was schief

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators last edited by

                            @Vumer:

                            das mit nodejs 4. kommt ja nur bei curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - `
                            Nein! Dann käme bei node -v etwas wie 10.1.x

                            Nodejs 4.x war wahrscheinlich schon vorher drauf.

                            Bitte entfernen

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

                              100% sauberer Image ohne node

                              bin grade am debian neu zu installieren

                              aber was leuft bei node8 schief?

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

                                @Vumer:

                                100% sauberer Image ohne node `
                                Bist Du sicher ?

                                <u>Bevor</u> Du nodejs 8 installierst, solltest Du es überprüfen.

                                node -v
                                nodejs -v
                                npm -v
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • Vumer
                                  Vumer last edited by

                                  also, ich hätte mich selber auch nicht geglaubt :lol:

                                  aber hier kommt nodejs 8
                                  2071_node6-1.jpg
                                  2071_node6-2.jpg
                                  2071_node6-3.jpg
                                  2071_node6-4.jpg

                                  gleich kommt ein frischer Image mit nodejs 10

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    Wo ist jetzt dein problem mit node 8.x?

                                    Lediglich beim downgrade von npm hängtves.

                                    Warum jetzt das noch nicht vollständig fertige node 10 installieren?

                                    Gruß Rainer

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

                                      Das mit „family must be 4 or 6“ kann auf ein Problem mit der DNS Namensauflösung bei Dir sein.

                                      Prüfe z.B. die Datei(en) .npmrc auf folgende Zeile und lösche diese ggf.

                                      repository=http://registry.npmjs.org/npm in ~/.npmrc

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

                                        hier node 10
                                        2071_node10-1.jpg
                                        2071_node10-2.jpg

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

                                          Was für ein durcheinander…

                                          Du bist übrigens „root“, d.h. Admin. Da kannst Du Dir das „sudo“ sparen.

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

                                            @Stabilostick:

                                            Das mit „family must be 4 or 6“ kann auf ein Problem mit der DNS Namensauflösung bei Dir sein. `
                                            :?: ist eine VM von proxmox

                                            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

                                            818
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            21
                                            124
                                            29727
                                            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