mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5468] [MERGED] fix: run standalone Windows pnpm.exe through ComSpec instead of Node #6776
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#6776
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5468
Author: @Kranael
Created: 8/24/2026
Status: ✅ Merged
Merged: 8/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/windows-pnpm-runner📝 Commits (2)
f63b23efix: run standalone Windows pnpm.exe through ComSpec instead of Node430ebf7Merge staging and address pnpm runner review📊 Changes
3 files changed (+35 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
scripts/pnpm-runner.mjs(+7 -1)📝
scripts/regressions/pnpm-runner.regression.mjs(+27 -0)📄 Description
Linked issue
Closes #5473
Why this change
On Windows with standalone pnpm installs such as
pnpm setupor@pnpm/exe,npm_execpathcan point at the nativepnpm.exebinary. The launcher treated it as a JavaScript pnpm CLI and spawned it with Node, which parsed the PE binary as JavaScript and failed withSyntaxError: Invalid or unexpected tokenbefore the dev server or Playwright webServer could start.The companion capability-runtime junction snapshot failure is already fixed on
staging; this PR supplies the missing pnpm-runner correction.What changed
npm_execpathvalues and invoke pnpm throughComSpecinstead of Node.pnpm.execase and the extensionless POSIX compatibility case in the focused regression.stagingchangelog entries while resolving the branch conflict.Validation
Automated maintainer follow-up completed on the conflict-resolved branch:
node scripts/regressions/pnpm-runner.regression.mjs— passed.pnpm regression:launcher-update— passed.pnpm check— passed.git diff --check— passed.The original contributor also reports that the focused runner and launcher-update lanes passed on Windows before the review follow-up.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
npm_execpathpoints topnpm.exe.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedThe existing
[Unreleased]changelog entry remains included. No user-facing documentation or release metadata changed.UI evidence (if applicable)
Not applicable; this is a launcher process-selection fix.
Summary by CodeRabbit
pnpm.execommands through the Windows command shell.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.