Something went wrong installing the "sharp" module

 

dlopen(/Users/maani/Documents/react native/nexseat/node_modules/sharp/build/Release/sharp.node, 1): Library not loaded: @rpath/libvips-cpp.42.dylib

  Referenced from: /Users/maani/Documents/react native/nexseat/node_modules/sharp/build/Release/sharp.node

  Reason: image not found

 

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors

- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/

- Search for this error at https://github.com/lovell/sharp/issues

 

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

 

 

 

yarn remove expo-cli -g

yarn add expo-cli -g

또는

npm uninstall expo-cli -g

npm install expo-cli -g

 

반응형


글이 도움이 되셨다면 공감과 광고 클릭 한번 부탁드립니다! 💕
감사합니다 ✨