Read the statement by Michael Teeuw here.
Error with Hotwords and AssistantMk2
-
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 -
-
@blee1997 probably pm2 is already trying to start mirror
-
This post is deleted! -
@sdetweil How do I prevent from pm2 from starting?
-
@blee1997 pm2 list
pm2 stop ??? ???= Name
pm2 erase or remove don’t know. Google search or pm2 --help
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