#Sharp.js Not Working During Build

2 messages · Page 1 of 1 (latest)

abstract sun
#

Hello, was wondering if anyone can help me out or offer some suggestions. I have a next.js project that builds perfectly fine on my local dev but when i deploy it I am facing a install issue for sharp.
The Main problem is sharp is not loading the correct binary libary during build and is using the one from my local dev. I have tried flagging it as a env vari, post install script, making sure cache and everything is deleted etc, set up a a yarnrc.yaml file for support architectures but still facing issues.

nova mirageBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)