-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 system/frame-processors-unavailable: Frame Processors are not available, react-native-worklets-core is not installed! #2759
Comments
same issue for me |
same issue for me |
Hey - react-native-worklets-core 1.1.1 introduced a breaking change. You need to stay on 0.x.x for VisionCamera V3, or upgrade to VisionCamera V4 to use 1.x.x of react-native-worklets-core. |
Hi @mrousavy , I had uninstall the react-native-worklets-core 1.1.1 and install 0.5.0. I had performed clear cache including delete the watchman but I got another error. Please see below.
|
Finally get it work! For those who faced the same issue, you need to install the Here are the packages I installed. Make sure the react-native-worklets-core is 0.x.x if you using VisionCamera V3.
And here is my babel.config.js
Good luck!! |
You don't need Reanimated for Frame Processors, only Worklets Core (which is a much lighter / smaller dependency). Maybe you just forgot to add Worklets to the babel config or didn't clear cache? |
If I didn't install the |
try upgrading to react-native-vision-camera V4 and react-native-worklets-core 1.x.x. |
This comment was marked as spam.
This comment was marked as spam.
Here is a combination works! "dependencies": {
"@react-native-camera-roll/camera-roll": "^7.4.0",
"@react-native-community/blur": "^4.4.0",
"@react-navigation/core": "^6.4.10",
"@react-navigation/native-stack": "^6.9.17",
"@shopify/react-native-skia": "0.1.221",
"react": "18.2.0",
"react-native": "0.73.6",
"react-native-fast-image": "^8.6.3",
"react-native-fast-tflite": "^1.2.0",
"react-native-gesture-handler": "~2.14.0",
"react-native-mmkv": "^2.11.0",
"react-native-pressable-opacity": "^1.0.10",
"react-native-reanimated": "~3.6.2",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native-static-safe-area-insets": "^2.2.0",
"react-native-vector-icons": "^10.0.3",
"react-native-video": "^5.2.1",
"react-native-vision-camera": "^4.0.5",
"react-native-worklets-core": "^1.3.3",
"vision-camera-resize-plugin": "^3.1.0",
"expo": "~50.0.17"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.2.79",
"eas-cli": "^9.1.0",
"expo": "^50.0.18",
"expo-dev-client": "~3.3.11",
"expo-status-bar": "~1.11.1",
"expo-system-ui": "~2.9.4",
"tsd": "^0.31.0",
"typescript": "~5.3.3"
}, |
I am still having issues with this combination; I am not sure, but is "vision-camera-resize-plugin" also required to make it work? |
What's happening?
I tried to use the Frame Processors on both Expo and pure React Native app and both give me the error "system/frame-processors-unavailable: Frame Processors are not available, react-native-worklets-core is not installed!" when the camera is displayed. However the
react-native-worklets-core
module is already installed and properly configured according to the documentation. Both expo and pure react native app is a blank app created to test the react-native-vision-camera.When the app launch and the camera is loaded then the app will throw the above mentioned error. This happened on both iOS and Android device.
Reproduceable Code
Expo App Package.json:
Pure React Native Package.json:
Both app have the
react-native-worklets-core/plugin
in the babel.config.js as shown below.Expo:
Pure React Native:
I had reset the cache for both app:
Expo:
Pure React Native:
Expo App Code:
Pure React Native App Code:
Relevant log output
Camera Device
Device
iPhone 7 iOS 15.8.2, Huawei Mate30 Pro Android 12
VisionCamera Version
3.9.2
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information
The text was updated successfully, but these errors were encountered: