To get this to work can I just create a MMM-Compliments_plus folder in modules and then copy the files into it and then add the config into config.js?
https://github.com/hangorazvan/compliments_plus/blob/master/README.md
To get this to work can I just create a MMM-Compliments_plus folder in modules and then copy the files into it and then add the config into config.js?
https://github.com/hangorazvan/compliments_plus/blob/master/README.md
Hi all
I’ve got Magicmirror working pretty well, I’m using a rpi can I install another version of magicmirror along side my existing one, I’m only planning on running one at a time
I just want to start again without loosing my current working version.
Cheers
Mick
Hello everyone
I’ve been having a great time playing around with MagicMirror so thanks to you all for the great work!
Throughout the learning process and all the slips trips and falls my config file is very messy and the formatting isn’t at all very neat.
What do guys do to keep your code in a neat and presentable way? Do you use any code editing software?What tips and tricks have you learnt?
Cheers All
Mick
@sdetweil Thanks for that, I thought I’d check before I start asking questions about it. I’ll go back and get the other MM working.
Hi everyone - great forum
I just wanted to clarify if the MMOS is supported here?
I installed this version of MM from here -
https://github.com/guysoft/MagicMirrorOS
@sdetweil said in Can't edit compliments.js:
ah mmos…
then u have to run the command inside the docker container where mm is installed
OK cheers I’ll do some reading and thanks everyone for the help much appreciated
@thgmirror said in Can't edit compliments.js:
Hi @mayfield,
Most of the times, commas are missing (here at least after the line with the position). Use the builtin function to check if it is valid…I use a website where you can enter the whole content of your config.js:
https://esprima.org/demo/validate.htmlGreetings
Thomas
It was a comma on the position line lol Its working again thanks for the tip
@sdetweil said in Can't edit compliments.js:
@thgmirror the built-in checker is
from the MagicMirror folder do
npm run config:check
Yes this was going to be another question I wanted to ask as that doesn’t work on mine and I’m not sure why yet
I followed this site to flash a SD card https://github.com/guysoft/MagicMirrorOS
and when I run that I get this I guess I need to install that
I’ve been reading through the documentation from here https://docs.magicmirror.builders/modules/compliments.html#configuration-options
Each time I add this to the config it stops working I’m obviously missing something.
{
module: "compliments",
position: "lower_third"
config: {
compliments: {
anytime: [
"Hey Wren!"
],
morning: [
"blah blah blah",
"blah blah blah",
"blah blah blah"
],
afternoon: [
"blah blah blah",
"Yblah blah blah",
"blah blah blah"
],
evening: [
"blah blah blah",
"blah blah blah",
"blah blah blah"
],
"....-01-01": [
"Happy new year!"
]
}
}
},