A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-Face-Reco-DNN
-
@Blauenfeldt said in MMM-Face-Reco-DNN:
classes ‘name’,
yes, it should be
classes: ‘name’,u missed the colon (:) between name and value
-
My bad. That is what i have done. I will edit my problem so it is more detailed.
-
@Blauenfeldt can u show your whole module definition
is there a comma on the end of the line before classes: -
I’ve updated it. yes, the line before classes ends with a comma.
-
@Blauenfeldt thanks
in this case
{ module: "currentweather", position: "top_right", config: { location: "hidden", locationID: "hidden", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "hidden" } // < ------ comma needed here classes: 'name' },
in this case
{ module: "currentweather", position: "top_right", classes: 'name' // < --- comma needed here config: { location: "hidden", locationID: "hidden", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "hidden" } }
so, if u see an error like
WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:60 0|MagicMirror | config: {
general rule, look at the line BEFORE the line referenced and add a trailing comma
in this case, line 59 (add a comma)also, do
cd ~/MagicMirror npm run config:check
fix errors from top down
repeat til no errors -
@sdetweil Thank you. I will try that.
-
It works like a charm now. Thank you very much.