syntax error while strarting mm, am i forgeting something?
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "US Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
}
]
}
},
{
module: "compliments",
position: "lower_third"
},
{
module: "currentweather",
position: "top_right",
config: {
location: "New York",
locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "weatherforecast",
position: "top_right",
header: "Weather Forecast",
config: {
location: "New York",
locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "Hot News",
url: "http://www.ert.gr/feed/"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
{
module: 'MMM-Assistant',
position: 'bottom_left',
config: {
assistant: {
auth: {
keyFilePath: "assets/google-client-secret.json", // REQUIRED (Google Assistant API) -- OAuth2 x509 cert
savedTokensPath: "assets/google-access-tokens.json" // REQUIRED (Google Assitant API) -- accesss_token & refresh_token
},
conversation: {
lang: 'en-US',
audio: {
encodingIn: "LINEAR16", // Default. No need to change.
sampleRateOut: 16000 // Default. No need to change.
}
},
},
snowboy: {
models: [
{
hotwords : "MIRROR" // Default model: "MIRROR". (This is not the wake word!)
file: "resources/smart_mirror.umdl", // This file define your MM wake word. (See doc notes.)
sensitivity: 0.5, // 0.5
},
{
hotwords : "ASSISTANT" // Default model: "ASSISTANT". (This is not the wake word!)
file: "resources/snowboy.umdl", // This file define your GA wake word. (See doc notes.)
sensitivity: 0.5, // 0.5
}
]
},
record: {
threshold: 0, // Default. No need to change.
verbose: false, // Default: true -- for checking recording status.
recordProgram: 'rec', // You can also use 'arecord' or 'sox', but we recommend 'rec'
silence: 2.0 // Default. No need to change.
},
}, // END
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
UPDATE:Solved