software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.09k stars 1.32k forks source link

Build faild with error in React native 0.76.3 #6753

Open somnathnath8482 opened 1 day ago

somnathnath8482 commented 1 day ago

Description

Getting the below error while building with react native reanimated.

ninja: build stopped: .

C++ build system [build] failed while executing: @echo off "C:\Users\somnath\AppData\Local\Android\Sdk\cmake\3.22.1\bin\ninja.exe" ^ -C ^ "D:\somnath\REACT_PROJECT\Myapp\node_modules\react-native-reanimated\android\.cxx\Debug\2c6q4iw2\arm64-v8a" ^ reanimated ^ worklets from D:\somnath\REACT_PROJECT\Myapp\nodemodules\react-native-reanimated\android ninja: error: mkdir(src/main/cpp/reanimated/CMakeFiles/reanimated.dir/D/somnath/REACT_PROJECT/Myapp/node_modules/react-native-reanimated): No such file or directory

But without react native reanimated it works fine. i have also tried with nightly version not worked

Steps to reproduce

  1. npx @react-native-community/cli@latest init myApp
  2. npm install react-native-reanimated
  3. set buble plugin

module.exports = { presets: ['module:metro-react-native-babel-preset'], plugins: [ 'react-native-reanimated/plugin', ], };

  1. npx react-native run-android

Snack or a link to a repository

not availabe

Reanimated version

3.6.2

React Native version

0.76.3

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

Real device

Device model

realme c12 android 14

Acknowledgements

Yes

github-actions[bot] commented 1 day ago

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?

luan-nvg commented 8 hours ago

with similar problem