App Variant
Tauri
Operating System & Version
macOS 15
Issue Summary
Mac desktop app fails to launch if node is not installed and in the user PATH
Steps to Reproduce
Download the latest macOS app release (Electron or Tauri). Launch the app normally (double-click to open). App hangs at launch.
Expected Behavior
I would have expected the app to be self-contained. Current README indicates that node is required "for server mode or building from source", neither of which seems to be the case for a simple app launch?
Logs & Screenshots
[tauri-cli] start requested (dev=false)
[tauri-cli] resolving CLI entry
[tauri-cli] resolved CLI entry runner=Node entry=PATH_REDACTED/CodeNomad.app/Contents/Resources/resources/server/dist/bin.js host=127.0.0.1
[tauri-cli] CLI args: ["serve", "--host", "127.0.0.1", "--auth-cookie-name", "codenomad_session_2708_1775451404356", "--generate-token", "--https", "true", "--http", "true"]
[tauri-cli] using cwd=/
[tauri-cli] spawning via user shell
[tauri-cli] user shell command: /bin/bash ["-l", "-c", "ELECTRON_RUN_AS_NODE=1 exec node PATH_REDACTED/CodeNomad.app/Contents/Resources/resources/server/dist/bin.js serve --host 127.0.0.1 --auth-cookie-name codenomad_session_2708_1775451404356 --generate-token --https true --http true"]
[tauri-cli] spawn command: /bin/bash ["-l", "-c", "ELECTRON_RUN_AS_NODE=1 exec node PATH_REDACTED/CodeNomad.app/Contents/Resources/resources/server/dist/bin.js serve --host 127.0.0.1 --auth-cookie-name codenomad_session_2708_1775451404356 --generate-token --https true --http true"]
[tauri-cli] spawned pid=2712
[tauri-cli] [cli][stderr] /bin/bash: line 0: exec: node: not found
[tauri-cli] cli process exited before ready: Some("CLI exited early: exit status: 127")
Additional Context
Installing node in the PATH fixes the issue. However, it seems like (based on README) that the app should be capable of running standalone with its own bundling? Or is this expected behavior? If it is expected the requirements need updating.
App Variant
Tauri
Operating System & Version
macOS 15
Issue Summary
Mac desktop app fails to launch if node is not installed and in the user PATH
Steps to Reproduce
Download the latest macOS app release (Electron or Tauri). Launch the app normally (double-click to open). App hangs at launch.
Expected Behavior
I would have expected the app to be self-contained. Current README indicates that node is required "for server mode or building from source", neither of which seems to be the case for a simple app launch?
Logs & Screenshots
[tauri-cli] start requested (dev=false)
[tauri-cli] resolving CLI entry
[tauri-cli] resolved CLI entry runner=Node entry=PATH_REDACTED/CodeNomad.app/Contents/Resources/resources/server/dist/bin.js host=127.0.0.1
[tauri-cli] CLI args: ["serve", "--host", "127.0.0.1", "--auth-cookie-name", "codenomad_session_2708_1775451404356", "--generate-token", "--https", "true", "--http", "true"]
[tauri-cli] using cwd=/
[tauri-cli] spawning via user shell
[tauri-cli] user shell command: /bin/bash ["-l", "-c", "ELECTRON_RUN_AS_NODE=1 exec node PATH_REDACTED/CodeNomad.app/Contents/Resources/resources/server/dist/bin.js serve --host 127.0.0.1 --auth-cookie-name codenomad_session_2708_1775451404356 --generate-token --https true --http true"]
[tauri-cli] spawn command: /bin/bash ["-l", "-c", "ELECTRON_RUN_AS_NODE=1 exec node PATH_REDACTED/CodeNomad.app/Contents/Resources/resources/server/dist/bin.js serve --host 127.0.0.1 --auth-cookie-name codenomad_session_2708_1775451404356 --generate-token --https true --http true"]
[tauri-cli] spawned pid=2712
[tauri-cli] [cli][stderr] /bin/bash: line 0: exec: node: not found
[tauri-cli] cli process exited before ready: Some("CLI exited early: exit status: 127")
Additional Context
Installing node in the PATH fixes the issue. However, it seems like (based on README) that the app should be capable of running standalone with its own bundling? Or is this expected behavior? If it is expected the requirements need updating.