[GH-ISSUE #4701] [Issue]: Node.js preflight reports false negative when where.exe is unavailable #2576

Closed
opened 2026-10-21 05:50:30 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4701

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara Engine v2.4.1 refuses to start because the launcher reports that Node.js is not installed or not in PATH, even though node and npm are callable. The behavior suggests the start.bat preflight may depend on the unavailable where command, but this has not been confirmed from the launcher code.

Expected behavior

The launcher should detect the callable Node.js installation, verify its version directly, and start Marinara Engine.

Actual behavior

start.bat reports '[ERROR] Node.js is not installed or not in PATH.' and stops. Commenting out the check with REM allows Marinara Engine to run.

Steps to reproduce

  1. On Windows 10 with Marinara Engine v2.4.1, open a fresh Command Prompt in C:\games\Marinara-Engine.
  2. Run 'where node' and observe that 'where' is not recognized as a command.
  3. Run 'node -v' and observe v24.19.0.
  4. Run 'npm -v' and observe 11.17.0.
  5. Run 'start.bat'.
  6. Observe that the launcher reports Node.js is not installed or not in PATH.

Environment

  • Marinara Engine version: v2.4.1
  • Install type: Not provided
  • OS + version: Windows 10
  • Browser or app shell: Windows Command Prompt using start.bat

Logs, screenshots, or video

Command output: 'where node' returns ''where' is not recognized as an internal or external command, operable program or batch file. 'node -v' returns v24.19.0. 'npm -v' returns 11.17.0. 'start.bat' reports '[ERROR] Node.js is not installed or not in PATH. Please install Node.js 24 LTS or newer from https://nodejs.org'. Attached image shows C:\Program Files\nodejs\ in PATH: https://cdn.discordapp.com/attachments/1535193722080469024/1535193722650628178/image.png?ex=6a76e012&is=6a758e92&hm=53f073b5a1cdb97125d7a9b02f4f8608d8c63a090ccc976416c8ebd9cb2d661d&

Additional context

The user temporarily works around the issue by commenting out the Node.js check in start.bat with REM. Windows normally provides where.exe under C:\Windows\System32, so the Windows environment may also be damaged or unusually configured. Suggested launcher fix: verify Node.js by executing 'node --version' rather than relying solely on 'where', if inspection confirms that dependency. Results for C:\Windows\System32\where.exe node, dir C:\Windows\System32\where.exe, echo %PATHEXT%, and the untouched Node-check section of start.bat were not provided.

Discord thread: [ERROR] Node.js is not installed or not in PATH.
Discord thread link: https://discord.com/channels/1417099416812392641/1535193722080469024
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (7 messages)
[2026-08-07T07:51:45.864Z] Άmauneţ Ҏhoeniᶍ: Win10
Release v2.4.1

If i try to run Marinara engine i get this error, but node.js is properly instaled already.
----
C:\Windows\system32>node -v
v24.19.0
- path is also set properly

---
For now i am using REM workaround in start.bat to skip check to make ME working.

[attached image 1: https://cdn.discordapp.com/attachments/1535193722080469024/1535193722650628178/image.png?ex=6a76e012&is=6a758e92&hm=53f073b5a1cdb97125d7a9b02f4f8608d8c63a090ccc976416c8ebd9cb2d661d&]
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535193722080469024]

[2026-08-07T08:32:11.171Z] Marinara: @Professor Mari Any clues?
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535203894555054202]

[2026-08-07T08:32:38.304Z] Professor Mari [bot]: The image only shows the PATH entry `C:\Program Files\nodejs\`; it doesn’t include the actual error. Since `node -v` works and ME starts when you bypass the check, this **looks like a false negative in v2.4.1’s `start.bat` preflight**, not a broken Node installation—but the retrieved code doesn’t contain a direct match, so I can’t confirm the cause yet.

Please run these from a **fresh Command Prompt inside the ME folder**:

` ` `bat
where node
node -v
npm -v
start.bat
` ` `

Paste the complete output. If `where node` lists multiple installations, include all of them; the launcher may be finding a different Node first. Also say whether this is the ZIP release or another install method, and share the untouched Node-check section of `start.bat`. Your `REM` workaround is useful diagnostically, but I wouldn’t treat it as the permanent fix, lmao.

Please create a thread with those details here:  
https://discord.com/channels/1417099416812392641/1472566848104042496

I’m still an LLM and can absolutely misdiagnose Windows batch-file necromancy, so don’t trust my judgment too blindly.
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535204008359108711]

[2026-08-07T09:26:27.370Z] Άmauneţ Ҏhoeniᶍ: C:\games\Marinara-Engine>where node
'where' is not recognized as an internal or external command,
operable program or batch file.

C:\games\Marinara-Engine>node -v
v24.19.0

C:\games\Marinara-Engine>npm -v
11.17.0

C:\games\Marinara-Engine>start.bat

 +==========================================+
 |       Marinara Engine  -  Launcher        |
 +==========================================+

 [ERROR] Node.js is not installed or not in PATH.
 Please install Node.js 24 LTS or newer from https://nodejs.org

Press any key to continue . . .
Node.js — Run JavaScript Everywhere
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535217552043679754]

[2026-08-07T09:57:25.244Z] Marinara: @Professor Mari Is this on us?
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535225344531898419]

[2026-08-07T09:57:47.710Z] Professor Mari [bot]: **Partly.** The launcher is almost certainly producing a false negative because `where` itself is unavailable, while `node -v` and `npm -v` prove Node is callable. The screenshot also shows `C:\Program Files\nodejs\` in PATH.

However, `where.exe` is normally supplied by Windows 10 under `C:\Windows\System32`, so the underlying Windows environment also appears damaged or unusually configured. Please test:
` ` `bat
C:\Windows\System32\where.exe node
dir C:\Windows\System32\where.exe
echo %PATHEXT%
` ` `

The retrieved checkout did **not** contain a direct match for this v2.4.1 launcher check, so I cannot confirm that `start.bat` uses `where node`; that is the strongest inference from the exact behavior. A maintainer should inspect the **v2.4.1** `start.bat` and, if so, change detection to test `node --version` directly instead of relying solely on `where`. Commenting out the check is a reasonable temporary workaround since both Node and npm run.

Please post those command results in a thread in #»🆘-questions-and-help. And standard disclaimer: I’m still an LLM, so don’t trust my diagnosis too blindly. :CatbugWork:
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535225438761263134]

[2026-08-07T10:02:31.201Z] Marinara: Sigh.
[Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535226627808829450]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4701 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara Engine v2.4.1 refuses to start because the launcher reports that Node.js is not installed or not in PATH, even though node and npm are callable. The behavior suggests the start.bat preflight may depend on the unavailable where command, but this has not been confirmed from the launcher code. ## Expected behavior The launcher should detect the callable Node.js installation, verify its version directly, and start Marinara Engine. ## Actual behavior start.bat reports '[ERROR] Node.js is not installed or not in PATH.' and stops. Commenting out the check with REM allows Marinara Engine to run. ## Steps to reproduce 1. On Windows 10 with Marinara Engine v2.4.1, open a fresh Command Prompt in C:\games\Marinara-Engine. 2. Run 'where node' and observe that 'where' is not recognized as a command. 3. Run 'node -v' and observe v24.19.0. 4. Run 'npm -v' and observe 11.17.0. 5. Run 'start.bat'. 6. Observe that the launcher reports Node.js is not installed or not in PATH. ## Environment - Marinara Engine version: v2.4.1 - Install type: Not provided - OS + version: Windows 10 - Browser or app shell: Windows Command Prompt using start.bat ## Logs, screenshots, or video Command output: 'where node' returns ''where' is not recognized as an internal or external command, operable program or batch file. 'node -v' returns v24.19.0. 'npm -v' returns 11.17.0. 'start.bat' reports '[ERROR] Node.js is not installed or not in PATH. Please install Node.js 24 LTS or newer from https://nodejs.org'. Attached image shows C:\Program Files\nodejs\ in PATH: https://cdn.discordapp.com/attachments/1535193722080469024/1535193722650628178/image.png?ex=6a76e012&is=6a758e92&hm=53f073b5a1cdb97125d7a9b02f4f8608d8c63a090ccc976416c8ebd9cb2d661d& ## Additional context The user temporarily works around the issue by commenting out the Node.js check in start.bat with REM. Windows normally provides where.exe under C:\Windows\System32, so the Windows environment may also be damaged or unusually configured. Suggested launcher fix: verify Node.js by executing 'node --version' rather than relying solely on 'where', if inspection confirms that dependency. Results for C:\Windows\System32\where.exe node, dir C:\Windows\System32\where.exe, echo %PATHEXT%, and the untouched Node-check section of start.bat were not provided. Discord thread: [ERROR] Node.js is not installed or not in PATH. Discord thread link: https://discord.com/channels/1417099416812392641/1535193722080469024 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (7 messages)</summary> ```text [2026-08-07T07:51:45.864Z] Άmauneţ Ҏhoeniᶍ: Win10 Release v2.4.1 If i try to run Marinara engine i get this error, but node.js is properly instaled already. ---- C:\Windows\system32>node -v v24.19.0 - path is also set properly --- For now i am using REM workaround in start.bat to skip check to make ME working. [attached image 1: https://cdn.discordapp.com/attachments/1535193722080469024/1535193722650628178/image.png?ex=6a76e012&is=6a758e92&hm=53f073b5a1cdb97125d7a9b02f4f8608d8c63a090ccc976416c8ebd9cb2d661d&] [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535193722080469024] [2026-08-07T08:32:11.171Z] Marinara: @Professor Mari Any clues? [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535203894555054202] [2026-08-07T08:32:38.304Z] Professor Mari [bot]: The image only shows the PATH entry `C:\Program Files\nodejs\`; it doesn’t include the actual error. Since `node -v` works and ME starts when you bypass the check, this **looks like a false negative in v2.4.1’s `start.bat` preflight**, not a broken Node installation—but the retrieved code doesn’t contain a direct match, so I can’t confirm the cause yet. Please run these from a **fresh Command Prompt inside the ME folder**: ` ` `bat where node node -v npm -v start.bat ` ` ` Paste the complete output. If `where node` lists multiple installations, include all of them; the launcher may be finding a different Node first. Also say whether this is the ZIP release or another install method, and share the untouched Node-check section of `start.bat`. Your `REM` workaround is useful diagnostically, but I wouldn’t treat it as the permanent fix, lmao. Please create a thread with those details here: https://discord.com/channels/1417099416812392641/1472566848104042496 I’m still an LLM and can absolutely misdiagnose Windows batch-file necromancy, so don’t trust my judgment too blindly. [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535204008359108711] [2026-08-07T09:26:27.370Z] Άmauneţ Ҏhoeniᶍ: C:\games\Marinara-Engine>where node 'where' is not recognized as an internal or external command, operable program or batch file. C:\games\Marinara-Engine>node -v v24.19.0 C:\games\Marinara-Engine>npm -v 11.17.0 C:\games\Marinara-Engine>start.bat +==========================================+ | Marinara Engine - Launcher | +==========================================+ [ERROR] Node.js is not installed or not in PATH. Please install Node.js 24 LTS or newer from https://nodejs.org Press any key to continue . . . Node.js — Run JavaScript Everywhere Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts. [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535217552043679754] [2026-08-07T09:57:25.244Z] Marinara: @Professor Mari Is this on us? [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535225344531898419] [2026-08-07T09:57:47.710Z] Professor Mari [bot]: **Partly.** The launcher is almost certainly producing a false negative because `where` itself is unavailable, while `node -v` and `npm -v` prove Node is callable. The screenshot also shows `C:\Program Files\nodejs\` in PATH. However, `where.exe` is normally supplied by Windows 10 under `C:\Windows\System32`, so the underlying Windows environment also appears damaged or unusually configured. Please test: ` ` `bat C:\Windows\System32\where.exe node dir C:\Windows\System32\where.exe echo %PATHEXT% ` ` ` The retrieved checkout did **not** contain a direct match for this v2.4.1 launcher check, so I cannot confirm that `start.bat` uses `where node`; that is the strongest inference from the exact behavior. A maintainer should inspect the **v2.4.1** `start.bat` and, if so, change detection to test `node --version` directly instead of relying solely on `where`. Commenting out the check is a reasonable temporary workaround since both Node and npm run. Please post those command results in a thread in #»🆘-questions-and-help. And standard disclaimer: I’m still an LLM, so don’t trust my diagnosis too blindly. :CatbugWork: [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535225438761263134] [2026-08-07T10:02:31.201Z] Marinara: Sigh. [Discord message: https://discord.com/channels/1417099416812392641/1535193722080469024/1535226627808829450] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:50:30 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 7, 2026):

Work is underway in draft PR #4717, owned by @SpicyMarinara.

<!-- gh-comment-id:5218379089 --> @SpicyMarinara commented on GitHub (Aug 7, 2026): Work is underway in draft PR #4717, owned by @SpicyMarinara.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2576
No description provided.