Magic Mirror wont start after rebooting



  • After installing magic mirror it worked and was able to modify things but after shutting it down it would not let me start magic mirror after intending to do npm start and DISPLAY=:0 nohup npm start & ```
    //pi@raspberrypi:~ $ npm start
    npm ERR! Linux 4.4.50-v7+
    npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” "start"
    npm ERR! node v6.10.2
    npm ERR! npm v3.10.10
    npm ERR! path /home/pi/package.json
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall open

    npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json’
    npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json’
    npm ERR! enoent This is most likely not a problem with npm itself
    npm ERR! enoent and is related to npm not being able to find a file.
    npm ERR! enoent

    npm ERR! Please include the following file with any support request:
    npm ERR! /home/pi/npm-debug.log



  • @jcramirez501

    You have to do npm start in the MagicMirror directory. So, first cd MagicMirror then npm start



  • Wow im dumb, im no good at this stuff lol



  • @jcramirez501

    We were all new, once.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.