react-native-worklets-core icon indicating copy to clipboard operation
react-native-worklets-core copied to clipboard

CMake Error

Open MuazzezA opened this issue 1 year ago • 11 comments

Issue

Screenshot

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'],
  ],
};

MuazzezA avatar May 06 '24 12:05 MuazzezA

I also have the same problem, does anyone have a solution?

LongNguyen2312 avatar May 20 '24 09:05 LongNguyen2312

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"

eisodev avatar May 23 '24 09:05 eisodev

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"

Screenshot 2024-09-03 at 12 08 19 PM

sandeep36butte avatar Sep 03 '24 06:09 sandeep36butte

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"

Screenshot 2024-09-03 at 12 08 19 PM

it worked for me.

react-native-worklets-core: 1.3.3

devtyty avatar Sep 12 '24 04:09 devtyty