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

Sorry. One more...



  • How do I deal with this error message:

    pi@raspberrypi:~ $ npm restart MagicMirror
    npm ERR! code ENOENT
    npm ERR! syscall open
    npm ERR! path /home/pi/package.json
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
    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-06-03T17_02_47_626Z-debug.log
    pi@raspberrypi:~ $



  • @blacter said in Sorry. One more...:

    /home/pi/package.json

    have to be IN the MagicMirror folder before u can do anything with npm commands
    /home/pi/package.json

    if u meant to use pm2, then it would have been ok anywhere

    pm2 restart MagicMirror


Log in to reply