A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
npm ERR! Can't install MagicMirror on my Raspberry pi 3
-
@lusiess01 the old installer is broken (how did u find that link, as its been removed for over a month now)
use the updated one
have to remove or rename the MagicMirror folder out of the waybash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
-
This post is deleted! -
This post is deleted! -
unfortunately i get the same error
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.74 MiB/s, Fertig. Löse Unterschiede auf: 100% (42/42), 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 @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 tarball cached data for qs@6.7.0 (sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for deep-extend@0.6.0 (sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for delayed-stream@1.0.0 (sha1-3zrhmayt+31ECqrgsp4icrJOxhk=) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for combined-stream@1.0.8 (sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==) seems to be corrupted. Refreshing cache. npm WARN tarball cached data for depd@1.1.2 (sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=) seems to be corrupted. Refreshing cache. > console-stamp@0.2.9 postinstall /home/pi/MagicMirror/node_modules/console-stamp > node ./msg.js internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'escape-string-regexp' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/chalk/index.js:2:26) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) npm WARN grunt-stylelint@0.13.0 requires a peer of stylelint@^12.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! console-stamp@0.2.9 postinstall: `node ./msg.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the console-stamp@0.2.9 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-12T17_36_30_674Z-debug.log Unable to install dependencies!
-
@lusiess01 ok, we have seen this only a few times… but in each case it was a problem with the memory card. stuff written doesn’t stick…
-
So what should i do? try another memory card?
-
@lusiess01 yes
-
@sdetweil I just ran the script on a pi 3, and pi 0 without problems…
-
Thanks a lot with the new sd card it works
-
@lusiess01 cool. Thanks for the feedback. Sorry about the SD card…