'config.h' file not found - mutex.h
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
Memory: 7.40 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.1 => 16.6.1
react-native: 0.57.5 => 0.57.5
npmGlobalPackages:
react-native-cli: 2.0.1
Description
As mentioned here, this must be fixed but i’m getting this error after using react-native init MyTestProject
.
Reproducible Demo
Simply use react-native init MyTestProject
and you will get this error!
Also, i tried to set the Project Settings
to Legacy Build System
and cleaned the build folder but no result!
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (2 by maintainers)
Top Results From Across the Web
React Native Error config.h file not found mutex.h During Archive
This error happens when glog is not configured properly in your React Native Project. To solve this error follow the steps below. Step...
Read more >Mattermost app Error in mutex.h file: Config.h file not found ...
I am getting this error "config.h file not found" in mutex.h file. I am using MacOS High sierra 10.13.6 and Xcode 10.1. In...
Read more >[Solved]-Mattermost app Error in mutex.h file - appsloveworld
Coding example for the question Mattermost app Error in mutex.h file: Config.h file not found Xcode 10.1.
Read more >Runner unable to create ios build as "'ruby/config.h' file not ...
h ' file not found" during "bundle install". I have created a runner on OSX 10.15.7 with XCode 12.2 in order to create...
Read more >React Native Error: 'event2/event-config.h' file not found - cpming
Delete the Flipper module. Delete or comment the following lines in the Podfile file. If the AppDelegate.m file also has related Flipper code, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the Terminal, navigate to the react-native/third-party/glog folder inside node_modules (for me, this was cd node_modules/react-native/third-party/glog-0.3.4) Once actively in this folder, run …/…/scripts/ios-configure-glog.sh Glog is configured and the required config.h header file is created for Xcode to find
As a temporary fix, you could navigate to
..\node_modules\react-native\third-party\glog-0.3.5
and: