MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    what Error is this

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 2 Posters 751 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil
      last edited by

      Unable to install dependencies!

      can u lost the bottom of ~/install.log

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        Pielo @sdetweil
        last edited by

        @sdetweil

        Danke für deine Antwort. Mit dem oben erwähnten Skript kommt folgende Meldung.

        https://justpaste.it/3h001

        Kann wegen Spamverdacht die Terminalausgabe nicht posten

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Pielo
          last edited by

          @Pielo ok,

          ! dest /home/pi/MagicMirror/node_modules/.base64-arraybuffer.DELETE
          npm ERR! errno -2
          npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/base64-arraybuffer' ->
          

          Dies bedeutet, dass es Probleme mit Ihrer SD-Karte gibt.

          Ich empfehle, das Betriebssystem neu zu starten und neu zu starten.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          P 2 Replies Last reply Reply Quote 0
          • P Offline
            Pielo @sdetweil
            last edited by

            @sdetweil

            Danke, ich habe das System neu aufgesetzt und mir deinem Skript neu installiert. Nun hat es endlich funktioniert. Vielen lieben Dank für die gute Hilfe.

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pielo @sdetweil
              last edited by

              @sdetweil said in what Error is this:

              > Dies bedeutet, dass es Probleme mit Ihrer SD-Karte gibt.
              
              
              hallo, ich schon wieder.
              
              Da ich mir eine neue groesere SD Karte gekauft habe, wollte ich das System nochmals installieren. Habe es erst mit der manuellen Methode versuch und danach mit ihrem Skript. leider kommt bei beiden wieder dieser Fehler.
              
              meine vorgehensweise:
              
              - Rasbian mit Etcher auf SD kopieren
              - mittels den Startassistenten die Ersteinrichtung inkl Updates
              - nochmal pruefen mit sudo apt-get update && sudo apt-get upgrade
              - dann noch ein Update vom Pi mittels sudo rpi-update
              - reboot
              
              und der Rest steht hier
              
              

              pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

              Installing the NodeSource Node.js 10.x repo…

              Populating apt-get cache…

              • apt-get update
                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:2 http://archive.raspberrypi.org/debian buster InRelease
                Paketlisten werden gelesen… Fertig

              Confirming “buster” is supported…

              • curl -sLf -o /dev/null ‘https://deb.nodesource.com/node_10.x/dists/buster/Release’

              Adding the NodeSource signing key to your keyring…

              • curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                OK

              Creating apt sources list file for the NodeSource Node.js 10.x repo…

              • echo ‘deb https://deb.nodesource.com/node_10.x buster main’ > /etc/apt/sources.list.d/nodesource.list
              • echo ‘deb-src https://deb.nodesource.com/node_10.x buster main’ >> /etc/apt/sources.list.d/nodesource.list

              Running apt-get update for you…

              • apt-get update
                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:2 http://archive.raspberrypi.org/debian buster InRelease
                Holen:3 https://deb.nodesource.com/node_10.x buster InRelease [4.584 B]
                Holen:4 https://deb.nodesource.com/node_10.x buster/main armhf Packages [762 B]
                Es wurden 5.346 B in 2 s geholt (2.217 B/s).
                Paketlisten werden gelesen… Fertig

              Run sudo apt-get install -y nodejs to install Node.js 10.x and npm

              You may also need development tools to build native addons:

               sudo apt-get install gcc g++ make
              

              To install the Yarn package manager, run:

               curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
               echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
               sudo apt-get update && sudo apt-get install yarn
              

              pi@raspberrypi:~ $ sudo apt install -y nodejs
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen… Fertig
              Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
              libmicrodns0 rpi-eeprom-images
              Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
              Die folgenden NEUEN Pakete werden installiert:
              nodejs
              0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
              Es müssen 14,6 MB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 77,9 MB Plattenplatz zusätzlich benutzt.
              Holen:1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.21.0-1nodesource1 [14,6 MB]
              Es wurden 14,6 MB in 10 s geholt (1.509 kB/s).
              Vormals nicht ausgewähltes Paket nodejs wird gewählt.
              (Lese Datenbank … 93781 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von …/nodejs_10.21.0-1nodesource1_armhf.deb …
              Entpacken von nodejs (10.21.0-1nodesource1) …
              nodejs (10.21.0-1nodesource1) wird eingerichtet …
              Trigger für man-db (2.8.5-2) werden verarbeitet …
              pi@raspberrypi:~ $ git clone https://github.com/MichMich/MagicMirror
              Klone nach ‘MagicMirror’ …
              remote: Enumerating objects: 15027, done.
              remote: Total 15027 (delta 0), reused 0 (delta 0), pack-reused 15027
              Empfange Objekte: 100% (15027/15027), 14.78 MiB | 1.29 MiB/s, Fertig.
              Löse Unterschiede auf: 100% (8859/8859), Fertig.
              pi@raspberrypi:~ $ cd MagicMirror/
              pi@raspberrypi:~/MagicMirror $ npm install
              npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
              npm ERR! code ENOENT
              npm ERR! syscall rename
              npm ERR! path /home/pi/MagicMirror/node_modules/concat-stream/node_modules/string_decoder
              npm ERR! dest /home/pi/MagicMirror/node_modules/concat-stream/node_modules/.string_decoder.DELETE
              npm ERR! errno -2
              npm ERR! enoent ENOENT: no such file or directory, rename ‘/home/pi/MagicMirror/node_modules/concat-stream/node_modules/string_decoder’ -> ‘/home/pi/MagicMirror/node_modules/concat-stream/node_modules/.string_decoder.DELETE’
              npm ERR! enoent This is related to npm not being able to find a file.
              npm ERR! enoent

              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/pi/.npm/_logs/2020-06-08T20_18_51_374Z-debug.log
              pi@raspberrypi:~/MagicMirror $ cd
              pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

              $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
              $$$\ $$$ | _| $$$\ $$$ |_| $$ $$
              $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
              $$$$$$ $$ | _
              $$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
              $$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
              $$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
              $$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
              _
              | _
              | _
              | _
              $$ |_| _
              |_| _|_|_| __| _
              / _| _______|
              $$\ $$ |
              $$$$$$ |
              _
              ____/

              install log being saved to /home/pi/install.log
              Updating packages …
              Installing helper tools …
              Check current Node installation …
              Node currently installed. Checking version number.
              Minimum Node version: v10.1.0
              Installed Node version: v10.21.0
              No Node.js upgrade necessary.
              Check current NPM installation …
              NPM currently installed. Checking version number.
              Minimum npm version: V6.0.0
              Installed npm version: V6.14.4
              No npm upgrade necessary.
              Cloning MagicMirror …
              Klone nach ‘MagicMirror’ …
              remote: Enumerating objects: 316, done.
              remote: Counting objects: 100% (316/316), done.
              remote: Compressing objects: 100% (276/276), done.
              remote: Total 316 (delta 43), reused 178 (delta 27), pack-reused 0
              Empfange Objekte: 100% (316/316), 437.95 KiB | 1.20 MiB/s, Fertig.
              Löse Unterschiede auf: 100% (43/43), Fertig.
              Cloning MagicMirror Done!
              Installing dependencies …
              npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
              npm WARN deprecated rrule-alt@2.2.8: Please use rrule instead
              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
              npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
              npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
              npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
              npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
              npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
              npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

              npm ERR! code ENOENT
              npm ERR! syscall rename
              npm ERR! path /home/pi/MagicMirror/node_modules/array-find-index
              npm ERR! dest /home/pi/MagicMirror/node_modules/.array-find-index.DELETE
              npm ERR! errno -2
              npm ERR! enoent ENOENT: no such file or directory, rename ‘/home/pi/MagicMirror/node_modules/array-find-index’ -> ‘/home/pi/MagicMirror/node_modules/.array-find-index.DELETE’
              npm ERR! enoent This is related to npm not being able to find a file.
              npm ERR! enoent

              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/pi/.npm/_logs/2020-06-08T20_22_06_862Z-debug.log
              npm notice created a lockfile as package-lock.json. You should commit this file.
              Unable to install dependencies!
              pi@raspberrypi:~ $

              
              Kann ein Profi, wie sie es sind, sich evtl vorstellen, was da die Ursache sein kann? ist an meiner Vorgehensweise etwas nicht richtig?
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Pielo
                last edited by

                @Pielo said in what Error is this:

                Kann ein Profi, wie sie es sind, sich evtl vorstellen, was da die Ursache sein kann? ist an meiner Vorgehensweise etwas nicht richtig?

                Beginnen Sie von vorne und verwenden Sie das automatisierte Skript. Den Befehl zum Kopieren / Einfügen finden Sie hier unter https://github.com/sdetweil/MagicMirror_scripts

                dann haben Sie keines dieser Probleme

                english for others
                start over and use the automated script … see here https://github.com/sdetweil/MagicMirror_scripts for the command to copy / paste

                then you won’t have any of these problems

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy