• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-Admin-Interface

Scheduled Pinned Locked Moved System
29 Posts 12 Posters 29.1k Views 11 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.
  • L Offline
    lolobyte
    last edited by lolobyte Dec 30, 2016, 10:27 PM Dec 30, 2016, 10:22 PM

    Hey, that’s great.I like it.

    No need to start a ssh session.0_1483136812850_Admin_Interface.jpg

    1 Reply Last reply Reply Quote 0
    • W Offline
      wrumble
      last edited by Dec 31, 2016, 2:11 AM

      Hi, after i install and run i get a blank white screen, if i install it and run on my macbook i get the following:

      Error: Cannot find module ‘body-parser’
      at Module._resolveFilename (module.js:455:15)
      at Function.Module._resolveFilename (/Users/wayne.rumble/Desktop/MagicMirror/node_modules/electron-prebuilt/dist/Electron.app/Contents/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. (/Users/wayne.rumble/Desktop/MagicMirror/modules/MMM-Admin-Interface/node_helper.js:5:20)
      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)
      Whoops! There was an uncaught exception…
      { Error: Cannot find module ‘body-parser’
      at Module._resolveFilename (module.js:455:15)
      at Function.Module._resolveFilename (/Users/wayne.rumble/Desktop/MagicMirror/node_modules/electron-prebuilt/dist/Electron.app/Contents/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. (/Users/wayne.rumble/Desktop/MagicMirror/modules/MMM-Admin-Interface/node_helper.js:5:20)
      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) code: ‘MODULE_NOT_FOUND’ }
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.

      Running on an RPI 3 model B, when i comment out:
      ,
      {
      module: “MMM-Admin-Interface”,
      }

      from my config it works fine. Am i missing something?

      L 1 Reply Last reply Dec 31, 2016, 10:49 AM Reply Quote 0
      • L Offline
        lolobyte @wrumble
        last edited by Dec 31, 2016, 10:49 AM

        @wrumble

        Hi, same problem like on my system.

        log in with ssh to yur raspberry pi.

        cd ~/MagicMirror/

        npm install body-parser

        If you have an grunt error, then just install

        npm install grunt@(your version) --save-dev

        in my case it was ~0.4.0
        npm install grunt@~0.4.0 --save-dev

        make a

        sudo reboot

        after that and see if your MacicMirror works again without un commented

        { “module”: “MMM-Admin-Interface” },

        Be aware!

        the developer made a little mistake. He wrote…

        Usage

        Go to :8181/MMM-Admin-Interface/
        Edit away!

        You must use the port 8080

        Go to :8080/MMM-Admin-Interface/

        I 1 Reply Last reply Dec 31, 2016, 11:04 AM Reply Quote 0
        • I Offline
          ItayXD
          last edited by ItayXD Dec 31, 2016, 11:32 AM Dec 31, 2016, 11:00 AM

          it seems body-parser is not installed.
          Do you have node_modules dir inside MagicMirror/modules/MMM-Admin-Interface/?
          Do you have body-parser dir inside MagicMirror/modules/MMM-Admin-Interface/node_modules/?
          -----------EDIT-----------
          please run cd ~/Desktop/MagicMirror/modules/MMM-Admin-Interface && git pull && npm install --only=production

          1 Reply Last reply Reply Quote 0
          • I Offline
            ItayXD @lolobyte
            last edited by Dec 31, 2016, 11:04 AM

            @lolobyte Thanks for your note on the port I’ll fix it.
            Do you have any idea why body-parser isn’t installed automatically? I thought it should be…

            L 1 Reply Last reply Dec 31, 2016, 11:05 AM Reply Quote 0
            • L Offline
              lolobyte @ItayXD
              last edited by Dec 31, 2016, 11:05 AM

              @ItayXD

              No, sorry.
              I’m only a small and unknown user.

              1 Reply Last reply Reply Quote 0
              • I Offline
                ItayXD
                last edited by ItayXD Dec 31, 2016, 11:32 AM Dec 31, 2016, 11:18 AM

                Hi sorry I forgot to add install dependencies part to the readme.
                @wrumble please run cd ~/Desktop/MagicMirror/modules/MMM-Admin-Interface && git pull && npm install --only=production
                It should work

                L 1 Reply Last reply Dec 31, 2016, 11:20 AM Reply Quote 0
                • L Offline
                  lolobyte @ItayXD
                  last edited by lolobyte Dec 31, 2016, 11:21 AM Dec 31, 2016, 11:20 AM

                  @ItayXD

                  i do that step, but it doesn’t work.

                  i mean the npm install in the Admin folder.

                  Only after i install the missing files manually.

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    ItayXD
                    last edited by Dec 31, 2016, 11:23 AM

                    @lolobyte it seems my package.json is invalid will fix that

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ItayXD
                      last edited by Dec 31, 2016, 11:31 AM

                      Fixed, please try running git pull && npm install --only=production in the module directory

                      S 1 Reply Last reply Dec 31, 2016, 12:03 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        6/29
                        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