Read the statement by Michael Teeuw here.
Are you tired of editing config.js, or have trouble doing it, see my new module
-
Oh I think that I understand now. I have to add this to the MM installer in the correct folder, correct?
-
@IamWayne this is an add on module, not part of the base
see the 1st link in my signature below for short topic about installing modules
-
this module works very well , thanks for the hard work and time . makes this project simple and fun !!
-
@sdetweil Still no joy, I am going to reinstall.I cannot display the QR code as I do not have any zones left and cannot load the web page
-
@DarkV you dont need the qr code
can you show the messages from npm start?
if using pm2 thenpm2 logs --lines=100
-
@sdetweil How do I get logs? I am a noob regarding MM
I found this[08.01.2025 00:49.42.199] [ERROR] Failed to retrieve repo info for MMM-Tools: Error: Command failed: cd /home/junior/MagicMirror/modules/MMM-Tools && git fetch -n --dry-run
fatal: unable to access ‘https://github.com/bugsounet/MMM-Tools/’: Could not resolve host: github.com -
This post is deleted! -
@DarkV way back further in the log, back 50 lines maybe
as using pm2 the good and error lines are separated into two lists
none of the bugsounet repos are online any more
so if you dont want to see those errors, you can exclude them from the updatenotification module scans -
@sdetweil [31mSyntaxError: Unexpected identifier 'config’[39m
[31m at internalCompileFunction (node:internal/vm:73:18)[39m
[31m at wrapSafe (node:internal/modules/cjs/loader:1185:20)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1227:27)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
[31m at Function._load (node:electron/js2c/node_init:2:13357)[39m
[31m at Module.require (node:internal/modules/cjs/loader:1150:19)[39m
[31m at require (node:internal/modules/cjs/helpers:121:18)[39m
[31m at loadConfig (/home/junior/MagicMirror/js/app.js:118:14)[39m
[31m at App.start (/home/junior/MagicMirror/js/app.js:248:18)[39m
[31m at Object. (/home/junior/MagicMirror/js/electron.js:192:7)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1271:14)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 09:44.46.126] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)[27.03.2025 09:46.55.825] [ERROR] [31mWARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/junior/MagicMirror/config/config.js:122[39m
[31m config: {[39m
[31m ^^^^^^[39m[31mSyntaxError: Unexpected identifier 'config’[39m
[31m at internalCompileFunction (node:internal/vm:73:18)[39m
[31m at wrapSafe (node:internal/modules/cjs/loader:1185:20)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1227:27)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
[31m at Function._load (node:electron/js2c/node_init:2:13357)[39m
[31m at Module.require (node:internal/modules/cjs/loader:1150:19)[39m
[31m at require (node:internal/modules/cjs/helpers:121:18)[39m
[31m at loadConfig (/home/junior/MagicMirror/js/app.js:118:14)[39m
[31m at App.start (/home/junior/MagicMirror/js/app.js:248:18)[39m
[31m at Object. (/home/junior/MagicMirror/js/electron.js:192:7)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1271:14)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 09:47.26.134] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 09:53.43.417] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 09:59.04.576] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 10:02.53.766] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 10:15.08.770] [ERROR] [31mWARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/junior/MagicMirror/config/config.js:130[39m
[31m {[39m
[31m ^[39m[31mSyntaxError: Unexpected token '{'[39m
[31m at internalCompileFunction (node:internal/vm:73:18)[39m
[31m at wrapSafe (node:internal/modules/cjs/loader:1185:20)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1227:27)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
[31m at Function._load (node:electron/js2c/node_init:2:13357)[39m
[31m at Module.require (node:internal/modules/cjs/loader:1150:19)[39m
[31m at require (node:internal/modules/cjs/helpers:121:18)[39m
[31m at loadConfig (/home/junior/MagicMirror/js/app.js:118:14)[39m
[31m at App.start (/home/junior/MagicMirror/js/app.js:248:18)[39m
[31m at Object. (/home/junior/MagicMirror/js/electron.js:192:7)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1271:14)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 10:15.58.981] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
[27.03.2025 10:22.57.762] [WARN] Version is incorrect. Skip module: ‘MMM-Config’
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 10:29.29.494] [ERROR] [31mWARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/junior/MagicMirror/config/config.js:130[39m
[31m {[39m
[31m ^[39m[31mSyntaxError: Unexpected token '{'[39m
[31m at internalCompileFunction (node:internal/vm:73:18)[39m
[31m at wrapSafe (node:internal/modules/cjs/loader:1185:20)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1227:27)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
[31m at Function._load (node:electron/js2c/node_init:2:13357)[39m
[31m at Module.require (node:internal/modules/cjs/loader:1150:19)[39m
[31m at require (node:internal/modules/cjs/helpers:121:18)[39m
[31m at loadConfig (/home/junior/MagicMirror/js/app.js:118:14)[39m
[31m at App.start (/home/junior/MagicMirror/js/app.js:248:18)[39m
[31m at Object. (/home/junior/MagicMirror/js/electron.js:192:7)[39m
[31m at Module._compile (node:internal/modules/cjs/loader:1271:14)[39m
[31m at Object…js (node:internal/modules/cjs/loader:1326:10)[39m
[31m at Module.load (node:internal/modules/cjs/loader:1126:32)[39m
[31m at node:internal/modules/cjs/loader:967:12[39m
/home/junior/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[27.03.2025 10:30.26.627] [ERROR] [31mWARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/junior/MagicMirror/config/config.js:130[39m
[31m {[39m
[31m ^[39m -
@DarkV mmm-config requires MagicMirror version 2.28 or higher
also, you have some syntax error around line 122 in config.js
pm2 flush to empty the logs
and see what hsppens after you fix that config.js error