• 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-Swipe: deprecated WARNINGS plus ERROR

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 1.7k Views 2 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
    binderth
    last edited by Feb 5, 2017, 12:35 PM

    Hi there,

    first of all: Do I understand it correctly, that there’s two HC-SR04 sensors neede? one for left and one for right?
    If so (which I imagine), please make the readme in github a bit more clear on this. Took me a few thoughts on how to figure “right” and “left” pins. If you’re not familiar with those sensors, you’re a bit confused… ;)

    after cloning the repo to modules and npm install I get the following warnings:

    pi@MagicMirror:~/MagicMirror/modules/MMM-Swipe $ npm install
    npm WARN deprecated math-statistics@1.2.0: THIS PROJECT IS NO LONGER MAINTAINED by clebert
    npm WARN deprecated typesystem@5.0.0: THIS PROJECT IS NO LONGER MAINTAINED by clebert
    npm WARN deprecated expressive-assertion@1.5.1: THIS PROJECT IS NO LONGER MAINTAINED by clebert
    

    Don’t know, if that’s the cause for the following errors on startup:

    pi@MagicMirror:~/MagicMirror $ DISPLAY=:0 npm restart &
    [1] 1171
    
    > magicmirror@2.1.0 start /home/pi/MagicMirror
    > electron js/electron.js
    
    Starting MagicMirror: v2.1.0
    Loading config ...
    Loading module helpers ...
    No helper found for module: MMM-Globe.
    Initializing new module helper ...
    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'mmm-usonic'
    Loading module helpers ...
    No helper found for module: MMM-Globe.
    Initializing new module helper ...
    App threw an error during load
    Error: Cannot find module 'mmm-usonic'
        at Module._resolveFilename (module.js:455:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.Module._load (module.js:403:25)
        at Module.require (module.js:483:17)
        at require (internal/module.js:20:19)
        at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:11:16)
        at Module._compile (module.js:556:32)
        at Object.Module._extensions..js (module.js:565:10)
        at Module.load (module.js:473:32)
        at tryModuleLoad (module.js:432:12)
    Whoops! There was an uncaught exception...
    { Error: Cannot find module 'mmm-usonic'
        at Module._resolveFilename (module.js:455:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.Module._load (module.js:403:25)
        at Module.require (module.js:483:17)
        at require (internal/module.js:20:19)
        at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:11:16)
        at Module._compile (module.js:556:32)
        at Object.Module._extensions..js (module.js:565:10)
        at Module.load (module.js:473:32)
        at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
    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
    Launching application.
    

    it seems, the dependency to mmm-usonic wasn’t solved, I don’t see this module anywhere on my pi…

    Thanks for help!
    Thomas.

    1 Reply Last reply Reply Quote 0
    • M Offline
      mochman Module Developer
      last edited by Feb 5, 2017, 12:47 PM

      Thomas,

      I haven’t developed it since I first made it so I’m not sure if it still works with all the updates the pi & MM have gotten. Sorry.

      If you want to still try and get it to work, yes you do need 2 sensors to detect movement between them. You also need to run the MagicMirror with sudo to allow permissions to the GPIO pins in MagicMirror.

      B 1 Reply Last reply Feb 5, 2017, 12:50 PM Reply Quote 2
      • B Offline
        binderth @mochman
        last edited by Feb 5, 2017, 12:50 PM

        @mochman ok. thanks for the update.

        Does anyone know: Is there some “newer” gesture-module for the MagicMirror?

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