How to fix Something went wrong installing the “sharp” module and Cannot find module ‘../build/Release/sharp.node’ in expo

I encountered the identical issue, however, the execution of this single command line successfully resolved the problem at hand.

npm rebuild --verbose sharp

Please refer to the installation documentation under Common problems for further guidance.

Leave a Comment