@sdetweil, I am running into a similar occurrence but from your initial post I don’t have pm2 installed (as you can see below). Any advice would be appreciated. I have completely reimaged my Pi and retried the steps.
I followed all of the standard manual install steps, have git and node and npm.
This is what I am getting when attempting to run ‘node --run start’
Starting server on port 8080 …
[1877:0409/161415.143762:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
[1877:0409/161415.143988:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:281] Failed to initialize Wayland platform
[1877:0409/161415.144045:ERROR:ui/aura/env.cc:246] The platform failed to initialize. Exiting.
/home/onthewall/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
System Information
- SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.2; virtual: false; MM: v2.35.0
- OS: platform: linux; distro: Debian GNU/Linux; release: 13; arch: arm64; kernel: 6.12.75+rpt-rpi-v8
- VERSIONS: electron: 41.1.0; used node: 24.14.1; installed node: 24.14.1; npm: 11.11.0; pm2:
- ENV: XDG_SESSION_TYPE: undefined; MM_CONFIG_FILE: undefined
WAYLAND_DISPLAY: wayland-1; DISPLAY: undefined; ELECTRON_ENABLE_GPU: undefined
- RAM: total: 3796.68 MB; free: 3304.59 MB; used: 492.10 MB
- OTHERS: uptime: 1 minutes; timeZone: America/Los_Angeles