Amplify and React App: Build has failed

0

Hi!

I am trying to host my React app on Amplify from GitHub, but whenever I deploy it, it fails to build. However, when I run it on localhost, it works fine. I got this:

build logs

and this is my files in repository : files

how can I resolve this?

profile pictureAWS
Rowaida
preguntada hace 9 meses264 visualizaciones
1 Respuesta
0

Hi,

it seems that you're exactly in the same situation as https://www.wafrat.com/fixing-2/ when you deploy: you have an issue in package version that you don't have on your local host because of a different install of core components.

So, please, try to apply the proposed fix.

Best,

Didier

profile pictureAWS
EXPERTO
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas