PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, October 9, 2022

[FIXED] Why do I get error: run npm ci & run npm build failed when pushing changes to React app that is deployed on Firebase?

 October 09, 2022     continuous-integration, firebase, javascript, reactjs     No comments   

Issue

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


Solution

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.



Answered By - Lalaluka
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing