MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. tomb7
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    tomb7

    @tomb7

    3
    Reputation
    368
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    tomb7 Unfollow Follow

    Best posts made by tomb7

    • RE: Unable to get any modules working

      @Mykle1 said in Unable to get any modules working:

      The config entry should look like this. Look at your config sample. Module entries start with { and end with }, . Yes, the comma is included and necessary.

      I’ve spent way too long on this (longer than I’m willing to admit) and my problem is a missing comma?! :\

      Thanks for the help!

      posted in Troubleshooting
      T
      tomb7

    Latest posts made by tomb7

    • RE: Unable to get any modules working

      @Mykle1 said in Unable to get any modules working:

      The config entry should look like this. Look at your config sample. Module entries start with { and end with }, . Yes, the comma is included and necessary.

      I’ve spent way too long on this (longer than I’m willing to admit) and my problem is a missing comma?! :\

      Thanks for the help!

      posted in Troubleshooting
      T
      tomb7
    • Unable to get any modules working

      I did the basic install:

      curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
      

      Since I was able to start MagicMirror with out issues, I figured I’d try to add some modules. I started with the monthly calendar one figuring that would be easy:

      cd ~/MagicMirror/modules
      git clone https://github.com/KirAsh4/calendar_monthly/
      

      Modified my config/config.js:

              modules: [
                      {
                              module: "calendar_monthly",
                              position: "bottom_left",
                              config: {
                              }
                      }
                      {
                              module: "alert",
                      },
      
      

      And now when I try to start it I get:

      pi@magicmirror:~/MagicMirror $ npm start
      
      > magicmirror@2.1.1 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.1.1
      Loading config ...
      WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: helloworld.
      All module helpers loaded.
      Starting server on port 8080 ... 
      Starting server op port 8080 ... 
      Server started ...
      Connecting socket for: updatenotification
      Sockets connected & modules started ...
      Launching application.
      
      

      What am I doing wrong? I thought there might be an issue with the module, so I’ve tried others, but I continue to get the same thing. It only works when I use the default config.js file.

      posted in Troubleshooting
      T
      tomb7