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

First start from the mirror does not work

Scheduled Pinned Locked Moved Unsolved Troubleshooting
36 Posts 6 Posters 27.7k Views 4 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
    samydp
    last edited by KirAsh4 May 26, 2016, 6:19 PM May 26, 2016, 6:03 PM

    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.

    1 Reply Last reply Reply Quote 0
    • M Offline
      mochman Module Developer
      last edited by May 26, 2016, 6:40 PM

      @samydp all you should have to do is change the language portion of your config.js from
      language: 'en', -> language: 'de',

      As for the rest of your modules, I recommend adding them one by one to your config.js file to make sure they work. If you get that electron.js error, it was on the module you just added.

      -Luke

      1 Reply Last reply Reply Quote 0
      • S Offline
        samydp
        last edited by May 26, 2016, 7:29 PM

        Many thanks for your help and your tip! but only tow module works =( the clock an the compliments why this ?
        Whenever I will add another module of the screen black!
        i have install the electron.js again but
        the add the module as in the proceeds described readme does not work !

        1 Reply Last reply Reply Quote 0
        • M Offline
          mochman Module Developer
          last edited by May 27, 2016, 12:39 AM

          Beats me, did you run npm install in the MagicMirror folder?

          1 Reply Last reply Reply Quote 0
          • S Offline
            samydp
            last edited by May 28, 2016, 8:20 AM

            yes i have install the npm in the MM Folder , only compliment, clock and news works other moduls come a error ( no config file )

            1 Reply Last reply Reply Quote 0
            • E Offline
              EoF
              last edited by Jun 4, 2016, 5:48 PM

              Hi I am having this same issue. Did you ever get it working?

              1 Reply Last reply Reply Quote 0
              • M Offline
                MichMich Admin
                last edited by Jun 4, 2016, 6:41 PM

                Maybe I’m missing something here, but it seems you try to run npm start from a remote shell. That does not work since it doesn’t know on which screen to start. Try: DISPLAY=:0 npm start

                E 1 Reply Last reply Jun 4, 2016, 8:03 PM Reply Quote 0
                • E Offline
                  EoF @MichMich
                  last edited by Jun 4, 2016, 8:03 PM

                  @MichMich Hi! I am running npm start directly on the pi, and I get the same exact error.

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    EoF
                    last edited by paviro Jun 6, 2016, 9:22 PM Jun 6, 2016, 7:49 PM

                    As an update to my situation, I was able to get mine working by installing electron dependencies.

                    sudo apt-get install libgtk2.0-0 libnotify4 libgconf2-4 libnss3

                    I am running a pi 3 with Jessie by the way.

                    FYI @MichMich @paviro

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      KirAsh4 Moderator
                      last edited by Jun 6, 2016, 7:52 PM

                      Interesting as I didn’t have to do that as a separate step. However, as I posted in a different thread yesterday, keeping the base software on your Raspberry Pi is important.

                      A Life? Cool! Where can I download one of those from?

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