Skip to content
DeployAI
BlockerCode native_module_sharp

sharp used at runtime

What it means

The site uses the sharp library to process images while the site runs.

Why it stops the deploy

sharp is built from native code that does not run on our servers. The site will not go live while it loads at runtime.

How to fix it

  1. Resize and compress images at build time, not when a visitor comes in.
  2. Or serve the images as they are.
  3. Image processing that your site tool does at build time is fine.

Prompt for your agent

Copy it and paste it into your agent. It fixes the project, explains each step, and runs the check again.

DeployAI check found this in the project: sharp used at runtime.
sharp is a native module and cannot run on the server. Resize images at build time, or serve them as they are. Image optimization done by the framework at build time is fine.
Explain your plan and wait for my approval before architectural changes. Do not remove features without asking.
Explain every step to me in simple words.
When done, run: npx deployai@latest check