how to install module in react according to package.json

download modules with dependencies in package.json

npm install

By default, npm install will install all modules listed as dependencies in package.json.

To fix npm error

npm audit fix

To fix npm error forcefully

npm audit fix –force


Leave a Reply