mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4460] [Issue]: Windows dependency validation fails after successful pnpm install #2423
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#2423
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 @Promansis on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4460
Originally assigned to: @Promansis on GitHub.
Summary
On Windows, the workspace dependency validator reports that dependencies matching
pnpm-lock.yamlare missing or stale even afterpnpm installcompletes successfully. This causespnpm devto exit and causes the launcher scripts to reinstall dependencies unnecessarily.Expected behavior
After a successful
pnpm install, workspace dependency validation should pass andpnpm dev --hostshould start normally. The launcher scripts should not reinstall dependencies on every startup.Actual behavior
pnpm installcompletes successfully:But
pnpm dev --hostreports:After running another successful install, validation still fails:
The package and native-binding checks do not report errors.
Steps to reproduce
stagingbranch on Windows.pnpm install.pnpm dev --host.Environment
Logs, screenshots, or video
Additional context
scripts/check-workspace-install.mjscomparespnpm-lock.yamlandnode_modules/.pnpm/lock.yamlbyte-for-byte. The likely cause is that Git checks out the tracked lockfile with CRLF on Windows while pnpm writes the virtual-store lockfile with LF. The lockfiles are semantically identical, butBuffer.equals()treats the different line endings as a mismatch.The same validator is used by
pnpm dev,start.bat,start.sh, andstart-termux.sh. The Windows failure causespnpm devto exit and can cause repeated dependency reinstalls through the launchers.Template check