• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Gestures ERROR

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 1 Posters 374 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.
  • J Offline
    JGKim
    last edited by JGKim Dec 7, 2021, 2:05 AM Dec 7, 2021, 1:36 AM

    I’m trying to use the MMM-Gesture module, but the following errors continue to occur.
    I need everyone’s help.
    If you need any information, please ask me

    [07.12.2021 10:25.35.854] [LOG] Connecting socket for: MMM-Gestures
    [07.12.2021 10:25.35.880] [LOG] Sockets connected & modules started …
    Tue Dec 07 2021 10:25:36 GMT+0900 (Japan Standard Time): Using USB: /dev/ttyACM0.
    [07.12.2021 10:25.36.221] [LOG] serial port opened
    Tue Dec 07 2021 10:25:36 GMT+0900 (Japan Standard Time): Using USB: /dev/ttyACM0.
    [07.12.2021 10:25.36.225] [LOG] serial port opened
    [07.12.2021 10:25.36.254] [LOG] Launching application.
    [07.12.2021 10:25.36.358] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure
    [07.12.2021 10:25.36.694] [ERROR] (node:11085) UnhandledPromiseRejectionWarning: Error: Error Resource temporarily unavailable Cannot lock port
    (Use electron --trace-warnings ... to show where the warning was created)
    [07.12.2021 10:25.36.695] [ERROR] (node:11085) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
    [07.12.2021 10:25.36.696] [ERROR] (node:11085) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

    1 Reply Last reply Reply Quote 0
    • J Offline
      JGKim
      last edited by JGKim Dec 7, 2021, 2:03 AM Dec 7, 2021, 2:00 AM

      I uploaded the .ino file in the Arduino folder and modified it to /dev/ttyACM0 instead of /dev/ttyACM0* in the 104th line of the Node_helper.js file.
      And when I ran the magic mirror, there was another error.
      I don’t know what the problem is yet.
      I don’t know what the problem is yet.

      [07.12.2021 10:56.34.939] [LOG] Connecting socket for: MMM-Gestures
      [07.12.2021 10:56.34.962] [LOG] Sockets connected & modules started …
      Tue Dec 07 2021 10:56:35 GMT+0900 (Japan Standard Time): Using USB: /dev/ttyACM0.
      [07.12.2021 10:56.35.302] [LOG] serial port opened
      Tue Dec 07 2021 10:56:35 GMT+0900 (Japan Standard Time): Using USB: /dev/ttyACM0.
      [07.12.2021 10:56.35.306] [LOG] serial port opened
      [07.12.2021 10:56.35.337] [LOG] Launching application.
      [07.12.2021 10:56.35.467] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure
      [07.12.2021 10:56.35.747] [ERROR] (node:12377) UnhandledPromiseRejectionWarning: Error: Error: Device or resource busy, cannot open /dev/ttyACM0
      (Use electron --trace-warnings … to show where the warning was created)
      [07.12.2021 10:56.35.749] [ERROR] (node:12377) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      [07.12.2021 10:56.35.750] [ERROR] (node:12377) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      [07.12.2021 10:56.35.752] [ERROR] (node:12377) UnhandledPromiseRejectionWarning: Error: Error: Device or resource busy, cannot open /dev/ttyACM0
      [07.12.2021 10:56.35.754] [ERROR] (node:12377) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

      1 Reply Last reply Reply Quote 0
      • J Offline
        JGKim
        last edited by Dec 7, 2021, 5:41 AM

        Arduino’s serial window was open, so this created an error.
        In conclusion, it was an error that was resolved by uploading the .ino file in the Arduino folder.
        I hope this documentation will help others.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          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