skip to Main Content

React native – CMake Build Error with react-native-reanimated: 'mkdir: No such file or directory' (Path Length Issue)

I am trying to build my React Native application for Android, but I'm running into an issue when building react-native-reanimated with CMake. The error I get is : Task :react-native-reanimated:buildCMakeRelWithDebInfo[armeabi-v7a] FAILED C/C++: ninja: error: mkdir(src/main/cpp/reanimated/CMakeFiles/reanimated.dir/C_/Users/ricar/Documents/Github/StockItUp/node_modules/react-native-reanimated/Common): No such file or directory…

VIEW QUESTION

React native – react-native-safe-area-context – 'react/renderer/components/view/ViewEventEmitter.h' file not found

i ahve instlled "react-native-safe-area-context": "^4.11.1", in a fresh react-native project but gettinng this isssue. fatal error: 'react/renderer/components/view/ViewEventEmitter.h' file not found #include <react/renderer/components/view/ViewEventEmitter.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~fatal error: 'react/renderer/components/view/ViewEventEmitter.h' file not found #include <react/renderer/components/view/ViewEventEmitter.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here is the detals descriptionn of the issue /Users/apple/Library/Android/sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++…

VIEW QUESTION
Back To Top
Search