mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3179] [Issue]: Termux staging update fails with missing chats.ts module #1706
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#1706
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 @SpicyMarinara on GitHub (Jul 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3179
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On Android Termux, updating Marinara Engine 2.0.9 Stable to staging fails at startup. The server throws ERR_MODULE_NOT_FOUND for packages/server/dist/db/schema/chats.ts imported by gallery.js.
Expected behavior
Marinara Engine should update to staging and start successfully on Termux.
Actual behavior
Startup fails with a Node.js ERR_MODULE_NOT_FOUND error because chats.ts cannot be found under packages/server/dist/db/schema/.
Steps to reproduce
Environment
Logs, screenshots, or video
node:internal/modules/esm/resolve:271
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/schema/chats.ts' imported from /data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/schema/gallery.js
at finalizeResolution (node:internal/modules/esm/resolve:271:11)
at moduleResolve (node:internal/modules/esm/resolve:865:10)
at defaultResolve (node:internal/modules/esm/resolve:992:11)
at #cachedDefaultResolve (node:internal/modules/esm/loader:691:20)
at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:708:38)
at ModuleLoader.resolveSync (node:internal/modules/esm/loader:740:52)
at #resolve (node:internal/modules/esm/loader:673:17)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:593:35)
at ModuleJob.syncLink (node:internal/modules/esm/module_job:163:33)
at ModuleJob.link (node:internal/modules/esm/module_job:253:17) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/schema/chats.ts'
}
Node.js v24.17.0
Additional context
The same error occurred both when attempting the manual staging upgrade and after a fresh reinstall followed by enabling automatic updates to staging.
Discord thread: Staging installation on Termux error
Discord thread link: https://discord.com/channels/1417099416812392641/1522572393434841169
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 3, 2026):
Codex is taking this in draft PR #3181.