Read the statement by Michael Teeuw here.
MMM-GoogleAssistant help?
-
@infinity2437 you are missing a few trailing commas
in the MagicMirror folder do
npm run config:check
it will report an error
check the line before the reported line for a trailing comma
(ie, if it says 150, check line 149)do this until the errors are gone
-
what GA are you trying to get to work if GAv3 did you read the WiKi?
I’m happy to help im just installing GAv3 to another pi now. -
@djboob66 yes it is v3 and i checked and followed the wiki
-
@sdetweil it says line 100 column 6 but i dont see anything wrong
-
@infinity2437 because its on line 99
unexpected token
means the previous line did not have a trailing comma
-
@sdetweil I fixed that one now it says unexpected token node on touch
-
@infinity2437 there are 3 errors… all the same problem
-
Well you need to add " , " on a number of lines read WiKi config [http://wiki.bugsounet.fr/en/MMM-GoogleAssistant/Configuration](link url)
and [http://wiki.bugsounet.fr/en/MMM-GoogleAssistant/ConfigurationStructure](link url) -
@Infinity2437 @djboob66 the text config.js formatting rules are as follows
the thing to the
left
of : only needs quotes if it contains special characters, like - or .if
the thing to theright
of : is a number or true or false, it shouldnot
be quotedotherwise,
if
the thing to theright
contains letters or special chars then itmust
be quoted
single or double doesn’t matter as long as both ends matchif
the thing on thenext
line starts with a word, see rule part1, thenTHIS
lineMUST
have a comma at the end, signifying more is coming -
@sdetweil I meant he missing ( , )