Skip to content
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

Yoga Logic Error #14686

Closed
PrimeLens opened this issue Jun 22, 2017 · 5 comments
Closed

Yoga Logic Error #14686

PrimeLens opened this issue Jun 22, 2017 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@PrimeLens
Copy link

I'm getting the following Yoga logic errors (see attached) and they started appearing at the same time as this issue here which may or may not be unrelated. When I reduce my app down to a simple hello world the app compiles and runs fine in the simulator despite the Yoga errors showing.
yoga issues
yoga issues2

@tabrindle
Copy link
Contributor

If you run npm i -g envinfo thenenvinfo --packages react,react-native, you will get an output of all the relevant debug information like this:

Environment:
  OS:  macOS Sierra
  Node:  v7.10.0
  Yarn:  0.24.5
  npm:  4.2.0
  Xcode:  Xcode 8.3.3 Build version 8E3004b 
  Android Studio:  2.3 AI-162.3934792 
  react:  16.0.0-alpha.6
  react-native:  0.44.0

@hramos
Copy link
Contributor

hramos commented Jun 26, 2017

Hey, thanks for reporting this issue!

It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

@hramos hramos closed this as completed Jun 26, 2017
@warrenronsiek
Copy link

warrenronsiek commented Jul 8, 2017

I have the same problem after upgrading to react-native 0.46.1. Running envinfo gives me:

Environment:
  OS:  macOS Sierra 10.12.5
  Node:  v7.7.1
  Yarn:  0.27.5
  npm:  5.0.3
  Xcode:  Xcode 8.3.3 Build version 8E3004b 
  Android Studio:  2.1 AI-143.2790544 
Packages:
  react:  ^16.0.0-alpha.12
  react-native:  ^0.46.1

Note that in addition to the errors posted above, I also have the following errors in xcode:
screen shot 2017-07-08 at 2 11 25 pm

Tentative Solution:

I deleted node_modules, and then reinstalled everything using yarn (instead of npm). Using the answer provided in this thread I was able to solve the 'config.h not found' error. I am currently able to build the app - however I still have the yoga logic errors (plus 110 warnings of various types).

@lucasromanojf
Copy link

+1

@hramos
Copy link
Contributor

hramos commented Oct 20, 2017

Do you want to post this as a new issue?

@facebook facebook locked as resolved and limited conversation to collaborators Jun 26, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants