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

    nateb827

    @nateb827

    2
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    nateb827 Unfollow Follow

    Best posts made by nateb827

    • Getting an error when trying to implement MMM-Cursor into my config.js file

      Hi guys,

      I’m pretty new to the raspberry pi scene as well as the MM scene. I’ve successfully installed the MM and a touch screen module for whenever I eventually get a screen that has touch screen. In the meantime though, I am trying to install a cursor module and I’m running into some trouble.

      I’m using this code:

      https://github.com/uxigene/MMM-Cursor

      In the terminal, everything works fine and dandy but when I paste:

      modules: [
      	{
      		module: 'MMM-Cursor',
      		config: {
      			// See 'Configuration options' for more information.
      		}
      	}
      ]
      

      into my config.js file, I’m running into an error that reads in my terminal:

      nateb827@raspberrypi:~/MagicMirror $ npm run config:check
      
      > magicmirror@2.20.0 config:check
      > node js/check_config.js
      
      [INFO]  Checking file...  /home/nateb827/MagicMirror/config/config.js [ERROR] Your configuration file contains syntax errors :(
      [ERROR] Line 115 column 1: Parsing error: Unexpected token modules
      
      

      and here is the code, directly copied and pasted from the site into my config.js file
      (the first line is 115, “modules: [”)

      modules: [
      	{
      		module: 'MMM-Cursor',
      		config: {
      			// See 'Configuration options' for more information.
      		}
      	}
      ]
      	]
      };
      

      I’ve tried deleting the “modules” and the brackets surrounding so it just has the “module”, and not “modules” like my other module but to no avail. I’ve tried putting it outside of my main magic mirror code and it runs with no syntax but no cursor either. I’ve been stuck on this for a few days now and I haven’t seen a lot on online surrounding this issue so any help would be greatly appreciated.

      posted in Troubleshooting module config.js config modules modules
      N
      nateb827
    • RE: Getting an error when trying to implement MMM-Cursor into my config.js file

      @raymondjspigot This worked beautifully. I cannot tell you how much trial and error you’ve just solved for me. Blessings

      posted in Troubleshooting
      N
      nateb827

    Latest posts made by nateb827

    • RE: Getting an error when trying to implement MMM-Cursor into my config.js file

      @raymondjspigot This worked beautifully. I cannot tell you how much trial and error you’ve just solved for me. Blessings

      posted in Troubleshooting
      N
      nateb827
    • Getting an error when trying to implement MMM-Cursor into my config.js file

      Hi guys,

      I’m pretty new to the raspberry pi scene as well as the MM scene. I’ve successfully installed the MM and a touch screen module for whenever I eventually get a screen that has touch screen. In the meantime though, I am trying to install a cursor module and I’m running into some trouble.

      I’m using this code:

      https://github.com/uxigene/MMM-Cursor

      In the terminal, everything works fine and dandy but when I paste:

      modules: [
      	{
      		module: 'MMM-Cursor',
      		config: {
      			// See 'Configuration options' for more information.
      		}
      	}
      ]
      

      into my config.js file, I’m running into an error that reads in my terminal:

      nateb827@raspberrypi:~/MagicMirror $ npm run config:check
      
      > magicmirror@2.20.0 config:check
      > node js/check_config.js
      
      [INFO]  Checking file...  /home/nateb827/MagicMirror/config/config.js [ERROR] Your configuration file contains syntax errors :(
      [ERROR] Line 115 column 1: Parsing error: Unexpected token modules
      
      

      and here is the code, directly copied and pasted from the site into my config.js file
      (the first line is 115, “modules: [”)

      modules: [
      	{
      		module: 'MMM-Cursor',
      		config: {
      			// See 'Configuration options' for more information.
      		}
      	}
      ]
      	]
      };
      

      I’ve tried deleting the “modules” and the brackets surrounding so it just has the “module”, and not “modules” like my other module but to no avail. I’ve tried putting it outside of my main magic mirror code and it runs with no syntax but no cursor either. I’ve been stuck on this for a few days now and I haven’t seen a lot on online surrounding this issue so any help would be greatly appreciated.

      posted in Troubleshooting module config.js config modules modules
      N
      nateb827