6

I already spent one whole day trying to fix this issue. I try to keep the description short.

  • Working on Express-Mongo-React web app(MERN)
  • Everything is working properly in local system.
  • I have referred this tutorial to host my project in AWS server (Dev Mode)
  • I have 'Client' folder where i keep all my react code.
  • After uploading code in server, I run 'npm install'
  • All the dependencies are installed properly except one.

    i.e. React-scripts

I see this error message after installing this react-scripts package

'found 1 high severity vulnerability'

'npm audit' gives following summary


High         : Missing Origin Validation 
Package      : webpack-dev-server   
Patched in   :  >=3.1.11 
Dependency of: react-scripts

I restarted AWS instance, started everything from scratch. Nothing helped.

What could be the root cause?

Darshn
  • 1,512
  • 1
  • 23
  • 31

0 Answers0