Description of bug
MeshMonitor-Desktop-4.11.2-x64.dmg (and other 4.11.x builds) bundles re2.node as arm64, but the x64 app needs x86_64.
To Reproduce
Steps to reproduce the behavior:
- Preform a clean install via the dmg file.
- Run the application.
- Enter an IP and click "Start MeshMonitor".
- Application hangs showing "Starting...".
- Open the logs folder and view server-stderr.log.
Output of server-stderr.log
node:internal/modules/cjs/loader:1920
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: dlopen(/Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/build/Release/re2.node, 0x0001): tried: '/Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/build/Release/re2.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/build/Release/re2.node' (no such file), '/Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/build/Release/re2.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))
at Object..node (node:internal/modules/cjs/loader:1920:18)
at Module.load (node:internal/modules/cjs/loader:1481:32)
at Module._load (node:internal/modules/cjs/loader:1300:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1504:12)
at require (node:internal/modules/helpers:152:16)
at Object.<anonymous> (/Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/re2.js:4:13)
at Module._compile (node:internal/modules/cjs/loader:1761:14)
at Object..js (node:internal/modules/cjs/loader:1893:10) {
code: 'ERR_DLOPEN_FAILED'
}
Node.js v24.12.0
Verification of my computer architecture vs re2.node architecture
My CPU's architecture:
ltitus@Larrys-iHack-Pro-15 git % uname -a
Darwin Larrys-iHack-Pro-15.local 24.6.0 Darwin Kernel Version 24.6.0: Tue Apr 21 20:17:54 PDT 2026; root:xnu-11417.140.69.710.16~1/RELEASE_X86_64 x86_64
Architecture of main app binary:
ltitus@Larrys-iHack-Pro-15 git % file /Applications/MeshMonitor.app/Contents/MacOS/*
/Applications/MeshMonitor.app/Contents/MacOS/meshmonitor-desktop: Mach-O 64-bit executable x86_64
Architecture of bundled re2.node:
ltitus@Larrys-iHack-Pro-15 git % file /Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/build/Release/re2.node
/Applications/MeshMonitor.app/Contents/Resources/dist/node_modules/re2/build/Release/re2.node: Mach-O 64-bit bundle arm64
Expected behavior
Bundled re2.node in MeshMonitor-Desktop-4.11.2-x64.dmg should be built for x86_64.
Environment:
- Host OS: macOS 15.7.7
- CPU: Intel 3.42 GHz Intel(R) Core(TM) i7-13700K
- Deployment type: Mac App
- Database backend: SQLite
- Node type: Heltec V4
- Node Connection Type: Wifi
Additional context
This is a similar bug as the one reported here.
Description of bug
MeshMonitor-Desktop-4.11.2-x64.dmg (and other 4.11.x builds) bundles re2.node as arm64, but the x64 app needs x86_64.
To Reproduce
Steps to reproduce the behavior:
Output of server-stderr.log
Verification of my computer architecture vs re2.node architecture
My CPU's architecture:
Architecture of main app binary:
Architecture of bundled re2.node:
Expected behavior
Bundled re2.node in MeshMonitor-Desktop-4.11.2-x64.dmg should be built for x86_64.
Environment:
Additional context
This is a similar bug as the one reported here.