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

Error when trying to install the MagicMirror 2.



  • Hi there.
    I was hoping that someone here might be of assistance, since Im completely new to this and I tried to install the MagicMirror2 on my Raspberry Pi 3.

    Its a SD card with a fresh installed Raspbian from this source https://www.raspberrypi.org/downloads/raspbian/
    Installed the desktop with recommened software version.

    I ranthis in order to install MagicMirror2
    bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)”

    This is the error Im getting.

    npm WARN npm npm does not support Node.js v10.15.2
    npm WARN npm You should probably upgrade to a newer version of node as we
    npm WARN npm can't make any promises that npm will work with this version.
    npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
    npm WARN npm You can find the latest version at https://nodejs.org/
    npm WARN tar write after end
    npm WARN notice [SECURITY] randomatic has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=randomatic&version=1.1.7 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
    npm WARN tar write after end
    npm WARN notice [SECURITY] moment has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=moment&version=2.18.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
    npm ERR! cb() never called!
    
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR!     
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-10-23T20_51_28_225Z-debug.log
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! magicmirror@2.9.0 install: `cd vendor && npm install`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the magicmirror@2.9.0 install 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/2019-10-23T20_51_28_705Z-debug.log
    Unable to install dependencies!
    
    

    Once again, Im new to this whole raspberry pi world, never used one before yesterday. If you can answer me in terms that even a baby would understand, Id really appreciate it.

    Thanks in advance.



  • @Doogain the stock installer has trouble with changes made by the dependencies…

    I have an updated one we are testing

    please give it a try
    see
    https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer/2



  • @sdetweil
    You’re the man, worked like a charm. This solution needs to be more widely known!



  • @Doogain I submitted the changes to the project this morning so in the next release they should be included