I'm on the third module of this AWS tutorial to build a React app with AWS, Amplify and GraphQL but the build keeps breaking. When I ran amplify push --y
the CLI generated ./src/aws-exports.js
and added the same file to the .gitignore
. So I'm not surprised the build is failing, since that file isn't included when I push my changes.
So I'm not sure what to do here. Considering it's automatically added to the .gitignore
I'm hesitant to remove it.
Any suggestions?