react-native-worklets-core
react-native-worklets-core copied to clipboard
CMake Error
Issue
I did all the operations like clearing the cache.
Device:
- Device: emulator
- OS: android
package.json file:
{
"dependencies": {
"react-native-vision-camera": "^3.9.2",
"react-native-vision-camera-face-detector": "^1.6.3",
"react-native-worklets-core": "^1.0.0",
}
}
babel.congif.js
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: [
['react-native-worklets-core/plugin'],
['react-native-reanimated/plugin'],
],
};
I also have the same problem, does anyone have a solution?
Had similar issues with worklets package:
Error: Invalid value for "PACKAGE_PATH": Directory "/Users/xxxx/xxxx/xxx/node_modules/react-native-worklets-core/android/build/intermediates/prefab_package/debug/prefab" is not readable.
I updated to the following versions released recently, and my problem was fixed:
"react-native-vision-camera": "^4.0.5"
"react-native-worklets-core": "1.3.3"
Not sure whethere is's an issue with gradle version, filetree filter method seems not working There's an prepare header task in the gradle file which copy all the cpp files to the rnworkletcore header dir in build which is not success.
Here's a patch which will copy the files individual, this fixed issue for me. FileLocation: "../node_modules/react-native-worklets-core/android/build.gradle"
Not sure whethere is's an issue with gradle version, filetree filter method seems not working There's an prepare header task in the gradle file which copy all the cpp files to the rnworkletcore header dir in build which is not success.
Here's a patch which will copy the files individual, this fixed issue for me. FileLocation: "../node_modules/react-native-worklets-core/android/build.gradle"
![]()
it worked for me.
react-native-worklets-core: 1.3.3