Read the statement by Michael Teeuw here.
Need help with MMM-voice, getting errors
-
someone can help with this, where is the error?¿?¿ i am trying to install a voice command
{ module: "MMM-Snow", position: "fullscreen_above", config: { // See 'Configuration options' for more information. flakeCount: 100, theme: "winter", } }, { module: 'MMM-voice', position: 'bottom_bar', config: { microphone: 1, ... } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
when i run the magic mirror this error appears :
Starting MagicMirror: v2.8.0 Loading config ... 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:106 } ^ SyntaxError: Unexpected token } at new Script (vm.js:74:7) at createScript (vm.js:246:10) at Object.runInThisContext (vm.js:298:10) at Module._compile (internal/modules/cjs/loader.js:678:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) Loading module helpers ... Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: helloworld. All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Sockets connected & modules started ... Launching application.´
-
Hi bjjsoul,
please add an comma ‘,’ after the last phrase },{ module: 'MMM-voice', position: 'bottom_bar', config: { microphone: 1, ... } },
maybe that help…
-
Hi, When you are asking for help please don’t make multiple posts about the same issue.
Secondly, when asking for help with the configuration file we need to see the entire configuration file, just not a single part.Many times when you get
WARNING! Could not validate config file.
there is some symbols missing or added where they are not supposed to be.Like a missing
{
or}
Like a missing[
or]
Like a missing,
or" "
Or maybe you have copied and pasted in a module configuration where it’s not supposed to be.
-
@bjjsoul you need to remove the 3 dots from the config. They are only there to show that the module has more config options that would be placed at that position
-
@broberg thanks for your help… but they are differents modules of voice command, check it out and you can see is true .
i am only trying to install a voice command that works for my magic mirror -
@strawberry-3-141 , thanks i wil try