I tried to install expo
after I executed the command exp start
but I got:
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp.node'.
How can I fix this problem?
I had the same problem and this single line command did the trick.
npm rebuild --verbose sharp
Consult the installation documentation at Common problems.
I am not using expo but faced this issue in react native.
All I did is "deleted node_modules/sharp" folder.
run npm install
.
fixed the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With