MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Sorry. One more...

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 286 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      blacter
      last edited by

      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:~ $

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy