Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

224
Views
Cannot add a child that doesn't have a CSS node to a node without a measure function

I upgraded to React Native v0.40 and an app that was working perfectly fine started to throw always that error.

enter image description here

Any clues?

This is the only file I found https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java after much research.

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I had the same problem.

It turns out that I had an Icon component in a Text Component. So I took the Icon out of it.

You may have similar incompatible components inside each other.

over 4 years ago · Santiago Trujillo Report

0

If you're using react-native-svg, make sure that you wrap any SVG components, like <Circle .../> inside of <Svg> ... </Svg> tags.

Otherwise, you get this error message.

over 4 years ago · Santiago Trujillo Report

0

Try this It worked for me. Go to your react native project folder and run the below commands.

rm -r node_modules
npm install

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!