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
feita há 9 meses265 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 9 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas