[GH-ISSUE #3541] [BUG]: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) #2281

Closed
opened 2026-02-22 18:28:58 -05:00 by yindo · 3 comments
Owner

Originally created by @ak-2019 on GitHub (Mar 26, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3541

How are you running AnythingLLM?

Local development

What happened?

How to deal with this error?

(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

Image

Are there known steps to reproduce?

No response

Originally created by @ak-2019 on GitHub (Mar 26, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3541 ### How are you running AnythingLLM? Local development ### What happened? How to deal with this error? (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) ![Image](https://github.com/user-attachments/assets/c20fe4c4-c749-47e7-8633-bffab4e88ec5) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:28:58 -05:00
yindo closed this issue 2026-02-22 18:28:58 -05:00
Author
Owner

@timothycarambat commented on GitHub (Mar 26, 2025):

This is because the sharp dependency for your OS is not supported. This is not something we directly manage, as this package is used to render scanned PDFs into PNGs so we can OCR them. I presume you are on Windows ARM or something to that effect?

If you dont need OCR, you can rip that whole functionality out and then remove the sharp dependency for your fork.

@timothycarambat commented on GitHub (Mar 26, 2025): This is because the `sharp` dependency for your OS is not supported. This is not something we directly manage, as this package is used to render scanned PDFs into PNGs so we can OCR them. I presume you are on Windows ARM or something to that effect? If you dont need OCR, you can rip that whole functionality out and then remove the `sharp` dependency for your fork.
Author
Owner

@jasonsi1993 commented on GitHub (May 19, 2025):

This is because the sharp dependency for your OS is not supported. This is not something we directly manage, as this package is used to render scanned PDFs into PNGs so we can OCR them. I presume you are on Windows ARM or something to that effect?

If you dont need OCR, you can rip that whole functionality out and then remove the sharp dependency for your fork.

Does this apply to centos8 ARM? currently experiencing the same thing.

@jasonsi1993 commented on GitHub (May 19, 2025): > This is because the `sharp` dependency for your OS is not supported. This is not something we directly manage, as this package is used to render scanned PDFs into PNGs so we can OCR them. I presume you are on Windows ARM or something to that effect? > > If you dont need OCR, you can rip that whole functionality out and then remove the `sharp` dependency for your fork. Does this apply to centos8 ARM? currently experiencing the same thing.
Author
Owner

@windyyue commented on GitHub (Jun 2, 2025):

This is because the dependency for your OS is not supported. This is not something we directly manage, as this package is used to render scanned PDFs into PNGs so we can OCR them. I presume you are on Windows ARM or something to that effect?sharp
If you dont need OCR, you can rip that whole functionality out and then remove the dependency for your fork.sharp

Does this apply to centos8 ARM? currently experiencing the same thing.

how to delete OCR, I deleted it, but it still shows that this dependency is missing

@windyyue commented on GitHub (Jun 2, 2025): > > This is because the dependency for your OS is not supported. This is not something we directly manage, as this package is used to render scanned PDFs into PNGs so we can OCR them. I presume you are on Windows ARM or something to that effect?`sharp` > > If you dont need OCR, you can rip that whole functionality out and then remove the dependency for your fork.`sharp` > > Does this apply to centos8 ARM? currently experiencing the same thing. how to delete OCR, I deleted it, but it still shows that this dependency is missing
yindo changed title from [BUG]: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) to [GH-ISSUE #3541] [BUG]: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) 2026-06-05 14:45:38 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2281