Read the statement by Michael Teeuw here.
First start from the mirror does not work
-
-
I hate those node error outputs… 😔 it could be that one of your module helpers fails to start. Have you installed any modules?
-
can you tell me what all modules I exactly need. ? I make every time you install an update
-
@samydp you do not need any modules. Did you add anything to the
modules
folder? -
I have not in the folder modules I 've added the left so !
I can make it wenistens indicating to me and does not remain black : O -
@samydp I had this problem when I first installed it. It was a module problem for me. Can you comment out all of the modules from config.js except alert and see if if gives you the same error. If not, start enabling the modules one by one until you figure out which is the problem.
-Luke
-
how exactly do you mean? !
I would now delete all modules except the komentare . or how to do it ?
and thank you !!! -
Update:
can you show me how the modules in the config investing so that the screen indicating?:o -
@samydp, rename your
config.js
toconfig.js.old
and make this your newconfig.js
. Try running the program with this, if you see compliments on the bottom screen, you know that magicmirror works fine and the problem is in one of the other modules. It’s a place to start. If you’re still getting the electron errors, try rerunning npm install again in your MagicMirror directory.
var config = { port: 8080, language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: 'compliments', position: 'lower_third' } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
your config works !!! juhu thx but i have a other wrong :/
i will the language from the clock in germany
Module.register("clock",{ // Module config defaults. defaults: { timeFormat: config.timeFormat, displaySeconds: true, showPeriod: true, showPeriodUpper: false, clockBold: true }, // Define required scripts. getScripts: function() { return ["moment.js"]; }, // Define start sequence. start: function() { Log.info("Starting module: " + this.name); // Schedule update interval. var self = this; setInterval(function() { self.updateDom(); }, 1000); // Set locale. moment.locale(config.language); },
Note from Moderator: Please use proper Markdown on code snippets for easier reading.