skip to Main Content

Here’s a link to the repo for better readability:
https://github.com/shaynemcp/reactCounterDemo/runs/7507090095?check_suite_focus=true

fail run npm ci & npm run build

2

Answers


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search