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

Magic mirror is not showing up

Scheduled Pinned Locked Moved Solved Troubleshooting
37 Posts 4 Posters 8.8k Views 4 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.
  • S Away
    sdetweil @CoopDog1712
    last edited by Apr 22, 2022, 11:26 AM

    @CoopDog1712 have u added modules?

    if so see
    https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

    and
    pm2 logs --lines=50
    will show you what is happening

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    C 1 Reply Last reply Apr 24, 2022, 2:10 PM Reply Quote 0
    • C Offline
      CoopDog1712 @sdetweil
      last edited by Apr 24, 2022, 2:10 PM

      @sdetweil i did what you said and this is what came up.

      pi@raspberrypi:~/MagicMirror/modules/default/clock $ npm init -y
      Wrote to /home/pi/MagicMirror/modules/default/clock/package.json:

      {
      “name”: “clock”,
      “version”: “1.0.0”,
      “description”: “The clock module is one of the default modules of the MagicMirror². This module displays the current date and time. The information will be updated realtime.”,
      “main”: “clock.js”,
      “scripts”: {
      “test”: “echo “Error: no test specified” && exit 1”
      },
      “keywords”: [],
      “author”: “”,
      “license”: “ISC”
      }

      pi@raspberrypi:~/MagicMirror/modules/default/clock $ npm install ???
      npm ERR! code EINVALIDTAGNAME
      npm ERR! Invalid tag name “???”: Tags may not have any characters that encodeURIComponent encodes.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2022-04-24T14_06_36_382Z-debug-0.log
      pi@raspberrypi:~/MagicMirror/modules/default/clock $ pm2 start MagicMirror
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 4 ])
      [PM2] MagicMirror ✓
      [PM2] Process successfully started

      S 1 Reply Last reply Apr 24, 2022, 2:12 PM Reply Quote 0
      • S Away
        sdetweil @CoopDog1712
        last edited by sdetweil Apr 24, 2022, 2:15 PM Apr 24, 2022, 2:12 PM

        @CoopDog1712 no… not in clock module… we ship that

        what was the black screen failure message from the console output?

        you read the messages and get the name of the missing library, and replace the ??? with that name

        the reason YOU have to read the messages is because there are multiple libraries missing…
        you only need to fix the ones that impact the modules you installed

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Apr 24, 2022, 2:15 PM Reply Quote 0
        • C Offline
          CoopDog1712 @sdetweil
          last edited by Apr 24, 2022, 2:15 PM

          @sdetweil i dont think i saw one. i never installed any modulles, even the ones that should come with it are not showing up

          S 1 Reply Last reply Apr 24, 2022, 2:16 PM Reply Quote 0
          • S Away
            sdetweil @CoopDog1712
            last edited by sdetweil Apr 24, 2022, 2:19 PM Apr 24, 2022, 2:16 PM

            @CoopDog1712 ok, still show the messages where u start mm

            either via
            npm start
            or
            pm2

            if pm2., then
            pm2 logs --lines=50

            will show the console output

            what pi is this?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 2 Replies Last reply Apr 24, 2022, 2:19 PM Reply Quote 0
            • C Offline
              CoopDog1712 @sdetweil
              last edited by Apr 24, 2022, 2:19 PM

              @sdetweil pi 4

              1 Reply Last reply Reply Quote 0
              • C Offline
                CoopDog1712 @sdetweil
                last edited by Apr 24, 2022, 2:22 PM

                @sdetweil 2022-04-24-082040_1920x1080_scrot.png

                S 1 Reply Last reply Apr 24, 2022, 2:29 PM Reply Quote 0
                • S Away
                  sdetweil @CoopDog1712
                  last edited by Apr 24, 2022, 2:29 PM

                  @CoopDog1712 ah yes, fun times…

                  do

                  pm2 stop all 
                  cd ~/MagicMirror
                  npm install electron@17.2.0
                  npm start 
                  

                  mm should come up

                  minimize mm (alt-spacebar, n)

                  ctrl-c to stop running instance
                  

                  then

                  pm2 status
                  

                  this will show the status or pm2 managed apps.

                  ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                  │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                  ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                  │ 0  │ MagicMirror        │ fork     │ 0    │ online    │ 0%       │ 2.7mb    │
                  └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                  
                  

                  use the name or the row number

                  pm2 start xxx
                  

                  xxx is the name or the row number
                  for example

                  pm2 start 0 
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Apr 24, 2022, 2:46 PM Reply Quote 0
                  • C Offline
                    CoopDog1712 @sdetweil
                    last edited by Apr 24, 2022, 2:46 PM

                    @sdetweil after i installed electron@17.2.0 then started it, this came up 2022-04-24-084424_1920x1080_scrot.png

                    then i did start pm2 start 4, and it started, but was still a blank screen

                    S 1 Reply Last reply Apr 24, 2022, 2:48 PM Reply Quote 0
                    • S Away
                      sdetweil @CoopDog1712
                      last edited by Apr 24, 2022, 2:48 PM

                      @CoopDog1712 says something is still running…

                      you didn’t do pm2 stop all

                      after doing test

                      ps -ef | grep -i magicmirror

                      should return nothing

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      C 1 Reply Last reply Apr 24, 2022, 2:50 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        11/37
                        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