[ERROR] MODULE LIST ERROR
Opened this issue · 0 comments
beargolden commented
OS
Ubuntu 24.04 LTS
NodeJS Version
22.1.0
MagicMirror² Version
2.27.0
Remote Control Version
2.3.8
Did you try using just Remote Control alone with MM?
- I have and the error still happening
Description
After installing the MMM-Remote-Control module, I get this error when I restart the MagicMirror.
Expected behavior
By the way, I CAN remote access the MagicMirror from the specific devices, but when checking the logs, I found the reported error and would like to troubleshoot it.
Current behavior
I have done nothing, except for installing the MMM-Remote-Control module and restarting the MagicMirror.
Possible solution
No response
Steps to reproduce
- Clone this repository in my modules folder, and install dependencies.
- Add the module to my config/config.js file.
- Configure address, and ipWhitelist in my config.js
- Restart my MagicMirror² (e.g., npm run start)
Log
(base) xw@xw-Alienware-17-R5:~/MagicMirror$ npm run start
> magicmirror@2.27.0 start
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
[2024-05-16 10:42:16.027] [LOG] Starting MagicMirror: v2.27.0
[2024-05-16 10:42:16.036] [LOG] Loading config ...
[2024-05-16 10:42:16.037] [LOG] config template file not exists, no envsubst
[2024-05-16 10:42:16.038] [LOG] Loading module helpers ...
[2024-05-16 10:42:16.038] [LOG] No helper found for module: alert.
[2024-05-16 10:42:16.129] [LOG] Initializing new module helper ...
[2024-05-16 10:42:16.129] [LOG] Module helper loaded: updatenotification
[2024-05-16 10:42:16.129] [LOG] No helper found for module: clock.
[2024-05-16 10:42:16.164] [LOG] Initializing new module helper ...
[2024-05-16 10:42:16.164] [LOG] Module helper loaded: calendar
[2024-05-16 10:42:16.164] [LOG] No helper found for module: compliments.
[2024-05-16 10:42:16.164] [LOG] No helper found for module: weather.
[2024-05-16 10:42:16.186] [LOG] Initializing new module helper ...
[2024-05-16 10:42:16.186] [LOG] Module helper loaded: newsfeed
[2024-05-16 10:42:16.247] [LOG] Initializing new module helper ...
[2024-05-16 10:42:16.247] [LOG] Module helper loaded: MMM-Wallpaper
[2024-05-16 10:42:16.273] [LOG] Initializing new module helper ...
[2024-05-16 10:42:16.273] [LOG] Module helper loaded: MMM-Remote-Control
[2024-05-16 10:42:16.273] [LOG] Initializing new module helper ...
[2024-05-16 10:42:16.273] [LOG] Module helper loaded: MMM-SystemInfo
[2024-05-16 10:42:16.273] [LOG] All module helpers loaded.
[2024-05-16 10:42:16.276] [LOG] Starting server on port 8080 ...
[2024-05-16 10:42:16.513] [LOG] Server started ...
[2024-05-16 10:42:16.513] [LOG] Connecting socket for: updatenotification
[2024-05-16 10:42:16.513] [LOG] Starting module helper: updatenotification
[2024-05-16 10:42:16.514] [LOG] Connecting socket for: calendar
[2024-05-16 10:42:16.514] [LOG] Starting node helper for: calendar
[2024-05-16 10:42:16.514] [LOG] Connecting socket for: newsfeed
[2024-05-16 10:42:16.514] [LOG] Starting node helper for: newsfeed
[2024-05-16 10:42:16.514] [LOG] Connecting socket for: MMM-Wallpaper
[2024-05-16 10:42:16.514] [LOG] Starting node helper for: MMM-Wallpaper
[2024-05-16 10:42:16.514] [LOG] Connecting socket for: MMM-Remote-Control
[2024-05-16 10:42:16.515] [LOG] Starting node helper for: MMM-Remote-Control
[2024-05-16 10:42:16.527] [LOG] Connecting socket for: MMM-SystemInfo
[2024-05-16 10:42:16.527] [LOG] Starting node helper: MMM-SystemInfo
[2024-05-16 10:42:16.528] [LOG] Sockets connected & modules started ...
[2024-05-16 10:42:16.885] [LOG] Launching application.
[2024-05-16 10:42:17.173] [ERROR] MODULE LIST ERROR: Could not load data. FetchError: request to https://raw.githubusercontent.com/wiki/MichMich/MagicMirror/3rd-Party-Modules.md failed, reason:
at ClientRequest.<anonymous> (/home/xw/MagicMirror/modules/MMM-Remote-Control/node_modules/node-fetch/lib/index.js:1501:11)
at ClientRequest.emit (node:events:514:28)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED'
}
[2024-05-16 10:42:17.173] [ERROR] ERROR_LOADING_DATA
[2024-05-16 10:42:20.343] [LOG] Create new calendarfetcher for url: https://*** - Interval: 604800000
[2024-05-16 10:42:20.445] [LOG] Create new newsfetcher for url: https://*** - Interval: 300000
[2024-05-16 10:42:20.446] [LOG] Create new newsfetcher for url: https://*** - Interval: 300000
[2024-05-16 10:42:20.450] [INFO] updatenotification: Updater Class Loaded!
[2024-05-16 10:42:20.450] [INFO] updatenotification: Checking PM2 using...
[2024-05-16 10:42:20.450] [INFO] Checking git for module: MMM-Wallpaper
[2024-05-16 10:42:20.452] [INFO] Checking git for module: MMM-Remote-Control
[2024-05-16 10:42:20.452] [INFO] Checking git for module: MMM-SystemInfo
[2024-05-16 10:42:20.452] [INFO] Checking git for module: MagicMirror
[2024-05-16 10:42:20.462] [INFO] updatenotification: [PM2] You are not using pm2
[2024-05-16 10:42:20.649] [INFO] Newsfeed-Fetcher: Broadcasting 30 items.
[2024-05-16 10:42:20.744] [INFO] Newsfeed-Fetcher: Broadcasting 30 items.
[2024-05-16 10:42:21.332] [INFO] Calendar-Fetcher: Broadcasting 14 events from https://***.
[2024-05-16 10:42:22.271] [INFO] System information:
### SYSTEM: manufacturer: Alienware; model: Alienware 17 R5; raspberry: undefined; virtual: false
### OS: platform: linux; distro: Ubuntu; release: 24.04 LTS; arch: x64; kernel: 6.8.0-31-generic
### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 22.1.0; npm: 10.7.0; pm2: 5.3.1
### OTHER: timeZone: Asia/Shanghai; ELECTRON_ENABLE_GPU: undefined
config.js
let config = {
address: "0.0.0.0",
port: 8080,
ipWhitelist: ["*.*.*.*"],
modules: [
{
module: "MMM-Remote-Control",
config: {
customCommand: {},
showModuleApiMenu: true,
secureEndpoints: true,
// uncomment any of the lines below if you're gonna use it
// customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
// apiKey: "", // Optional, See API/README.md for details
// classes: {} // Optional, See "Custom Classes" below
}
},
]
};
Additional info
No response