question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

latest version fails to build with 'butter/map.h' error (react-native@0.71.0-rc.2)

See original GitHub issue

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

  1. npx react-native init ETSMobile --version 0.71.0-rc.2
  2. yarn add react-native-reanimated + babel config
  3. npm 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

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
wojtekmajcommented, Dec 13, 2022

I came up with this handy command:

  "nuke": "rm -rf node_modules; rm -rf ios/build; rm -rf ios/Pods; rm -rf ios/Podfile.lock; yarn; yarn podinstall"
2reactions
tomekzawcommented, Nov 30, 2022

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:

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Android build failure with different errors without ...
The build failures for Android was due to the publish of the React Native version 0.71.0-rc0 . Note: Error may be different but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found