mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4875] [Issue]: Windows installer v2.4.1 falsely rejects working pnpm 10.34.5 #2701
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2701
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.exereports 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
9005add87786815ca2bfbdf15cfe2dd62a9d1fb2732f1757ae7035eba3d136d9The SHA-256 matches the official GitHub release asset.
Error
The installer displays:
Steps to reproduce
Install Node.js 24 with Corepack.
Confirm the pinned pnpm descriptor works:
@SpicyMarinara commented on GitHub (Aug 10, 2026):
Pookie, we addressed this on staging, could you check, please?
@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.exereports that pnpm 10.34.5 couldnot 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
9005add87786815ca2bfbdf15cfe2dd62a9d1fb2732f1757ae7035eba3d136d9The SHA-256 matches the official GitHub release asset.
Error
The installer displays:
Steps to reproduce
Install Node.js 24 with Corepack.
Confirm the pinned pnpm descriptor works:
--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:
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:
084baaf5b1The 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:
--
Johnny McGuire
Clear Signal Workflow
Strategy, Systems & Custom Tools for Growing Organizations
404-655-0065
clearsignalworkflow.com
@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.
@SpicyMarinara commented on GitHub (Aug 10, 2026):
Yes—staging now covers that exact LF-only output case. PR #4877 removed
findstrfrom 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 with10.34.5. The fix is merged intostagingata8f7e924f. I’m leaving this issue open for your verification on the affected Windows host.