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.

    Update Broke it good?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    5 Posts 3 Posters 2.4k Views 3 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.
    • M Offline
      moshinh
      last edited by

      So, I was trying to load my office365 calendar, and it wouldn’t load. Searches led me to believe it was fixed in an update. Sure enough, I hadn’t updated, ever. Started this over a year ago. So I decided to ‘git pull’ and try to launch mirror again. Now it won’t start at all. I get the below.

      Any ideas? Im not that smart really.

      > magicmirror@2.3.1 start /home/pi/MagicMirror
      > sh run-start.sh
      
      App threw an error during load
      Error: Cannot find module 'express-ipfilter'
          at Module._resolveFilename (module.js:455:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (module.js:403:25)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/js/server.js:13:43)
          at Module._compile (module.js:556:32)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12)
      A JavaScript error occurred in the main process
      Uncaught Exception:
      Error: Cannot find module 'express-ipfilter'
          at Module._resolveFilename (module.js:455:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (module.js:403:25)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/js/server.js:13:43)
          at Module._compile (module.js:556:32)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12)
      
      1 Reply Last reply Reply Quote 0
      • M Offline
        moshinh
        last edited by moshinh

        LOL that would explain a lot. helps to install what you’ve downloaded I suppose. Newb of the day? – Thanks!!! I was install each piece off the error message e.g., npm install express-iptables, npm install handle etc etc

        1 Reply Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator
          last edited by

          You need to run npm install in main MagicMirror folder after git pull

          1 Reply Last reply Reply Quote 0
          • M Offline
            moshinh
            last edited by moshinh

            LOL that would explain a lot. helps to install what you’ve downloaded I suppose. Newb of the day? – Thanks!!! I was install each piece off the error message e.g., npm install express-iptables, npm install handle etc etc

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by

              So I went with what I thought I knew.

              Followed the instructions listed here:
              https://stackoverflow.com/questions/42741243/how-do-you-install-newest-version-of-node-js-on-raspberry-pi

              and now I get the below :-(

              Any ideas?

              Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
                  at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:9:9)
                  at Module._compile (internal/modules/cjs/loader.js:678:30)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
                  at Module.load (internal/modules/cjs/loader.js:589:32)
                  at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
                  at Function.Module._load (internal/modules/cjs/loader.js:520:3)
                  at Module.require (internal/modules/cjs/loader.js:626:17)
                  at require (internal/modules/cjs/helpers.js:20:18)
                  at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
                  at Module._compile (internal/modules/cjs/loader.js:678:30)
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! magicmirror@2.3.1 start: `sh run-start.sh`
              npm ERR! Exit status 1
              npm ERR! 
              npm ERR! Failed at the magicmirror@2.3.1 start script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/pi/.npm/_logs/2018-05-09T16_16_54_422Z-debug.log
              
              1 Reply Last reply Reply Quote 0
              • M Offline
                moshinh
                last edited by

                This post is deleted!
                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