Here's a link to the repo for better readability: https://github.com/shaynemcp/reactCounterDemo/runs/7507090095?check_suite_focus=true
Your issue is already in the logs. Your build treats warnings as errors and your eslint warns of the list of unused variables.
Delete the variables in the mentioned files or make them used and you should be fine.
Edit: looking at your index.js
you seem to do imports but never use the imports. So you should remove unused imports.
As Laluka said, As it states in logs: Treating warnings as errors because process.env.CI = true.
You could change environmental variable 'CI' to false, or you could fix whatever the warnings are.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.