Question: [![enter image description here](https://i.stack.imgur.com/CGEth.png)](https://i.stack.imgur.com/CGEth.png)When I install redux-thunk it shows an error and you can see attached image for more info -

npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\siddharth.vyas\Desktop\react-native\_Proj\AwesomeProject\node\_modules.staging\redux-thunk-069b38d0' -> 'C:\Users\siddharth.vyas\Desktop\react-native\_Proj\AwesomeProject\node\_modules\redux-thunk'

And I have also try to install "redux-thunk" with the administrator but shows the same error.

Pakage.json -

"dependencies": {
 "axios": "^0.19.0",
 "react": "16.8.3",
 "react-native": "0.59.9",
 "react-native-loading-spinner-overlay": "^1.0.1",
 "react-redux": "^7.1.0",
 "redux": "^4.0.1",
 "redux-axios-middleware": "^4.0.0"
 },
 "devDependencies": {
 "@babel/core": "7.4.5",
 "@babel/runtime": "7.4.5",
 "babel-jest": "24.8.0",
 "jest": "24.8.0",
 "metro-react-native-babel-preset": "0.54.1",
 "react-test-renderer": "16.8.3"
 },

Answer: 
try removing node\_modules and do `npm install`. If it doesn't work, delete node\_modules, add "redux-thunk": "^2.3.0" to your dependencies, then run `npm install -i`
I have faced similar issues in windows. this looks more of a permission issue.

Try running the cmd window in run as administrator mode. this should mostly give permission to npm to execute the script.

if that does not work, then the option would be to delete the folder redux-thunk from node\_modules directory and try reinstalling the redux-thunk module again