Read the statement by Michael Teeuw here.
Cannot access MM2 across the network - localhost ok
-
@dangerousden this error is reported when there are 2 commas in a row between modules
},, { module: "foo",the next release shows this error in detail,
Your configuration file contains syntax errors :( Line 1726 column 9: Unexpected comma in middle of array.node -c doesn’t report it
-
@sdetweil Thank you for your prompt response. Apologies that mine is not so prompt. I didn’t get notifications about your reply.
Node -c config.js didn’t seem to do anything. It just returned to CLI
I’m having problems copying the config.js via Pi Connect, so I will get back to you when I return home.
TIA
-
As soon as you pointed out the double comma, I spotted it. Amazing how despite 2 hours of double checking, I missed that I had left a comma before a {
thank you, that has resolved the config error, but I still don’t have access via IP, just localhost
-
Regarding my failure to access MM via IP, but only localhost, does this mean anything to anyone??
I have installed VNC, so am wondering if this is causing problems -
my startup info is
#### System Information #### - SYSTEM: manufacturer: System manufacturer; model: System Product Name; virtual: false; MM: 2.34.0-develop - OS: platform: linux; distro: Ubuntu; release: 22.04.5 LTS; arch: x64; kernel: 5.15.0-160-generic - VERSIONS: electron: 38.1.2; used node: 22.19.0; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.13 - ENV: XDG_SESSION_TYPE: x11; MM_CONFIG_FILE: undefined WAYLAND_DISPLAY: undefined; DISPLAY: :0.0; ELECTRON_ENABLE_GPU: undefined - RAM: total: 48077.12 MB; free: 22026.83 MB; used: 26050.29 MB - OTHERS: uptime: 79391 minutes; timeZone: America/Chicagorunning with built in browser (Electron)
you are using node 24, I am using node 22. but that shouldn’t matter…
you should see these messages a few lines back from the info
[2025-12-15 15:13:31.921] [LOG] [server] Starting server on port 8090 ... [2025-12-15 15:13:31.922] [WARN] [server] You're using a full whitelist configuration to allow for all IPs [2025-12-15 15:13:31.935] [LOG] [app] Server started ..this will tell you the port and if there is a whitelist
