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

195
Visualizações
How do I tell what file this error is coming from?

I'm somewhat new to next.js and I'm getting this error. I've looked at every <a> tag I have in all my files and they all have a corresponding closing </a> tag. Am I not understanding this error properly? The only other thing I can think of is they want all my <a> tags to be wrapped inside of a <div> but I don't know why that would be required.

Error: Warning: Expected server HTML to contain a matching <a> in <div>.
react-dom.development.js?ac89:67

Also where is this error being thrown from because they only reference they give is to a react-dom file that I think gets generated when next converts my code to something the browser can read (not 100% sure that's what the file is though)

screenshot of error inside chrome dev tools console

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You can follow the DOM from `MyApp > App > Div > Navbar > Div > Link > a

I had this error. You need to wrap your Image in an tag so it looks like this

<Link>
    <a>
        <Image>
    </a>
</Link>
about 4 years ago · Juan Pablo Isaza 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