react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

🔧 Unable to build with react native worklet core 1.5 in rn 79.1

Open sridhar-mani opened this issue 7 months ago • 2 comments

How were you trying to build the app?

I am currently trying this patch if anyone has found a work around or if i succeed i will update here.

See the patch link:https://drive.google.com/file/d/1ZhOH-ckXBmXr64cW8H52JTmJ21vt9Aq_/view?usp=sharing

Full build logs

The build failed while trying to build the vision camera lib. The log showed it was unable to find the worklet core but they were in the header.

Project dependencies

"dependencies": {
    "@hookform/resolvers": "^5.0.1",
    "@notifee/react-native": "^9.1.8",
    "@nozbe/watermelondb": "^0.28.0",

    "@react-navigation/bottom-tabs": "^7.3.10",
    "@react-navigation/native": "^7.1.6",
    "@react-navigation/native-stack": "^7.3.10",

    "class-variance-authority": "^0.7.1",
    "d3-scale": "^4.0.2",
    "date-fns": "^4.1.0",

    "formik": "^2.4.6",
    "input-otp": "^1.4.2",
    "moti": "^0.30.0",
    "react": "19.0.0",
    "react-day-picker": "^9.6.7",
    "react-hook-form": "^7.56.1",
    "react-native": "0.79.1",

    "react-native-background-actions": "^4.0.1",
    "react-native-date-picker": "^5.0.12",
    "react-native-gesture-handler": "^2.25.0",


    "react-native-linear-gradient": "^2.8.3",
    "react-native-modal-datetime-picker": "^18.0.0",
    "react-native-notification-listener": "^5.0.2",
    "react-native-paper": "^5.13.5",
    "react-native-paper-dates": "^0.22.40",
    "react-native-reanimated": "^3.17.5",
    "react-native-rename": "^3.2.16",
    "react-native-safe-area-context": "^5.4.0",
    "react-native-screens": "^4.10.0",
    "react-native-svg": "^15.11.2",
    "react-native-ui-lib": "^7.41.0",
    "react-native-vector-icons": "^10.2.0",
    "react-native-vision-camera": "^4.6.4",
    "react-native-worklets-core": "^1.5.0",
    "twrnc": "^4.6.1",
    "vaul": "^1.1.2",
    "yup": "^1.6.1",
    "zod": "^3.24.3",
    "zustand": "^4.5.6"
  },

VisionCamera Version

4.6.4

Target platforms

Android

Operating system

Windows

Can you build the VisionCamera Example app?

I didn't try (⚠️ your issue might get ignored & closed if you don't try this)

Additional information

sridhar-mani avatar May 21 '25 11:05 sridhar-mani

Guten Tag, Hans here! 🍻 Thank you for your detailed information. However, I notice you have not tried building the VisionCamera Example app, which is quite important to help narrow down the issue.

Please try building the example app and provide the logs if it fails. This will help mrousavy understand your issue better and provide a fix. In the meantime, if you're finding value in our project, consider supporting it through sponsorship here.

Looking forward to your update!

Note: If you think I made a mistake, please ping @mrousavy to take a look.

maintenance-hans[bot] avatar May 21 '25 11:05 maintenance-hans[bot]

build.log

This is the build log of using the latest verison of the vision camera with react native 79.*

sridhar-mani avatar May 21 '25 11:05 sridhar-mani