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.

'config.h' file not found

See original GitHub issue

Environment

Environment: OS: macOS High Sierra 10.13.3 Node: 8.6.0 Yarn: 1.2.1 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: 0.55.4 => 0.55.4

Description

when i adding a single view to existing native applications, it works ok. But an error occurred when I tried to package my app.

Steps to Reproduce

Successfully integrated into existing applications package error

Expected Behavior

package success

Actual Behavior

…/ios/Pods/glog/src/base/mutex.h:105:10: fatal error:

  'config.h' file not found

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:35 (2 by maintainers)

github_iconTop GitHub Comments

291reactions
react-native-botcommented, Jun 2, 2018

Please use Stack Overflow for this type of question.

225reactions
ManAnRuckcommented, Sep 25, 2018

I need a little bit more, but then it works for me too 😃

rm -rf node_modules/ && yarn cache clean && yarn install
node_modules/react-native/scripts/ios-install-third-party.sh
cd node_modules/react-native/third-party/glog-0.3.4
./configure

(replace glog-0.3.X with yours)

bildschirmfoto 2018-09-24 um 09 47 51 replace with `NULL` bildschirmfoto 2018-09-24 um 09 48 06 bildschirmfoto 2018-09-24 um 09 50 59

Remove library libfishhook.a and add again bildschirmfoto 2018-09-24 um 09 52 00 bildschirmfoto 2018-09-24 um 09 52 13

Read more comments on GitHub >

github_iconTop Results From Across the Web

"config.h" file not found in iOS project of React native
Open you peoject's root directory then open node-module -> react-native -> React. · Open React. · You will see missing (showing red in...
Read more >
React Native Error config.h file not found mutex.h During ...
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 >
Mac M1 fails with include "config.h from analyticscore.cc:20
Trying to npm i couchbase or build it from repo and get these following errors: > couchbase@3.1.2-dev install > prebuild-install || node-gyp ...
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 >
[Solved] 'event2/event-config.h' file not found in React-Native
This issue is come up when we update Xcode version. This issue come up with flipper-folly files. Here is Defined all solution with...
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