How to fix npm audit fix issues? How to fix npm audit fix issues? reactjs reactjs

How to fix npm audit fix issues?


You can solve it with https://github.com/rogeriochaves/npm-force-resolutions

1) add resolutions section

"resolutions": {  "lodash": "^4.17.5"}

2) run

rm -r node_modulesnpx npm-force-resolutionsnpm install


Issue is related to the react-native-cached-image package having a dependency on lodash 4.17.4 as you can see here: https://github.com/kfiroo/react-native-cached-image/blob/master/package.json#L51