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.

    MM stopped loading after updating pi (error log included)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 547 Views 1 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.
    • I Offline
      ilkhan
      last edited by

      Fresh install of pi, tested and MM runs. Added the modules I want, tested, they all load and everything works. Ran updates on the pi, rebooted, MM won’t load.

      PM2 log files show:

      Error: ENOENT: no such file or directory, open 'package.json'
          at Object.fs.openSync (fs.js:660:18)
          at Object.fs.readFileSync (fs.js:565:33)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:15:32)
          at Module._compile (internal/modules/cjs/loader.js:654:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
          at Module.load (internal/modules/cjs/loader.js:566:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
          at Function.Module._load (internal/modules/cjs/loader.js:498:3)
          at Module.require (internal/modules/cjs/loader.js:598:17)
          at require (internal/modules/cjs/helpers.js:11:18)
      

      That log repeats as long as PM2 tries to keep loading MM.

      running
      find . -name package.json -maxdepth 2 -execdir npm install \;
      doesn’t fix it.

      MM files are up to date (git pull), and the config file is good (npm run config:check)

      Not sure where to go from here.

      1 Reply Last reply Reply Quote 0

      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
      • 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