Read the statement by Michael Teeuw here.
MMM-KeyBindings Error
-
Hi,
ive installed mmm-keybindings and ive got it working the way i want but ive just noticed that when i start MM i get this error:[2020-07-31 20:27:28.838] [ERROR] Whoops! There was an uncaught exception... [2020-07-31 20:27:28.845] [ERROR] Error: Cannot find module 'evdev' Require stack: - /home/pi/MagicMirror/modules/MMM-KeyBindings/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:531:27) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Class.startEvdevMonitor (/home/pi/MagicMirror/modules/MMM-KeyBindings/node_helper.js:61:17) at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-KeyBindings/node_helper.js:99:22) at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:112:11) at Socket.emit (events.js:200:13) at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12 at processTicksAndRejections (internal/process/task_queues.js:82:9) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-KeyBindings/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] } [2020-07-31 20:27:28.861] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-07-31 20:27:28.874] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesi dont think it affects MM but id like to get rid of it coming up, any help is much apprecated!
Richie
-
ive figured it out… just had to add the line:
evdev: {enabled: false],
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