Erro 254 - npm ERR! path /opt/build/repo/package.json

In my github (GitHub - andressa-mb/primeiroComponente-DNC: Esse projeto foi construído com as tecnologias React.js, HTML, CSS.) is the package.json but when I deploy shows the message of error. I dont know what to do.

I cant deploy because of this.

Hi @andressa-mb , thanks for the post and welcome.
Took a look at your GitHub repository and I noticed you have sub-directory called ex1

Kindly change the Base directory to /ex1
Use the resource below to change the Base directory.