The Ultimate React Native Series

I need your help please. I have download the .zip file with the backend for the ultimate react native series but when I’m trying to install the dependencies I’m getting an error and the installation doesn’t complete. Below you can find a part of what my console shows me.

TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp/src/common.o /bin/sh: Tutorials/React_Native/Backend/node_modules/node-addon-api: No such file or directory make: *** [Release/obj.target/sharp/src/common.o] Error 127 gyp ERR! build error gyp ERR! stack Error:makefailed with exit code: 2

2 Likes

Finally, after 3 days of struggling with that, I realized that the only thing I should do is to update versions for node-addon-api and sharp in the package.json. This should be updated but for some reason, this didn’t happen.

1 Like

Thank you so much, I was having the same error and I didn’t knowhow solve it. :grinning:

1 Like

For anyone else:

As of 12/13/2020, "sharp": "^0.26.3" is what gets this up and running.
Change it in package.json.
Thanks to those above that came before me!

You will receive notifications because you are watching this topi

Finally, After 1hr i’m able to fix this issue.
All thanks to you :pray: :pray: :pray: