1

I am new to ReactJs and started setting up a new project with

$ npx create-react-app <app-name>

It completed but reported some vulnerabilities like following, could anyone help me with what would be the best practice to handle this or we could ignore these vulnerabilities?

What would be the best practices for setting up a ReactJS project?

found 81 vulnerabilities (21 low, 35 moderate, 24 high, 1 critical)

Emile Bergeron
  • 17,074
  • 5
  • 83
  • 129

1 Answers1

2

Try recommended command
the vulnerabilities may reduce.

npm audit fix

Since you don't use it in prod, in most situation it can be ignored.

keikai
  • 14,085
  • 9
  • 49
  • 68
  • If I try to fix it with npm audit fix, it will not fix all, using --force option breaks the code. What would be the best practice for production? – Simple Humble Nov 29 '19 at 18:04