Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

225
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda