react-native-make
react-native-make copied to clipboard
Upgrade Sharop to 0.28.0 for compatibility fixes on M1 processors
It doesn't work on the new M1 Apple processors. Throws up this error:
npm ERR! ../src/common.cc:25:10: fatal error: 'vips/vips8' file not found
npm ERR! #include <vips/vips8>
npm ERR! ^~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/sharp/src/common.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
It can be fixed by updating to 0.28.0 as seen here: https://github.com/lovell/sharp/issues/2460#issuecomment-809499444