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 won't run, blank screen with cursor showing after updating

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    81 Posts 2 Posters 42.0k 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.
    • J Offline
      jmartin1009 @sdetweil
      last edited by

      @sdetweil i installed rrule in just the normal folder, or the blank cd. where should i edit the package file? like in which folders?

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @jmartin1009
        last edited by

        @jmartin1009 everything MagicMirror starts in the MagicMirror folder…

        in just the normal folder,

        what does that mean?
        it MUST be in MagicMirror to update the runtime files…

        the

        cd .. (you were in node_modules, so back up one level, now in MagicMirror)
        npm install rrule
        

        was exact, if you followed my instructions

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jmartin1009 @sdetweil
          last edited by

          @sdetweil i accidentally installed it in the folder previous to MM, but it still worked, but im installing it in the MM folder right now. Thought you meant the first level cd. Should i remove it in the pi folder? If so how because it doesn’t show up

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @jmartin1009
            last edited by

            @jmartin1009 sure

            cd ~
            npm uninstall rrule
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jmartin1009 @sdetweil
              last edited by

              @sdetweil how do i fix this?

              pi@raspberrypi:~/MagicMirror $ npm install rrule
              npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
              npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
              
              + rrule@2.6.2
              added 2 packages from 2 contributors and audited 2431 packages in 49.239s
              found 4 vulnerabilities (2 low, 2 high)
                run `npm audit fix` to fix them, or `npm audit` for details
              pi@raspberrypi:~/MagicMirror $ npm audit fix
              npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
              npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
              
              up to date in 51.138s
              fixed 0 of 4 vulnerabilities in 2431 scanned packages
                2 package updates for 4 vulns involved breaking changes
                (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)
              
              

              Thanks for all your help btw

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @jmartin1009
                last edited by

                @jmartin1009 said in MM won't run, blank screen with cursor showing after updating:
                it says

                run npm audit fix to fix them

                many times you cannot fix them all… so, after one try, ignore it

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jmartin1009 @sdetweil
                  last edited by

                  @sdetweil Okay! Do you know anything about MM-voice? having issues with that for some reason and i can’t figure out why.

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @jmartin1009
                    last edited by

                    @jmartin1009 yes, what troubles? i have it installed on one of my MagicMirror systems…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jmartin1009 @sdetweil
                      last edited by

                      @sdetweil I have it installed but when i run MM, the little microphone says initializing, then ERROR. I used debug: true, and the file said

                      1
                      1
                      1
                      1
                      1
                      1
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @jmartin1009
                        last edited by

                        @jmartin1009 ok. usually this is the device name of the mic…

                        run

                        arecord -l
                        

                        to get the list of mic devices

                        make sure that is in the MMM-Voice config, mine is

                               config: {
                                      microphone: '1,0',
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jmartin1009 @sdetweil
                          last edited by

                          @sdetweil

                          pi@raspberrypi:~ $ arecord -l
                          **** List of CAPTURE Hardware Devices ****
                          card 1: Snowball [Blue Snowball], device 0: USB Audio [USB Audio]
                            Subdevices: 1/1
                            Subdevice #0: subdevice #0
                          

                          does this mean it is 1 or 1,0?

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @jmartin1009
                            last edited by sdetweil

                            @jmartin1009

                            card 1
                            device 0

                            1,0

                            you can also test the mic with

                            arecord -D hw:1,0 test.wav
                            
                            ctrl-break , ctrl-c, or ctrl-z after saying something
                            

                            then

                            aplay test.wav
                            

                            to hear the recorded voice back

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmartin1009 @sdetweil
                              last edited by

                              @sdetweil should i change it in MM’s config file? or MM-voice’s file:MM-voice.js? and if the second, where?

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @jmartin1009
                                last edited by

                                @jmartin1009 never change anything in the module folder, only the config.js for magic mirror

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jmartin1009 @sdetweil
                                  last edited by

                                  @sdetweil so it should look like this?

                                  {
                                  		        module: 'MMM-voice',
                                  		        position: 'upper_third',
                                  		        config: {
                                  		            microphone: '1,0',
                                  		            keyword: 'Magic Mirror',
                                  			    timeout: 15,
                                  		        }
                                      		},
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @jmartin1009
                                    last edited by

                                    @jmartin1009 yes

                                    mine looks like

                                        {
                                            module: 'MMM-voice',
                                            position: 'bottom_bar',
                                            config: {
                                                  microphone: '1,0',
                                                  keyword:        'MAGIC MIRROR',
                                                  timeout:        15,
                                                  debug: true,
                                                  standByMethod: 'hide',
                                                  startHidden: false
                                            }
                                        },
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    J 2 Replies Last reply Reply Quote 0
                                    • J Offline
                                      jmartin1009 @sdetweil
                                      last edited by

                                      @sdetweil okay ,i will run it and see what happens.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jmartin1009 @sdetweil
                                        last edited by

                                        @sdetweil still came up saying error :(

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @jmartin1009
                                          last edited by

                                          @jmartin1009 ok, add debug: yes,

                                          to the config
                                          run again and then look at the debug log in the modules/mmm-Voice folder

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jmartin1009 @sdetweil
                                            last edited by

                                            @sdetweil when i add debug: yes, it fails and says this in the terminal:

                                            pi@raspberrypi:~/MagicMirror $ npm start
                                            
                                            > magicmirror@2.6.0 start /home/pi/MagicMirror
                                            > sh run-start.sh
                                            
                                            Starting MagicMirror: v2.6.0
                                            Loading config ...
                                            WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: yes is not defined
                                                at Object.<anonymous> (/home/pi/MagicMirror/config/config.js:80:15)
                                                at Object.<anonymous> (/home/pi/MagicMirror/config/config.js:123:3)
                                                at Module._compile (module.js:642:30)
                                                at Object.Module._extensions..js (module.js:653:10)
                                                at Module.load (module.js:561:32)
                                                at tryModuleLoad (module.js:504:12)
                                                at Function.Module._load (module.js:496:3)
                                                at Module.require (module.js:586:17)
                                                at require (internal/module.js:11:18)
                                                at loadConfig (/home/pi/MagicMirror/js/app.js:64:12)
                                            Loading module helpers ...
                                            Initializing new module helper ...
                                            Module helper loaded: updatenotification
                                            No helper found for module: helloworld.
                                            All module helpers loaded.
                                            Starting server on port 8080 ... 
                                            Server started ...
                                            Connecting socket for: updatenotification
                                            Sockets connected & modules started ...
                                            Launching application.
                                            Shutting down server...
                                            Stopping module helper: updatenotification
                                            
                                            J 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • 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