Urgent Please Help! Sharp is not getting recognized by the production build
Unanswered
Dwarf Hotot posted this in #help-forum
Dwarf HototOP
Hi I have installed my Next13 app into a VPS server. It is now running perfectly. But I am fetching large amount of data from a 3rd party api and it contains images. So for the image optmization I used next/image. Also since it is recommended I installed sharp. Even put a env path to it in .env.local file (NEXT_SHARP_PATH=/tmp/node_modules/sharp)
But for some reason I am still getting the warning sharp is missing when I start the app.
My VPS OS is : Ubuntu 22.04
I tried locally in my mac pc and windows pc as well. but no luck. still getting the warning
But for some reason I am still getting the warning sharp is missing when I start the app.
My VPS OS is : Ubuntu 22.04
I tried locally in my mac pc and windows pc as well. but no luck. still getting the warning