mm-music-player throws an error ?



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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.