MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Simple parsing error help



  • Hi all,

    I’ve got a line of code that has a parsing error and I’m not sure how to fix it. Thanks for the help in advance!

    module: "compliments",
    			position: "lower_third"
    
    			config: {
    				compliments:
    				anytime: 
    					[
    						"Hey Rach!"
    					]
    

  • Module Developer

    gotta throw commas in…

    module: "compliments",
    			position: "lower_third",
    			config: {
    				compliments:
    				anytime: 
    					[
    						"Hey Rach!"
    					],
    

    etc.

    use

    npm run config:check 
    

    until you get no errors.


Log in to reply