MMM-Screencast icon indicating copy to clipboard operation
MMM-Screencast copied to clipboard

Log shows "ERR_SERVER_ALREADY_LISTEN" when I install MMM-screencast

Open fribse opened this issue 3 years ago • 0 comments

I get this error when I install the module.

This is a fresh install, only 'built in' modules so far, and then MMM-Screencast.

0|MagicMirror  | [25.02.2022 10:48.11.303] [ERROR]
0|MagicMirror  | Whoops! There was an uncaught exception...
0|MagicMirror  | [25.02.2022 10:48.11.332] [ERROR]
0|MagicMirror  | Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without closing.
0|MagicMirror  |     at new NodeError (node:internal/errors:371:5)
0|MagicMirror  |     at Server.listen (node:net:1405:11)
0|MagicMirror  |     at DialServer.start (/home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js:123:17)
0|MagicMirror  |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Screencast/node_helper.js:22:21)
0|MagicMirror  |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
0|MagicMirror  |     at Socket.emit (node:events:394:28)
0|MagicMirror  |     at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
0|MagicMirror  |     at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:466:39
0|MagicMirror  |     at processTicksAndRejections (node:internal/process/task_queues:78:11) {
0|MagicMirror  |   code: 'ERR_SERVER_ALREADY_LISTEN'
0|MagicMirror  | }
0|MagicMirror  | [25.02.2022 10:48.11.336] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMirror  | [25.02.2022 10:48.11.342] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

fribse avatar Feb 25 '22 09:02 fribse