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 with Hotwords and AssistantMk2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 1.1k 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.
    • B Offline
      blee1997
      last edited by blee1997

      When launching MM

      • list itemcd ~/MagicMirror/

      • npm start

      before the mirror starts, this error message appears.

      { Error: listen EADDRINUSE 127.0.0.1:8080
          at Server.setupListenHandle [as _listen2] (net.js:1330:14)
          at listenInCluster (net.js:1378:12)
          at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
        errno: 'EADDRINUSE',
        code: 'EADDRINUSE',
        syscall: 'listen',
        address: '127.0.0.1',
        port: 8080 }
      

      However, on reboot. When saying the phrase “magic mirror” an exception is caught and stops any further listening from the mirror.

      Whoops! There was an uncaught exception...
      { Error: spawn ENOMEM
          at ChildProcess.spawn (internal/child_process.js:357:11)
          at spawn (child_process.js:540:9)
          at LPCM16.start (/home/pi/MagicMirror/modules/MMM-Hotword/components/lpcm16.js:101:15)
          at Class.startListening (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:217:14)
          at Class.activate (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:175:10)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:72:16)
          at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
          at Socket.emit (events.js:182:13)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at process._tickCallback (internal/process/next_tick.js:61:11) errno: 'ENOMEM', code: 'ENOMEM', syscall: 'spawn' }
      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
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @blee1997
        last edited by

        @blee1997 probably pm2 is already trying to start mirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          blee1997
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • B Offline
            blee1997 @sdetweil
            last edited by

            @sdetweil How do I prevent from pm2 from starting?

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

              @blee1997 pm2 list
              pm2 stop ??? ???= Name
              pm2 erase or remove don’t know. Google search or pm2 --help

              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