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.

    mm-music-player throws an error ?

    Scheduled Pinned Locked Moved Troubleshooting
    1 Posts 1 Posters 1.1k 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.
    • S Offline
      seifanov
      last edited by

      Hello everyone !
      i am actually trying to build my first magic mirror, i tried to install mm-music-player module with no success, this is my config for the module:

      {
      		module: 'mm-music-player',
      		position: 'bottom_left',
      		config: {
      			startingVolume: 20,
      			fadeDuriation: 2000
      		}
      	},
      

      every time I launch it it throws this error

      Initializing mm-music-player module helper ...
      WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: m.loaded is not a function
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: logoCol.
      No helper found for module: clock.
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      Initializing mm-music-player module helper ...
      App threw an error during load
      TypeError: m.loaded is not a function
          at loadModule (/home/seif/Desktop/MagicMirror/js/app.js:144:6)
          at loadNextModule (/home/seif/Desktop/MagicMirror/js/app.js:161:5)
          at /home/seif/Desktop/MagicMirror/js/app.js:163:6
          at Class.loaded (/home/seif/Desktop/MagicMirror/modules/node_modules/node_helper/index.js:19:3)
          at loadModule (/home/seif/Desktop/MagicMirror/js/app.js:144:6)
          at loadNextModule (/home/seif/Desktop/MagicMirror/js/app.js:161:5)
          at /home/seif/Desktop/MagicMirror/js/app.js:163:6
          at loadModule (/home/seif/Desktop/MagicMirror/js/app.js:146:4)
          at loadNextModule (/home/seif/Desktop/MagicMirror/js/app.js:161:5)
          at /home/seif/Desktop/MagicMirror/js/app.js:163:6
      Whoops! There was an uncaught exception...
      TypeError: m.loaded is not a function
          at loadModule (/home/seif/Desktop/MagicMirror/js/app.js:144:6)
          at loadNextModule (/home/seif/Desktop/MagicMirror/js/app.js:161:5)
          at /home/seif/Desktop/MagicMirror/js/app.js:163:6
          at Class.loaded (/home/seif/Desktop/MagicMirror/modules/node_modules/node_helper/index.js:19:3)
          at loadModule (/home/seif/Desktop/MagicMirror/js/app.js:144:6)
          at loadNextModule (/home/seif/Desktop/MagicMirror/js/app.js:161:5)
          at /home/seif/Desktop/MagicMirror/js/app.js:163:6
          at loadModule (/home/seif/Desktop/MagicMirror/js/app.js:146:4)
          at loadNextModule (/home/seif/Desktop/MagicMirror/js/app.js:161:5)
          at /home/seif/Desktop/MagicMirror/js/app.js:163:6
      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.
      
      

      what is the problem ? i tried this in my ubuntu pc and on a raspberry pi2 with no success …

      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