1
resposta

[Dúvida] Dando erro ao logar no app

Ocorrendo esse erro ao Logar :

OS Bundling complete 33529ms ERROR Error: Text strings must be rendered within a component.

This error is located at: in RCTView (created by View) in View (created by App) in App (created by withDevTools(App)) in withDevTools(App) in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in main(RootComponent) ERROR Error: Text strings must be rendered within a component.

This error is located at: in RCTView (created by View) in View (created by App) in App (created by withDevTools(App)) in withDevTools(App) in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in main(RootComponent) Insira aqui a descrição dessa imagem para ajudar na acessibilidade Insira aqui a descrição dessa imagem para ajudar na acessibilidade ![](![](Insira aqui a descrição dessa imagem para ajudar na acessibilidade ))

1 resposta

O Erro diz que "Strings de texto devem ser renderizadas com um componente " .Logo, provavelmente em alguma parte de seu código deve haver um "texto solto" Como por exemplo: <View> Meu texto <View/>

Porém, para solucionar o problema deve-se colocar um componente em volto do Texto.

`<View>
    <Text> Meu texto</Text>
<View/>`

Espero ter ajudado!