-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
latest version fails to build with 'butter/map.h' error ([email protected]) #3823
Comments
Hello @mgcrea, thanks for reporting this issue. I've also noticed this error when using a nightly build of RN. We are actively working on adding support for React Native 0.71.0, see this PR: |
I am also face this problem. |
Interestingly, I don't use react-native-reanimated and I also faced this error in 0.71.0. |
This might be a matter of outdated files in Please clean Xcode build folder, then run the following commands:
and try again. |
I came up with this handy command:
|
Hey, while Reanimated 2.13.0 technically works with React Native 0.71.0-rc.x on iOS, it doesn't compile on Android due to many breaking changes in React Native itself. We already have a PR that adds support for React Native 0.71.0 (#3745) which we plan to merge and release soon, so I'm closing this issue. |
great! it's working for me |
I like the spirit haha! |
@wojtekmaj I came out with a bash script. Create a file in the main folder and call it "start.sh". Put this code inside it: ` rm -rf node_modules #npx react-native run-android |
thanks, this working for me |
Description
Starting a new project using the latest rc available, Xcode won't build once I've added
react-native-reanimated
.Error is related to an include:
#include <butter/map.h>
/node_modules/react-native/ReactCommon/react/bridging/Object.h:13:10 'butter/map.h' file not found
Steps to reproduce
npx react-native init ETSMobile --version 0.71.0-rc.2
yarn add react-native-reanimated
+ babel confignpm run ios
or build via xcodexed ios/
Snack or a link to a repository
https://github.com/mgcrea/react-native-sandbox/tree/reanimated-bug
Reanimated version
2.13.0
React Native version
0.71.0-rc.2
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
No response
Build type
Debug mode
Device
Real device
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: