[GH-ISSUE #4875] [Issue]: Windows installer v2.4.1 falsely rejects working pnpm 10.34.5 #2701

Closed
opened 2026-10-21 05:53:21 +07:00 by bsakaguchi · 4 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara-Engine-Installer-2.4.1.exe reports that pnpm 10.34.5 could not be installed automatically, even though Corepack and pnpm 10.34.5 are working correctly.

The same failure occurs when running the installer normally or with /S.

Environment

  • Windows x64
  • Marinara Engine: 2.4.1
  • Node.js: 24.19.0
  • Corepack: 0.35.0
  • Required pnpm: 10.34.5
  • Installer SHA-256:
    9005add87786815ca2bfbdf15cfe2dd62a9d1fb2732f1757ae7035eba3d136d9

The SHA-256 matches the official GitHub release asset.

Error

The installer displays:

pnpm 10.34.5 could not be installed automatically.

Please check your internet connection or run npm install --global pnpm@10.34.5, then run this installer again.

Steps to reproduce

  1. Install Node.js 24 with Corepack.

  2. Confirm the pinned pnpm descriptor works:

    corepack pnpm@10.34.5+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e --version
    
Originally created by @jwmcguire3 on GitHub (Aug 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4875 Originally assigned to: @SpicyMarinara on GitHub. ### Summary `Marinara-Engine-Installer-2.4.1.exe` reports that pnpm 10.34.5 could not be installed automatically, even though Corepack and pnpm 10.34.5 are working correctly. The same failure occurs when running the installer normally or with `/S`. ### Environment - Windows x64 - Marinara Engine: 2.4.1 - Node.js: 24.19.0 - Corepack: 0.35.0 - Required pnpm: 10.34.5 - Installer SHA-256: `9005add87786815ca2bfbdf15cfe2dd62a9d1fb2732f1757ae7035eba3d136d9` The SHA-256 matches the official GitHub release asset. ### Error The installer displays: > pnpm 10.34.5 could not be installed automatically. > > Please check your internet connection or run npm install --global pnpm@10.34.5, then run this installer again. ### Steps to reproduce 1. Install Node.js 24 with Corepack. 2. Confirm the pinned pnpm descriptor works: ```bat corepack pnpm@10.34.5+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e --version
bsakaguchi 2026-10-21 05:53:21 +07:00
Author
Owner

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

Pookie, we addressed this on staging, could you check, please?

<!-- gh-comment-id:5243733630 --> @SpicyMarinara commented on GitHub (Aug 10, 2026): Pookie, we addressed this on staging, could you check, please?
Author
Owner

@jwmcguire3 commented on GitHub (Aug 10, 2026):

Thanks. Just to confirm, current staging still appears to validate all
pnpm runners with findstr /X. On my system those pipelines return exit code
1 even though each runner outputs 10.34.5, which causes the new npm
fallback to be rejected too. Does the staging fix cover that exact case, or
only the npm global-prefix/PATH issue?

I also cut off a large portion of that issue, heres the whole thing

Title

Windows installer v2.4.1 falsely rejects working pnpm 10.34.5

Body

Summary

Marinara-Engine-Installer-2.4.1.exe reports that pnpm 10.34.5 could
not be installed automatically, even though Corepack and pnpm 10.34.5
are working correctly.

The same failure occurs when running the installer normally or with /S.

Environment

  • Windows x64
  • Marinara Engine: 2.4.1
  • Node.js: 24.19.0
  • Corepack: 0.35.0
  • Required pnpm: 10.34.5
  • Installer SHA-256:
    9005add87786815ca2bfbdf15cfe2dd62a9d1fb2732f1757ae7035eba3d136d9

The SHA-256 matches the official GitHub release asset.

Error

The installer displays:

pnpm 10.34.5 could not be installed automatically.

Please check your internet connection or run npm install --global @.***, then run this installer again.

Steps to reproduce

  1. Install Node.js 24 with Corepack.

  2. Confirm the pinned pnpm descriptor works:

    corepack ***@***.***+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e
    

--version

Output:

10.34.5

Also activate/install the exact version:

npm install --global @.***
corepack install --global
@.***+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e
pnpm --version

Output:

10.34.5

Run Marinara-Engine-Installer-2.4.1.exe.
5.

The installer still reports that pnpm 10.34.5 could not be installed.

Likely cause

The NSIS installer validates each pnpm runner using a pipeline similar to:

pnpm --version | %SystemRoot%\System32\findstr.exe /x /l /c:10.34.5

On this system, pnpm outputs 10.34.5 with an LF-only line ending. findstr /X
returns exit code 1 even though the visible output is exactly 10.34.5.

All three installer checks consequently fail:

  • Corepack runner
  • Installed pnpm runner
  • Temporary npx @.*** runner

Running pnpm --version directly returns the correct version.
Expected behavior

The installer should recognize the working pnpm 10.34.5 runner and continue
installation.
Possible fix

Capture and compare the version without findstr /X, or normalize whitespace
and line endings first. For example, the batch installer’s for /f approach
appears more robust:

for /f "usebackq delims=" %%i in (pnpm --version 2^>nul) do set
"CURRENT_PNPM_VERSION=%%i"
if /I "!CURRENT_PNPM_VERSION!"=="10.34.5" (
rem version accepted
)

Workaround confirmed

Cloning tag v2.4.1 and running the same dependency/build commands manually
with the pinned Corepack descriptor succeeds.

Verified commit:

084baaf5b1

The shared, server, and client builds all completed successfully, and the
application returned HTTP 200 at http://127.0.0.1:7860/.

On Mon, Aug 10, 2026 at 1:34 PM Spicy Marinara @.***>
wrote:

SpicyMarinara left a comment (Pasta-Devs/Marinara-Engine#4875)
https://github.com/Pasta-Devs/Marinara-Engine/issues/4875#issuecomment-5243733630

Pookie, we addressed this on staging, could you check, please?

—
Reply to this email directly, view it on GitHub
https://github.com/Pasta-Devs/Marinara-Engine/issues/4875?email_source=notifications&email_token=ANA4IJACUKXQHQRHJVWSWTD5JIBSVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGM3TGMZWGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5243733630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANA4IJA776NTTPURITXM5X35JIBSVAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNZSGY4TAMRXGA5US43TOVSTWNJRGEZDKNJRGQ4TLILWAI
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/ANA4IJANMKYKI2NX4CHOS335JIBSVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGM3TGMZWGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/ANA4IJAZMSGPN6JLSSAJ4ND5JIBSVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGM3TGMZWGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

--

Johnny McGuire
Clear Signal Workflow
Strategy, Systems & Custom Tools for Growing Organizations
404-655-0065
clearsignalworkflow.com

<!-- gh-comment-id:5243891659 --> @jwmcguire3 commented on GitHub (Aug 10, 2026): Thanks. Just to confirm, current staging still appears to validate all pnpm runners with findstr /X. On my system those pipelines return exit code 1 even though each runner outputs 10.34.5, which causes the new npm fallback to be rejected too. Does the staging fix cover that exact case, or only the npm global-prefix/PATH issue? I also cut off a large portion of that issue, heres the whole thing *Title* Windows installer v2.4.1 falsely rejects working pnpm 10.34.5 *Body* ### Summary `Marinara-Engine-Installer-2.4.1.exe` reports that pnpm 10.34.5 could not be installed automatically, even though Corepack and pnpm 10.34.5 are working correctly. The same failure occurs when running the installer normally or with `/S`. ### Environment - Windows x64 - Marinara Engine: 2.4.1 - Node.js: 24.19.0 - Corepack: 0.35.0 - Required pnpm: 10.34.5 - Installer SHA-256: `9005add87786815ca2bfbdf15cfe2dd62a9d1fb2732f1757ae7035eba3d136d9` The SHA-256 matches the official GitHub release asset. ### Error The installer displays: > pnpm 10.34.5 could not be installed automatically. > > Please check your internet connection or run npm install --global ***@***.***, then run this installer again. ### Steps to reproduce 1. Install Node.js 24 with Corepack. 2. Confirm the pinned pnpm descriptor works: ```bat corepack ***@***.***+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e --version Output: 10.34.5 3. Also activate/install the exact version: npm install --global ***@***.*** corepack install --global ***@***.***+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e pnpm --version Output: 10.34.5 4. Run Marinara-Engine-Installer-2.4.1.exe. 5. The installer still reports that pnpm 10.34.5 could not be installed. Likely cause The NSIS installer validates each pnpm runner using a pipeline similar to: pnpm --version | %SystemRoot%\System32\findstr.exe /x /l /c:10.34.5 On this system, pnpm outputs 10.34.5 with an LF-only line ending. findstr /X returns exit code 1 even though the visible output is exactly 10.34.5. All three installer checks consequently fail: - Corepack runner - Installed pnpm runner - Temporary npx ***@***.*** runner Running pnpm --version directly returns the correct version. Expected behavior The installer should recognize the working pnpm 10.34.5 runner and continue installation. Possible fix Capture and compare the version without findstr /X, or normalize whitespace and line endings first. For example, the batch installer’s for /f approach appears more robust: for /f "usebackq delims=" %%i in (`pnpm --version 2^>nul`) do set "CURRENT_PNPM_VERSION=%%i" if /I "!CURRENT_PNPM_VERSION!"=="10.34.5" ( rem version accepted ) Workaround confirmed Cloning tag v2.4.1 and running the same dependency/build commands manually with the pinned Corepack descriptor succeeds. Verified commit: 084baaf5b10a5c7646a0e6ea396aae015a0fff43 The shared, server, and client builds all completed successfully, and the application returned HTTP 200 at http://127.0.0.1:7860/. On Mon, Aug 10, 2026 at 1:34 PM Spicy Marinara ***@***.***> wrote: > *SpicyMarinara* left a comment (Pasta-Devs/Marinara-Engine#4875) > <https://github.com/Pasta-Devs/Marinara-Engine/issues/4875#issuecomment-5243733630> > > Pookie, we addressed this on staging, could you check, please? > > — > Reply to this email directly, view it on GitHub > <https://github.com/Pasta-Devs/Marinara-Engine/issues/4875?email_source=notifications&email_token=ANA4IJACUKXQHQRHJVWSWTD5JIBSVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGM3TGMZWGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5243733630>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ANA4IJA776NTTPURITXM5X35JIBSVAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNZSGY4TAMRXGA5US43TOVSTWNJRGEZDKNJRGQ4TLILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/ANA4IJANMKYKI2NX4CHOS335JIBSVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGM3TGMZWGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/ANA4IJAZMSGPN6JLSSAJ4ND5JIBSVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRUGM3TGMZWGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- *Johnny McGuire* Clear Signal Workflow *Strategy, Systems & Custom Tools for Growing Organizations* 404-655-0065 clearsignalworkflow.com
Author
Owner

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

I’m taking the remaining LF-only pnpm version-validation case in #4877. The fix will stay scoped to the NSIS runner checks and preserve the existing Corepack → installed pnpm → npx → npm fallback order.

<!-- gh-comment-id:5243981514 --> @SpicyMarinara commented on GitHub (Aug 10, 2026): I’m taking the remaining LF-only pnpm version-validation case in #4877. The fix will stay scoped to the NSIS runner checks and preserve the existing Corepack → installed pnpm → npx → npm fallback order.
Author
Owner

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

Yes—staging now covers that exact LF-only output case. PR #4877 removed findstr from all four NSIS pnpm checks (Corepack, installed pnpm, temporary npx, and the npm-installed fallback); each path now captures the command output, trims CR/LF, checks the command exit status, and compares the result exactly with 10.34.5. The fix is merged into staging at a8f7e924f. I’m leaving this issue open for your verification on the affected Windows host.

<!-- gh-comment-id:5244151791 --> @SpicyMarinara commented on GitHub (Aug 10, 2026): Yes—staging now covers that exact LF-only output case. PR #4877 removed `findstr` from all four NSIS pnpm checks (Corepack, installed pnpm, temporary npx, and the npm-installed fallback); each path now captures the command output, trims CR/LF, checks the command exit status, and compares the result exactly with `10.34.5`. The fix is merged into `staging` at `a8f7e924f`. I’m leaving this issue open for your verification on the affected Windows host.
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#2701
No description provided.