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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login