i just removed the Steam Playtime from MM now it is back to normal :-)
i think i can live without it ;-)
But really! Thank You for the help to indentify the Problem :-)
i just removed the Steam Playtime from MM now it is back to normal :-)
i think i can live without it ;-)
But really! Thank You for the help to indentify the Problem :-)
i think the last ones are
MMM_homeassistant_sensors
MMM_HomeAssistantDisplay
MMM_SteamPlaytime
Unfortunately, I was too impatient and installed three modules at once.
Typical beginner’s mistake
@sdetweil Hello
Thank You for the fast response
it looks like there is a typo in the defaults file
node -c defaults_17951887168800.js
/home/Admin/MagicMirror/modules/MMM-Config/defaults_17951887168800.js:69
language: "---!config.languag"e
^
SyntaxError: Unexpected identifier 'e'
at wrapSafe (node:internal/modules/cjs/loader:1378:20)
at checkSyntax (node:internal/main/check_syntax:78:3)
Node.js v20.18.1
in the line 69 is this
language: "---!config.languag"e
But now that i now that can i change this my self?
if i change it myself, on the next restart “pm2 restart 0” it is back to the typo :-O
Thank you
Hello everyone,
I’m currently working on a relatively newly installed instance of MagicMirror and discovered the MMM config.
At first, it worked very well.
Unfortunately, I now only get this message “builder encountered a problem, see MagicMirror messages for info” when accessing the configure page.
I found a post here that describes a similar problem, but nothing there fixed my “problem”
https://forum.magicmirror.builders/topic/19305/rookie-question-builder-encountered-a-problem-see-magicmirror-messages-for-info
there it looks like “@sdetweil” fixed the problem.
and i found nothing MMM-Config releated in the log Files.
on npm run config:check
magicmirror@2.30.0 config:check
node js/check_config.js
[2025-03-24 02:50:15.997] [INFO] Checking config file /home/Admin/MagicMirror/config/config.js …
[2025-03-24 02:50:16.196] [INFO] Your configuration file doesn’t contain syntax errors :)
[2025-03-24 02:50:16.197] [INFO] Checking modules structure configuration …
[2025-03-24 02:50:16.334] [INFO] Your modules structure configuration doesn’t contain errors :)
contend of the file “defaults_17951887168800.js”
const config = require('../../config/config.js')
var defined_config = {
MMM_MicrosoftToDo_defaults: {
oauth2ClientSecret: "",
oauth2RefreshToken: "",
oauth2ClientId: "",
orderBy: "dueDate",
hideIfEmpty: false,
showCheckbox: true,
maxWidth: 450,
itemLimit: 200,
completeOnClick: false,
showDueDate: false,
dateFormat: "ddd MMM Do [ - ]",
refreshSeconds: 60,
fade: false,
fadePoint: 0.5,
useRelativeDate: false,
plannedTasks: {
enable: false,
includedLists: [".*"],
duration: {
weeks: 2
}
},
colorDueDate: false,
highlightTagColor: null
},
MMM_homeassistant_sensors_defaults: {
prettyName: true,
stripName: true,
title: 'Home Assistant',
host: 'hassio.local',
port: '8321',
https: false,
token: '',
apipassword: '',
fade: 100,
updateInterval: 300000,
id: false,
displaySymbol: true,
displaydates: false,
displaytimes: false,
notificationOnly: false,
notificationCondition: [],
dateformat: 'YYYY-MM-DD',
timeformat: 'HH:mm:ss',
controlsensor: 'sensor control disabled',
controlsensorvalue: 'sensor control disabled',
noaddress: 'away',
debuglogging: false,
rowClass: 'small',
values: []
},
MMM_Config_defaults: {
showQR: false,
force_update: true,
restart: "none",
ModuleSortOrder:"date",
debug: false,
},
MMM_SteamPlaytime_defaults: {
apiKey: null,
steamId: null,
updateTime: "00:00",
daysCount: 5,
gamesCount: 5,
excludeGames: [],
language: "---!config.languag"e
},
MMM_MVVWiesty_defaults: {
maxEntries: 5,
stopId: "de:09162:6",
filter: {
},
displayNotifications: true,
displayBundled: false,
scrollSpeed: 40,
minTimeUntilDeparture: 0
},
MMM_HomeAssistantDisplay_defaults: {
title: "Home Assistant",
host: "hassio.local",
port: "8123",
useTLS: false,
ignoreCert: true,
token: "",
debuglogging: false,
useModuleTigger: false,
moduleTriggerTemplate: "",
moduleTriggerEntities: false,
animationSpeed: 3000,
sections: [],
class: ""
},
MMM_EmbedURL_defaults: {
basicElementType: "div",
embedElementType: "iframe",
updateInterval: 60,
animationSpeed: 500,
positions: "tie",
attributes: [
"frameborder=0"
],
imgDecodeCheckInterval: -1,
updateDomOnResume: true
},
MMM_GmailFeed_defaults: {
updateInterval: 5 * 60 * 1000,
maxEmails: 5,
maxSubjectLength: 40,
maxFromLength: 15,
playSound: true,
autoHide: false,
displayMode: "table",
color: true,
showEmailAdressInHeader: true
},
newsfeed_defaults: {
feeds: [
{
title: "New York Times",
url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml",
encoding: "UTF-8"
}
],
showAsList: false,
showSourceTitle: true,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true,
showDescription: false,
showTitleAsUrl: false,
wrapTitle: true,
wrapDescription: true,
truncDescription: true,
lengthDescription: 400,
hideLoading: false,
reloadInterval: 5 * 60 * 1000,
updateInterval: 10 * 1000,
animationSpeed: 2.5 * 1000,
maxNewsItems: 0,
ignoreOldItems: false,
ignoreOlderThan: 24 * 60 * 60 * 1000,
removeStartTags: "",
removeEndTags: "",
startTags: [],
endTags: [],
prohibitedWords: [],
scrollLength: 500,
logFeedWarnings: false,
dangerouslyDisableAutoEscaping: false
},
helloworld_defaults: {
text: "Hello World!"
},
updatenotification_defaults: {
updateInterval: 10 * 60 * 1000,
refreshInterval: 24 * 60 * 60 * 1000,
ignoreModules: [],
sendUpdatesNotifications: false,
updates: [],
updateTimeout: 2 * 60 * 1000,
updateAutorestart: false
},
compliments_defaults: {
compliments: {
anytime: ["Hey there sexy!"],
morning: ["Good morning, handsome!", "Enjoy your day!", "How was your sleep?"],
afternoon: ["Hello, beauty!", "You look sexy!", "Looking good today!"],
evening: ["Wow, you look hot!", "You look nice!", "Hi, sexy!"],
"....-01-01": ["Happy new year!"]
},
updateInterval: 30000,
remoteFile: null,
remoteFileRefreshInterval: 0,
fadeSpeed: 4000,
morningStartTime: 3,
morningEndTime: 12,
afternoonStartTime: 12,
afternoonEndTime: 17,
random: true,
specialDayUnique: false
},
clock_defaults: {
displayType: "digital",
timeFormat: "---!config.timeFormat",
timezone: null,
displaySeconds: true,
showPeriod: true,
showPeriodUpper: false,
clockBold: false,
showDate: true,
showTime: true,
showWeek: false,
dateFormat: "dddd, LL",
sendNotifications: false,
analogSize: "200px",
analogFace: "simple",
analogPlacement: "bottom",
analogShowDate: "top",
secondsColor: "#888888",
showSunTimes: false,
showMoonTimes: false,
lat: 47.630539,
lon: -122.344147
},
alert_defaults: {
effect: "slide",
alert_effect: "jelly",
display_time: 3500,
position: "center",
welcome_message: false
},
weather_defaults: {
weatherProvider: "openweathermap",
roundTemp: false,
type: "current",
lang: "---!config.language",
units: "---!config.units",
tempUnits: "---!config.units",
windUnits: "---!config.units",
timeFormat: "---!config.timeFormat",
updateInterval: 10 * 60 * 1000,
animationSpeed: 1000,
showFeelsLike: true,
showHumidity: "none",
showIndoorHumidity: false,
showIndoorTemperature: false,
allowOverrideNotification: false,
showPeriod: true,
showPeriodUpper: false,
showPrecipitationAmount: false,
showPrecipitationProbability: false,
showUVIndex: false,
showSun: true,
showWindDirection: true,
showWindDirectionAsArrow: false,
degreeLabel: false,
decimalSymbol: ".",
maxNumberOfDays: 5,
maxEntries: 5,
ignoreToday: false,
fade: true,
fadePoint: 0.25,
initialLoadDelay: 0,
appendLocationNameToHeader: true,
calendarClass: "calendar",
tableClass: "small",
onlyTemp: false,
colored: false,
absoluteDates: false,
hourlyForecastIncrements: 1
},
calendar_defaults: {
maximumEntries: 10,
maximumNumberOfDays: 365,
limitDays: 0,
pastDaysCount: 0,
displaySymbol: true,
defaultSymbol: "calendar-alt",
defaultSymbolClassName: "fas fa-fw fa-",
showLocation: false,
displayRepeatingCountTitle: false,
defaultRepeatingCountTitle: "",
maxTitleLength: 25,
maxLocationTitleLength: 25,
wrapEvents: false,
wrapLocationEvents: false,
maxTitleLines: 3,
maxEventTitleLines: 3,
fetchInterval: 60 * 60 * 1000,
animationSpeed: 2000,
fade: true,
fadePoint: 0.25,
urgency: 7,
timeFormat: "relative",
dateFormat: "MMM Do",
dateEndFormat: "LT",
fullDayEventDateFormat: "MMM Do",
showEnd: false,
showEndsOnlyWithDuration: false,
getRelative: 6,
hidePrivate: false,
hideOngoing: false,
hideTime: false,
hideDuplicates: true,
showTimeToday: false,
colored: false,
forceUseCurrentTime: false,
tableClass: "small",
calendars: [
{
symbol: "calendar-alt",
url: "https://www.calendarlabs.com/templates/ical/US-Holidays.ics"
}
],
customEvents: [
{ keyword: ".*", transform: { search: "De verjaardag van ", replace: "" } },
{ keyword: ".*", transform: { search: "'s birthday", replace: "" } }
],
locationTitleReplace: {
"street ": ""
},
broadcastEvents: true,
excludedEvents: [],
sliceMultiDayEvents: false,
broadcastPastEvents: false,
nextDaysRelative: false,
selfSignedCert: false,
coloredText: false,
coloredBorder: false,
coloredSymbol: false,
coloredBackground: false,
limitDaysNeverSkip: false,
flipDateHeaderTitle: false,
updateOnFetch: true
},
}
module.exports={defined_config,config};
Thank You in advance
Hi,
what was your “extra bit of info in my config file” ? i haf the same error and dont find an error with my config file on my new installed MagicMirror
Thanks :-)