A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
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! enoentnpm 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.jsonif u meant to use pm2, then it would have been ok anywhere
pm2 restart MagicMirror