Read the statement by Michael Teeuw here.
Additional backslashes (\) being added on module install, module cannot be found
-
I keep getting Module Not Found errors for certain modules. So far it has happened on CalanderWeekly, Calendar EXT and CalendarEXT2. Every other module I have installed works fine. It looks like the path is being injected with an addition backslash which errors out. Any insight?
I should also add I am running with “node serveronly” command on windows.
Here is the log:
[05.11.2021 20:19.01.432] [LOG] Starting MagicMirror: v2.17.1
[05.11.2021 20:19.01.435] [LOG] Loading config …
[05.11.2021 20:19.01.439] [LOG] Loading module helpers …
[05.11.2021 20:19.01.440] [LOG] No helper found for module: alert.
[05.11.2021 20:19.01.446] [LOG] Initializing new module helper …
[05.11.2021 20:19.01.447] [LOG] Module helper loaded: updatenotification
[05.11.2021 20:19.01.447] [LOG] No helper found for module: clock.
[05.11.2021 20:19.01.448] [LOG] No helper found for module: calendar_monthly.
[05.11.2021 20:19.01.510] [LOG] Initializing new module helper …
[05.11.2021 20:19.01.511] [LOG] Module helper loaded: calendar
[05.11.2021 20:19.01.515] [LOG] Initializing new module helper …
[05.11.2021 20:19.01.516] [LOG] Module helper loaded: WallberryTheme
[05.11.2021 20:19.01.516] [LOG] No helper found for module: weather.
[05.11.2021 20:19.01.521] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
Require stack:- C:****\MMM\modules\MMM-CalendarExt2\node_helper.js
- C:****\MMM\js\app.js
- C:****\MMM\serveronly\index.js
[05.11.2021 20:19.01.522] [LOG] Loading module helpers …
[05.11.2021 20:19.01.522] [LOG] No helper found for module: alert.
[05.11.2021 20:19.01.522] [LOG] Initializing new module helper …
[05.11.2021 20:19.01.523] [LOG] Module helper loaded: updatenotification
[05.11.2021 20:19.01.523] [LOG] No helper found for module: clock.
[05.11.2021 20:19.01.523] [LOG] No helper found for module: calendar_monthly.
[05.11.2021 20:19.01.524] [LOG] Initializing new module helper …
[05.11.2021 20:19.01.524] [LOG] Module helper loaded: calendar
[05.11.2021 20:19.01.525] [LOG] Initializing new module helper …
[05.11.2021 20:19.01.525] [LOG] Module helper loaded: WallberryTheme
[05.11.2021 20:19.01.526] [LOG] No helper found for module: weather.
[05.11.2021 20:19.01.529] [ERROR] Whoops! There was an uncaught exception…
[05.11.2021 20:19.01.532] [ERROR] Error: Cannot find module ‘request’
Require stack: - C:****\MMM\modules\MMM-CalendarExt2\node_helper.js
- C:****\MMM\js\app.js
- C:*\MMM\serveronly\index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._resolveFilename (C:*\MMM\node_modules\module-alias\index.js:49:29)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (C:*\MMM\modules\MMM-CalendarExt2\node_helper.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
'C:\\MMM\modules\MMM-CalendarExt2\node_helper.js’,
'C:\\MMM\js\app.js’,
'C:\*\MMM\serveronly\index.js’
]
}
[05.11.2021 20:19.01.533] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[05.11.2021 20:19.01.533] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
Did the trick. Thank you!
-
-
Did the trick. Thank you!