Next.js Discord

Discord Forum

Next build - Could not load the "sharp" module

Unanswered
Bengal posted this in #help-forum
Open in Discord
BengalOP
Error: Could not load the "sharp" module using the darwin-arm64 runtime
Possible solutions:
- Ensure optional dependencies can be installed:
npm install --include=optional sharp
yarn add sharp --ignore-engines
- Ensure your package manager supports multi-platform installation:
See https://sharp.pixelplumbing.com/install#cross-platform
- Add platform-specific dependencies:
npm install --os=darwin --cpu=arm64 sharp
- Consult the installation documentation:
See https://sharp.pixelplumbing.com/install

Nowhere in my app am I using sharp directly

I found a thread suggestion downgrade sharp. this didn't help

1 Reply

Old English Sheepdog
did you ever find a solution for this?