-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[Bug] new error in socketio #4089
Copy link
Copy link
Open
Labels
Description
Environment
- SYSTEM: manufacturer: Apple Inc.; model: Macmini9,1; virtual: false; MM: v2.35.0
- OS: platform: darwin; distro: macOS; release: 26.4; arch: arm64; kernel: 25.4.0
- VERSIONS: electron: 41.1.0; used node: 22.21.1; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.14
- ENV: XDG_SESSION_TYPE: undefined; MM_CONFIG_FILE: undefined
WAYLAND_DISPLAY: undefined; DISPLAY: :0; ELECTRON_ENABLE_GPU: undefined - RAM: total: 16384.00 MB; free: 232.66 MB; used: 16151.34 MB
- OTHERS: uptime: 809 minutes; timeZone: America/Chicago
Which start option are you using?
node --run start:x11
Are you using PM2?
No
Module
None
Have you tried disabling other modules?
- Yes
- No
Have you searched if someone else has already reported the issue on the forum or in the issues?
- Yes
What did you do?
Configuration
[config.js](https://github.com/user-attachments/files/26481565/config.js)
<!-- Paste relevant code here -->Steps to reproduce the issue:
in my MMM-Config, I use the same socket.io parent as used by MagicMirror , passed this.io in the node_helper
use like this
socketIOPath = "mConfig"
this.io.of(socketIOPath).on("hello",function(){
console.log("heard hello from client")
})
What did you expect to happen?
no errors
What actually happened?
get repeating socket.io error, not fatal
[2026-04-04 09:59:36.108] [ERROR] [app] Whoops! There was an uncaught exception...
[2026-04-04 09:59:36.108] [ERROR] [app] TypeError: Cannot read properties of undefined (reading 'hideConfigSecrets')
at Socket.<anonymous> (/Users/sam/MagicMirror/js/node_helper.js:92:16)
at Socket.onevent (/Users/sam/MagicMirror/node_modules/socket.io/dist/socket.js:462:26)
at Socket._onpacket (/Users/sam/MagicMirror/node_modules/socket.io/dist/socket.js:430:22)
at /Users/sam/MagicMirror/node_modules/socket.io/dist/client.js:207:24
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
Additional comments
No response
Participation
- I am willing to submit a pull request for this change.
Reactions are currently unavailable