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

134
Visualizações
Data is not fetched after the deployment on Heroku

I had deployed an app for reading the news on Heroku. News articles are fetched from the newsapiorg api. The deployment was successful on heroku but when I opened the deployed link, it is showing the error as given in the image.

enter image description here

Deployed Link - https://news-reader2.herokuapp.com/

The complete link of this React Project is - https://github.com/mohitm15/NewsReader-2.0

The readme gives all instructions to run it on the local dependencies.

The reason I could figure out is that the data is not fetched from the API. That's why it is showing the count of articles zero & that's why articles.length is undefined.

Can anyone figure out what's the issue and how it gets resolved?

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