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.

    Blank screen with error in terminal upon start.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 1.7k 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.
    • D Offline
      dcarls91
      last edited by

      So I tired this and it tells me that the dev tools was disconnected from the page. I have also gone in and ran an audit and updated all packages. This is with a fresh install of Magic Mirror as well as all modules

      S lavolp3L 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @dcarls91
        last edited by

        @dcarls91 if u added back modules, did u check and run npm install in the module folders where they had a package.json file?

        if you do npm start from a terminal window, you might get some error messages…

        I would go back to the base config.js and start adding one module at a time…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dcarls91 @sdetweil
          last edited by

          @sdetweil I will do that. I went into all of my modules and and ran npm install as well

          S 1 Reply Last reply Reply Quote 0
          • D Offline
            dcarls91
            last edited by

            It may also be an electron issue

            1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer @dcarls91
              last edited by lavolp3

              @dcarls91 I’m not sure if what you did was right.

              For me the best way and proven a hundred times is:

              • sit at an external device (laptop/PC)
              • SSH into the mirror
              • npm start dev
              • open the mirror’s page on a browser on the laptop/PC (http://IP.OF.THE.MIRROR:8080)
              • check the shell console (where you did the npm start dev) as well as the developer’s console of the browser for errors.

              There will be something that will help you find the error

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @dcarls91
                last edited by

                @dcarls91 said in Blank screen with error in terminal upon start.:

                I went into all of my modules and and ran npm install as well

                IF they do NOT have a package.json file as part of a module, then there is a bad side effect or a required file beging deleted

                you can check

                cd ~/MagicMirror
                ls modules/node_modules/node_helper/index.js
                

                if the file is there, all good,
                if not do this

                cd ~/MagicMirror
                git checkout modules/node_modules/node_helper/index.js
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 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