Read the statement by Michael Teeuw here.
Install problems
-
@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 fileI m testing it too now
-
:weary_face:
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@<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 @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/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-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@<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 @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: @types/node@10.17.17 (node_modules/@types/node): npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/@types/node' -> '/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)
-
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@<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 @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/async-limiter npm ERR! dest /home/pi/MagicMirror/node_modules/.async-limiter.DELETE npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/async-limiter' -> '/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@<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 @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/error-ex npm ERR! dest /home/pi/MagicMirror/node_modules/.error-ex.DELETE npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, rename '/home/pi/MagicMirror/node_modules/error-ex' -> '/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
-
I’ll do some more research and let you know
Thank you very much. I’m starting to despair. :loudly_crying_face:
I take the balenaEtcher for witing the SDcard. What program are using you?
-
@Pielo same etcher
-
:man_dancing_light_skin_tone: :man_dancing_light_skin_tone: :woman_dancing_light_skin_tone: :woman_dancing_light_skin_tone:
It works…
- I have downloaded a new image from this webpage (https://www.heise.de/download/product/raspbian-91329) it’s a .img-file.
- I have write the SD-card with the win32diskimager
- I don’t make updates on the first start configuration on raspbian
Thank you for your good help