mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5038] Android errors #2787
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#2787
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 @jonstone14 on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5038
Originally assigned to: @SpicyMarinara on GitHub.
Clean install of marinara engine, updated to staging due to errors. Imported everything from sillytavern, set everything up. After closing amd reopening through termux, this error came
╔══════════════════════════════════════════╗
║ Marinara Engine — Termux Launcher ║
╚══════════════════════════════════════════╝
[OK] Node.js v24.18.0 found
[OK] Node.js heap limit raised for large profiles
[..] Aligning pnpm to 10.34.5 via Corepack...
[OK] pnpm 10.34.5 ready
[..] Checking for updates...
[OK] Already up to date
[..] Installing dependencies...
This may take several minutes on mobile.
[..] Reclaiming dependency cache space from older releases...
Scope: all 4 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
WARN Failed to create bin at /data/data/com.termux/files/home/Marinara-Engine/.pnpm/vite@7.3.6_@types+node@24.12.2_jiti@2.6.1_light_ec5a18d91cdd527e57b3ab381fdb86a1/node_modules/vite/node_modules/.bin/node. ENOENT: no such file or directory, open '/data/data/com.termux/files/home/Marinara-Engine/.pnpm/vite@7.3.6_@types+node@24.12.2_jiti@2.6.1_light_ec5a18d91cdd527e57b3ab381fdb86a1/node_modules/@types/node/bin/node'
WARN Failed to create bin at /data/data/com.termux/files/home/Marinara-Engine/.pnpm/sharp@0.35.3_@types+node@24.12.2/node_modules/sharp/node_modules/.bin/node. ENOENT: no such file or directory, open '/data/data/com.termux/files/home/Marinara-Engine/.pnpm/sharp@0.35.3_@types+node@24.12.2/node_modules/@types/node/bin/node'
WARN Failed to create bin at /data/data/com.termux/files/home/Marinara-Engine/node_modules/.bin/node. ENOENT: no such file or directory, open '/data/data/com.termux/files/home/Marinara-Engine/node_modules/@types/node/bin/node'
. preinstall$ node ./scripts/clean-stale-client-artifacts.mjs
└─ Done in 86ms
. postinstall$ node ./scripts/ensure-native-deps.mjs
│ [native-deps] Skipping onnxruntime-node check for unsupported runtime android/arm64.
└─ Done in 90ms
WARN Failed to create bin at /data/data/com.termux/files/home/Marinara-Engine/packages/server/node_modules/.bin/node. ENOENT: no such file or directory, open '/data/data/com.termux/files/home/Marinara-Engine/packages/server/node_modules/@types/node/bin/node'
Done in 824ms using pnpm v10.34.5
[..] Building shared types...
node:internal/fs/promises:956
const result = await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, scandir '/data/data/com.termux/files/home/Marinara-Engine/packages/shared/src/features/function-calls/tools'
at async readdir (node:internal/fs/promises:956:18)
at async readManifestFolders (file:///data/data/com.termux/files/home/Marinara-Engine/packages/shared/scripts/generate-feature-registries.mjs:30:19)
at async file:///data/data/com.termux/files/home/Marinara-Engine/packages/shared/scripts/generate-feature-registries.mjs:65:3 {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/data/data/com.termux/files/home/Marinara-Engine/packages/shared/src/features/function-calls/tools'
}
Node.js v24.18.0
/data/data/com.termux/files/home/Marinara-Engine/packages/shared:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @marinara-engine/shared@2.4.2 build:
node -e "const fs=require('fs');['dist','tsconfig.tsbuildinfo'].forEach(p=>{try{fs.rmSync(p,{recursive:true,force:true})}catch{}})" && node scripts/generate-feature-registries.mjs && tsc@Xelvanis commented on GitHub (Aug 15, 2026):
I had a quick look into this. The missing tools directory is tracked in the current staging branch, so your local checkout appears to have lost some tracked source files even though Git reports the commit itself is up to date.
Please run this in Termux:
cd ~/Marinara-Engine
git status --short packages/shared/src/features/function-calls/tools
git restore --source=HEAD --worktree -- packages/shared/src/features/function-calls/tools
./start-termux.sh
This restores application source only and won't touch your imported profile data.
If it still fails, please share the output of:
git rev-parse HEAD
git branch --show-current
git remote -v
git sparse-checkout list
The pnpm bin-link warnings may indicate a separate damaged dependency cache, but they're not the direct cause of the missing source-directory error.