[GH-ISSUE #155] [Issue]: Image processing is unavailable on this platform (native 'sharp' module could not be loaded). #50

Closed
opened 2026-10-20 17:24:31 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @jgus on GitHub (Apr 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/155

Summary

Image generation doesn't work

Expected behavior

Images!

Actual behavior

Error message

Steps to reproduce

  1. Set up an image connection (in my case, NanoGPT)
  2. Go to either a character card or persona card
  3. Try to generate images

Environment

  • Marinara Engine version: latest main
  • Install type: termux
  • OS + version: Android 16
  • Browser or app shell: Chrome

Logs, screenshots, or video

{"level":50,"time":1776729531369,"pid":29213,"hostname":"localhost","err":{"type":"Error","message":"Image processing is unavailable on this platform (native 'sharp' module could not be loaded). Sprite generation and background removal are disabled.","stack":"Error: Image processing is unavailable on this platform (native 'sharp' module could not be loaded). Sprite generation and background removal are disabled.\n    at getSharp (file:///data/data/com.termux/files/home/git/Marinara-Engine/packages/server/dist/routes/sprites.routes.js:20:27)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async Object.<anonymous> (file:///data/data/com.termux/files/home/git/Marinara-Engine/packages/server/dist/routes/sprites.routes.js:422:27)"},"msg":"Sprite sheet generation failed"}

Additional context

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @jgus on GitHub (Apr 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/155 ## Summary Image generation doesn't work ## Expected behavior Images! ## Actual behavior Error message ## Steps to reproduce 1. Set up an image connection (in my case, NanoGPT) 2. Go to either a character card or persona card 3. Try to generate images ## Environment - Marinara Engine version: latest main - Install type: termux - OS + version: Android 16 - Browser or app shell: Chrome ## Logs, screenshots, or video ``` {"level":50,"time":1776729531369,"pid":29213,"hostname":"localhost","err":{"type":"Error","message":"Image processing is unavailable on this platform (native 'sharp' module could not be loaded). Sprite generation and background removal are disabled.","stack":"Error: Image processing is unavailable on this platform (native 'sharp' module could not be loaded). Sprite generation and background removal are disabled.\n at getSharp (file:///data/data/com.termux/files/home/git/Marinara-Engine/packages/server/dist/routes/sprites.routes.js:20:27)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/git/Marinara-Engine/packages/server/dist/routes/sprites.routes.js:422:27)"},"msg":"Sprite sheet generation failed"} ``` ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:24:31 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Apr 21, 2026):

Addressed in v1.5.4.

<!-- gh-comment-id:4289500756 --> @SpicyMarinara commented on GitHub (Apr 21, 2026): Addressed in v1.5.4.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#50
No description provided.