MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    email module black screen

    Troubleshooting
    neig
    5
    10
    4855
    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.
    • F
      fischi87 last edited by fischi87

      Hello, after i installed the email module and wrote like in the readme the config in the config.js i have after restart pm2 a black screen. if i cancel the module from the config.js i can see my screen again with my modules.

      anyone a idea?

      greedings

      1 Reply Last reply Reply Quote 0
      • tosti007
        tosti007 Module Developer last edited by

        Are you certain you installed it properly by going into the folder and using the npm install command?

        If there is anything don't hesitate to contact me!
        ProfileSwitcher, TouchNotifications

        F 1 Reply Last reply Reply Quote 0
        • R
          roramirez Core Contributors last edited by

          @tosti007 At certain point some errors for this kind of case is because a forget

          npm install
          

          We’ll can figure out a solution for problems like that.

          Easy module development with MagicMirror Module Template

          1 Reply Last reply Reply Quote 1
          • F
            fischi87 @tosti007 last edited by fischi87

            @tosti007 yes of course and without any errors. when i cancel the config in config.js everthing is working very good

            i tried it agin and this is the output:

            pi@Magic-Mirror:~/MagicMirror/modules/email-mirror $ npm install
            npm WARN email@0.0.1 No repository field.
            npm WARN email@0.0.1 No license field.
            pi@Magic-Mirror:~/MagicMirror/modules/email-mirror $ 
            
            

            i tried something and now i get after DISPLAY=:0 npm start this:

            Starting MagicMirror: v2.1.0
            Loading config ...
            Loading module helpers ...
            No helper found for module: alert.
            Initializing new module helper ...
            No helper found for module: clock.
            Initializing new module helper ...
            No helper found for module: currentweather.
            No helper found for module: weatherforecast.
            Initializing new module helper ...
            null
            Initializing new module helper ...
            No helper found for module: MMM-Callmonitor-Current-Call.
            Initializing new module helper ...
            Initializing new module helper ...
            Initializing new module helper ...
            All module helpers loaded.
            Starting server op port 8090 ... 
            Server started ...
            Connecting socket for: updatenotification
            Connecting socket for: calendar
            Starting node helper for: calendar
            Connecting socket for: MMM-FRITZ-Box-Callmonitor
            Starting module: MMM-FRITZ-Box-Callmonitor
            Connecting socket for: MMM-iCloud-Client
            Starting helper: MMM-iCloud-Client
            loading Database
            Connecting socket for: MMM-SystemStats
            Connecting socket for: MMM-PIR-Sensor
            Connecting socket for: email-mirror
            email-mirror helper started ...
            Sockets connected & modules started ...
            Whoops! There was an uncaught exception...
            { Error: listen EADDRINUSE :::8090
                at Object.exports._errnoException (util.js:1026:11)
                at exports._exceptionWithHostPort (util.js:1049:20)
                at Server._listen2 (net.js:1253:14)
                at listen (net.js:1289:10)
                at net.js:1399:9
                at _combinedTickCallback (internal/process/next_tick.js:77:11)
                at process._tickCallback (internal/process/next_tick.js:98:9)
                at Module.runMain (module.js:592:11)
                at run (bootstrap_node.js:402:7)
                at startup (bootstrap_node.js:157:9)
              code: 'EADDRINUSE',
              errno: 'EADDRINUSE',
              syscall: 'listen',
              address: '::',
              port: 8090 }
            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.
            
            

            maybe this helps?

            strawberry 3.141 1 Reply Last reply Reply Quote 0
            • strawberry 3.141
              strawberry 3.141 Project Sponsor Module Developer @fischi87 last edited by

              @fischi87 something is already using this port, either an old instance of mm is still running or something else is using that port you can change the port in the config file

              Please create a github issue if you need help, so I can keep track

              F 1 Reply Last reply Reply Quote 0
              • F
                fischi87 @strawberry 3.141 last edited by

                @strawberry-3.141 i changed it and the error is not working anymore thanks but the screen is still black when i activate the email module?!

                strawberry 3.141 1 Reply Last reply Reply Quote 0
                • strawberry 3.141
                  strawberry 3.141 Project Sponsor Module Developer @fischi87 last edited by strawberry 3.141

                  @fischi87 can you start the mirror and post the logs from the terminal and electron (start with npm start dev)

                  Please create a github issue if you need help, so I can keep track

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fischi87 @strawberry 3.141 last edited by yawns

                    @strawberry-3.141

                    pi@Magic-Mirror:~/MagicMirror $ sudo npm start dev
                    
                    > magicmirror@2.1.0 start /home/pi/MagicMirror
                    > electron js/electron.js "dev"
                    
                    
                    npm ERR! Linux 4.4.38-v7+
                    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev"
                    npm ERR! node v6.10.0
                    npm ERR! npm  v4.3.0
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! magicmirror@2.1.0 start: `electron js/electron.js "dev"`
                    npm ERR! Exit status 1
                    npm ERR! 
                    npm ERR! Failed at the magicmirror@2.1.0 start script 'electron js/electron.js "dev"'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm ERR! If you do, this is most likely a problem with the magicmirror package,
                    npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR!     electron js/electron.js "dev"
                    npm ERR! You can get information on how to open an issue for this project with:
                    npm ERR!     npm bugs magicmirror
                    npm ERR! Or if that isn't available, you can get their info via:
                    npm ERR!     npm owner ls magicmirror
                    npm ERR! There is likely additional logging output above.
                    
                    npm ERR! Please include the following file with any support request:
                    npm ERR!     /root/.npm/_logs/2017-02-24T09_43_49_882Z-debug.log
                    pi@Magic-Mirror:~/MagicMirror $ 
                    
                    

                    how i do it with electron?

                    1 Reply Last reply Reply Quote 0
                    • F
                      fischi87 last edited by fischi87

                      i found the mistake because of the black screen.

                      i use the module Carousel and in this i didn’t change the module ‘email-mirror’ to ‘email’ because after installation the folders name is ‘email-mirror’ but u have to change this folder in /MagicMirror/modules to ‘email’ than it works.

                      thanks

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        ronny3050 Module Developer @fischi87 last edited by

                        @fischi87 said in email module black screen:

                        i use the module Carousel and in this i didn’t change the module ‘email-mirror’ to ‘email’ because after installation the folders name is ‘email-mirror’ but u have to change this folder in /MagicMirror/modules to ‘email’ than it works.

                        I apologize you had to figure this out the hard way, but the installation instructions clearly state this.

                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy