MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Install problems



  • Hello,

    I will install the MagicMirror on my Pi3b. But I become any errors. I have try the automatic installer and the manuell installer. The errors are the same. Can someone tell me, what I doing wrong?

    Terminal:

    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 [766 B]
    Es wurden 5.350 B in 2 s geholt (3.468 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 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,3 MB Plattenplatz zusätzlich benutzt.
    Holen:1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.19.0-1nodesource1 [14,6 MB]
    Es wurden 14,6 MB in 18 s geholt (813 kB/s).                                   
    Vormals nicht ausgewähltes Paket nodejs wird gewählt.
    (Lese Datenbank ... 93551 Dateien und Verzeichnisse sind derzeit installiert.)
    Vorbereitung zum Entpacken von .../nodejs_10.19.0-1nodesource1_armhf.deb ...
    Entpacken von nodejs (10.19.0-1nodesource1) ...
    nodejs (10.19.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: 13803, done.
    remote: Total 13803 (delta 0), reused 0 (delta 0), pack-reused 13803
    Empfange Objekte: 100% (13803/13803), 13.99 MiB | 907.00 KiB/s, Fertig.
    Löse Unterschiede auf: 100% (7998/7998), Fertig.
    pi@raspberrypi:~ $ cd MagicMirror/
    pi@raspberrypi:~/MagicMirror $ npm install electron@6.0.12
    npm ERR! code ENOENT
    npm ERR! syscall rename
    npm ERR! path /home/pi/MagicMirror/node_modules/after
    npm ERR! dest /home/pi/MagicMirror/node_modules/.after.DELETE
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/after' -> '/home/pi/MagicMirror/node_modules/.after.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-03-10T15_21_01_144Z-debug.log
    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 WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
    npm ERR! code ENOENT
    npm ERR! syscall rename
    npm ERR! path /home/pi/MagicMirror/node_modules/acorn
    npm ERR! dest /home/pi/MagicMirror/node_modules/.acorn.DELETE
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/acorn' -> '/home/pi/MagicMirror/node_modules/.acorn.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-03-10T15_23_36_636Z-debug.log
    pi@raspberrypi:~/MagicMirror $
    
    

    Best regards
    Pielo



  • @Pielo please run the install script from here

    https://github.com/sdetweil/MagicMirror_scripts

    Have to delete MagicMirror folder first



  • @Pielo said in Install problems:

    . I have try the automatic installer and the manuell installer. The errors are the same. Can someone tell me, what I doing wrong?

    thanks for your answer. I have install Raspbian a new. At next, i install all updates and at last the MagicMirro. But this is the same errors. What can i do now?

    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.js is not installed.
    Installing Node.js ...
    Warning: apt-key output should not be parsed (stdout is not a terminal)
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.       
    Statusinformationen werden eingelesen.... Fertig
    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,3 MB Plattenplatz zusätzlich benutzt.
    Holen:1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.19.0-1nodesource1 [14,6 MB]
    Es wurden 14,6 MB in 13 s geholt (1.119 kB/s).                                 
    Vormals nicht ausgewähltes Paket nodejs wird gewählt.
    (Lese Datenbank ... 93551 Dateien und Verzeichnisse sind derzeit installiert.)
    Vorbereitung zum Entpacken von .../nodejs_10.19.0-1nodesource1_armhf.deb ...
    Entpacken von nodejs (10.19.0-1nodesource1) ...
    nodejs (10.19.0-1nodesource1) wird eingerichtet ...
    Trigger für man-db (2.8.5-2) werden verarbeitet ...
    node version is
    Node.js installation Done! version=v10.19.0
    Check current NPM installation ...
    NPM currently installed. Checking version number.
    Minimum npm version: V6.0.0
    Installed npm version: V6.13.4
    No npm upgrade necessary.
    Cloning MagicMirror ...
    Klone nach 'MagicMirror' ...
    remote: Enumerating objects: 331, done.
    remote: Counting objects: 100% (331/331), done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 331 (delta 42), reused 194 (delta 23), pack-reused 0
    Empfange Objekte: 100% (331/331), 676.44 KiB | 1.12 MiB/s, Fertig.
    Löse Unterschiede auf: 100% (42/42), Fertig.
    Cloning MagicMirror Done!
    bash: Zeile 296: [: !-e: Einstelliger (unärer) Operator erwartet.
    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 @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: inherits@2.0.4 (node_modules/inherits):
    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/inherits' -> '/home/pi/MagicMirror/node_modules/.inherits.DELETE'
    
    npm ERR! code ENOENT
    npm ERR! syscall rename
    npm ERR! path /home/pi/MagicMirror/node_modules/minimist
    npm ERR! dest /home/pi/MagicMirror/node_modules/.minimist.DELETE
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/minimist' -> '/home/pi/MagicMirror/node_modules/.minimist.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-03-13T13_59_34_858Z-debug.log
    Unable to install dependencies! 
    pi@raspberrypi:~ $ 
    
    
    


  • @Pielo said in Install problems:

    path /home/pi/MagicMirror/node_modules/minimist

    thanks for the great info…

    can u remove the MagicMirror folder and try the install script again…
    seems npm gets confused by the old package-lock.json file

    I m testing it too now



  • 😩
    Its the same errors. Do you have an other idea please?

    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.19.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.13.4
    No npm upgrade necessary.
    Cloning MagicMirror ...
    Klone nach 'MagicMirror' ...
    remote: Enumerating objects: 331, done.
    remote: Counting objects: 100% (331/331), done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 331 (delta 42), reused 194 (delta 23), pack-reused 0
    Empfange Objekte: 100% (331/331), 676.44 KiB | 1015.00 KiB/s, Fertig.
    Löse Unterschiede auf: 100% (42/42), Fertig.
    Cloning MagicMirror Done!
    bash: Zeile 296: [: !-e: Einstelliger (unärer) Operator erwartet.
    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 left-pad@1.3.0: use String.prototype.padStart()
    npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
    npm WARN deprecated core-js@2.6.11: core-js@ '/home/pi/MagicMirror/node_modules/.after.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-03-13T16_17_07_011Z-debug.log
    Unable to install dependencies! 
    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.19.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.13.4
    No npm upgrade necessary.
    Cloning MagicMirror ...
    Klone nach 'MagicMirror' ...
    remote: Enumerating objects: 331, done.
    remote: Counting objects: 100% (331/331), done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 331 (delta 42), reused 194 (delta 23), pack-reused 0
    Empfange Objekte: 100% (331/331), 676.44 KiB | 1.56 MiB/s, Fertig.
    Löse Unterschiede auf: 100% (42/42), Fertig.
    Cloning MagicMirror Done!
    bash: Zeile 296: [: !-e: Einstelliger (unärer) Operator erwartet.
    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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated rrule-alt@2.2.8: Please use rrule instead
    npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
    npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
    npm WARN deprecated core-js@2.6.11: core-js@ '/home/pi/MagicMirror/node_modules/@types/.node.DELETE'
    
    npm ERR! code ENOENT
    npm ERR! syscall rename
    npm ERR! path /home/pi/MagicMirror/node_modules/ansi-styles
    npm ERR! dest /home/pi/MagicMirror/node_modules/.ansi-styles.DELETE
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/ansi-styles' -> '/home/pi/MagicMirror/node_modules/.ansi-styles.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-03-13T16_19_14_063Z-debug.log
    Unable to install dependencies! 
    pi@raspberrypi:~ $ 
    
    


  • @Pielo sadly the only time we have seen weird behavior like this, the SD card is failing…



  • Thank you for your help. I buy a new card and try it.



  • @Pielo when u get a chance, please let us know… I installed twice and both worked ok… one to sd card, one to disk drive (on laptop)



  • @sdetweil

    soo i have tested on a ohter SD card, but its a similar error. (See in the terminal box.) The next attempt is, i load the Raspbian-image again form the Raspberry.org website and test it on a ohter Raspberry. I will report, if i try this.

    Terminal Box

    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.js is not installed.
    Installing Node.js ...
    Warning: apt-key output should not be parsed (stdout is not a terminal)
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.       
    Statusinformationen werden eingelesen.... Fertig
    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,3 MB Plattenplatz zusätzlich benutzt.
    Holen:1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.19.0-1nodesource1 [14,6 MB]
    Es wurden 14,6 MB in 6 s geholt (2.478 kB/s).
    Vormals nicht ausgewähltes Paket nodejs wird gewählt.
    (Lese Datenbank ... 93551 Dateien und Verzeichnisse sind derzeit installiert.)
    Vorbereitung zum Entpacken von .../nodejs_10.19.0-1nodesource1_armhf.deb ...
    Entpacken von nodejs (10.19.0-1nodesource1) ...
    nodejs (10.19.0-1nodesource1) wird eingerichtet ...
    Trigger für man-db (2.8.5-2) werden verarbeitet ...
    node version is
    Node.js installation Done! version=v10.19.0
    Check current NPM installation ...
    NPM currently installed. Checking version number.
    Minimum npm version: V6.0.0
    Installed npm version: V6.13.4
    No npm upgrade necessary.
    Cloning MagicMirror ...
    Klone nach 'MagicMirror' ...
    remote: Enumerating objects: 331, done.
    remote: Counting objects: 100% (331/331), done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 331 (delta 42), reused 194 (delta 23), pack-reused 0
    Empfange Objekte: 100% (331/331), 676.44 KiB | 1.71 MiB/s, Fertig.
    Löse Unterschiede auf: 100% (42/42), Fertig.
    Cloning MagicMirror Done!
    bash: Zeile 296: [: !-e: Einstelliger (unärer) Operator erwartet.
    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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated rrule-alt@2.2.8: Please use rrule instead
    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 webdriverio@4.14.4: outdated version, please use @next
    npm WARN deprecated mkdirp@0.5.3: 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@ '/home/pi/MagicMirror/node_modules/.async-limiter.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-03-18T07_36_56_451Z-debug.log
    Unable to install dependencies! 
    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.19.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.13.4
    No npm upgrade necessary.
    Cloning MagicMirror ...
    Klone nach 'MagicMirror' ...
    remote: Enumerating objects: 331, done.
    remote: Counting objects: 100% (331/331), done.
    remote: Compressing objects: 100% (295/295), done.
    remote: Total 331 (delta 42), reused 194 (delta 23), pack-reused 0
    Empfange Objekte: 100% (331/331), 676.44 KiB | 1.56 MiB/s, Fertig.
    Löse Unterschiede auf: 100% (42/42), Fertig.
    Cloning MagicMirror Done!
    bash: Zeile 296: [: !-e: Einstelliger (unärer) Operator erwartet.
    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 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 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.3: 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@ '/home/pi/MagicMirror/node_modules/.error-ex.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-03-18T11_26_50_304Z-debug.log
    Unable to install dependencies! 
    pi@raspberrypi:~ $ 
    
    


  • @Pielo thanks for the update. We have not seen this before.

    The install says it is using the very latest node version, 10.19.
    But each time u run the install it is a different file causing the problem, which is odd.

    I’ll do some more research and let you know


Log in to reply