Closed sanketkheni01 closed 2 years ago
Hi!
This is not a bug, I have to download boost from somewhere. This will hopefully get fixed soon in the future by react-native core once they start providing prefabs.
I've been facing this issue for a while, had to remove the camera library until a fix is done somewhere. why does this happen anyway? is it a bug with the boost library?
Which RN version are you even on?
it's 0.67.3 and could you review my answers here please? they describe the issue well enough #908 thanks
This happens sometimes when boost have not been installed properly. Just do this :
Thanks Mohamad, yeah I know the drill but this time it's different, every time boost does not install properly and you'd have to do these steps and even then the first build fails and you have to delete the build folder and build again. it's very tedious and there's something wrong here not sure where. this issue here explains the situation very clearly. #908
This issue hasn't been resolved for Windows yet
I encountered this issue a couple of times and all I had to do is what I said in my previous comment (deleting node_modules folder is key). I'm running react-native 0.68.1, latest versions of react-native-vision-camera, react-native-mmkv, realm-js, wix RNN + many others.
This happens sometimes when boost have not been installed properly. Just do this :
- Delete node_modules folder
- gradlew clean
- yarn
- yarn react-native run-android
Do we need to do this each time we encounter this issue?
Do we need to do this each time we encounter this issue?
Unfortunately yes. But once you fix it, you should be good. I never encountered it since I deleted node_modules folder and rebuilt project.
Also, if your project's path contains weird characters or spaces, try moving it to new clean path and rebuild.
I just cloned and old project to start a new one and got the same error when building the app. Did yarn add react-native-vision-camera react-native-reanimated
to update them to the latest version and everything worked fine without deleting node_modules
or gradlew clean
. The project is using react-native v0.67.4
.
Hope this helps someone.
see solution in: https://github.com/mrousavy/react-native-vision-camera/issues/908
What were you trying to do?
Just developing the app.
Reproduceable Code
No response
What happened instead?
This package downloads react-native boost each time. it takes so much time on each building. and also fails to build sometimes.
Relevant log output
Device
Android 12
VisionCamera Version
2.13.1
Additional information