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.

    MMM-KeyBindings Error

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 1 Posters 447 Views 1 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
      banbutcher
      last edited by banbutcher

      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/issues
      
      

      i dont think it affects MM but id like to get rid of it coming up, any help is much apprecated!

      Richie

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

        ive figured it out… just had to add the line:

        evdev: {enabled: false],
        
        1 Reply Last reply Reply Quote 0

        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
        • 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