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

React native reanimated build failed with ninja.exe #6870

Open
Angryman18 opened this issue Jan 6, 2025 · 2 comments
Open

React native reanimated build failed with ninja.exe #6870

Angryman18 opened this issue Jan 6, 2025 · 2 comments
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@Angryman18
Copy link

Description

image

I am not able to solve this problem everytime i try build fails. i have tried to move my app to shorter path, decreasing the ndk version to 23.1.7779620 but no luck. also tried to downgrade react native reanimated version to 3.14.0 but still same issue exists. also tried deleting node_modules, gradle clean everything nothing is working.

Steps to reproduce

just build the application. under dev its running fine but when i hit ./gradlew assembleRelease it gets this error.

Snack or a link to a repository

n/a

Reanimated version

3.16.6

React Native version

0.76.5

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Release app & production bundle

Device

Real device

Device model

POCO X3 Pro running on Android 14

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Missing repro This issue need minimum repro scenario labels Jan 6, 2025
Copy link

github-actions bot commented Jan 6, 2025

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@harshitparkar-ardent
Copy link

Same issue on Android.

Version -
"react-native-reanimated": "^3.16.6",
"react": "18.3.1",
"react-native": "0.76.5",

> Task :react-native-reanimated:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: error: mkdir(src/main/cpp/reanimated/CMakeFiles/reanimated.dir/C_/Users/Tushar/ReactNative/DrawerNavigation2/node_modules/react-native-reanimated): No such file or directory
73 actionable tasks: 10 executed, 63 up-to-date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

2 participants