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.

    Error code EADDRINUSE

    Scheduled Pinned Locked Moved Solved Requests
    41 Posts 3 Posters 13.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.
    • P Offline
      PXNDA
      last edited by

      Same thing:
      Electron Security Warning (Insecure Content-Security-Policy)
      This renderer process has either no Content Security
      Policy set or a policy with “unsafe-eval” enabled. This exposes users of
      this app to unnecessary security risks.

      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.

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

        @PXNDA ok… kill mirror

        then from the MagicMirror folder do

        npm start & 
        

        there should be a stream of info , like this

        
        > magicmirror@2.8.0 start /home/pi/MagicMirror
        > sh run-start.sh
        
        Starting MagicMirror: v2.8.0
        Loading config ...
        Loading module helpers ...
        No helper found for module: alert.
        handler helper in init
        Module helper loaded: MMM-SleepWake
        Initializing new module helper ...
        Module helper loaded: MMM-ImagesPhotos
        Initializing new module helper ...
        Module helper loaded: MMM-voice
        Initializing new module helper ...
        Module helper loaded: WaterLevels
        All module helpers loaded.
        Starting server on port 8086 ...
        Server started ...
        Connecting socket for: MMM-SleepWake
        handler helper in start
        Connecting socket for: MMM-ImagesPhotos
        Starting node helper for: MMM-ImagesPhotos
        Connecting socket for: MMM-voice
        Starting module helper: MMM-voice
        Connecting socket for: WaterLevels
        Starting module: WaterLevels
        Sockets connected & modules started ...
        Launching application.
        

        then u should see any messages from the node_modules…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • P Offline
          PXNDA
          last edited by

          Will this work with Git Bash? This is what I’m using.

          S 1 Reply Last reply Reply Quote 0
          • P Offline
            PXNDA
            last edited by

            Tried it twice got this

            npm ERR! code ELIFECYCLE
            npm ERR! errno ENOENT
            npm ERR! syscall spawn
            npm ERR! magicmirror@2.8.0 start: `sh run-start.sh`
            npm ERR! spawn ENOENT
            npm ERR!
            npm ERR! Failed at the magicmirror@2.8.0 start script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     C:\Users\user1\AppData\Roaming\npm-cache\_logs\2019-07-30T19_47_00_790Z-debug.log
            
            
            1 Reply Last reply Reply Quote 0
            • P Offline
              PXNDA
              last edited by

              Starts fine without the &

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

                @PXNDA no idea

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  PXNDA
                  last edited by

                  I think the sh script may have become corrupt. Thank you anyway @sdetweil for sticking up to the mess I made of MM.

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

                    @PXNDA well, if u found it thats all that matters

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      PXNDA
                      last edited by

                      I’ve tracked the problem to the address. I’ve changed it from localhost to 0.0.0.0. Any ideas why.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        PXNDA
                        last edited by

                        Ok, I’ve figured that Electron only accepts https certified addresses so how can i fix that.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 3 / 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