Skip to content
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

Execution failed for task 'prisma_react-native:configureCMakeDebug[arm64-v8a]'. #47

Open
Jamie-Fairweather opened this issue Dec 1, 2024 · 1 comment

Comments

@Jamie-Fairweather
Copy link

Jamie-Fairweather commented Dec 1, 2024

Recent versions of react-native have caused this error:
image

Im using the following packages for my expo app
image

I've found a partial fix:

Within CMakeLists.txt remove ReactAndroid::turbomodulejsijni & ReactAndroid::react_nativemodule_core
Replace with ReactAndroid::reactnative

image

For anyone unsure on how to apply this fix, search into npm patch-package or pnpm patch.

Im unable to test this fix fully due to the prisma/react-native C++ bindings failed to initialize error. However, the above fix atleast allows the app to build

@Jamie-Fairweather Jamie-Fairweather changed the title [Temp Fix] Execution failed for task 'prisma_react-native:configureCMakeDebug[arm64-v8a]'. Execution failed for task 'prisma_react-native:configureCMakeDebug[arm64-v8a]'. Dec 1, 2024
@Jamie-Fairweather
Copy link
Author

Jamie-Fairweather commented Dec 1, 2024

After some more digging into the prisma/react-native C++ bindings failed to initialize error, it seems either react-native-quick-base64 or @prisma/react-native just doesn't support the new expo architecture (enabled by default for sdk 52 and react-native 0.76)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant