Command: npm install --save axios
I am unable to install axios
. I am using reactnative
in windows and want to make a HTTP request
Error
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.3 (node_modules\sane\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN eslint-plugin-react-native@3.2.1 requires a peer of eslint@^3.17.0 || ^4.0.0 but none was installed.
npm ERR! path D:\reactnative\albums\node_modules\.staging\axios-29ec864b
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'D:\reactnative\albums\node_modules\.staging\axios-29ec864b' -> 'D:\reactnative\albums\node_modules\axios'
npm ERR! { [Error: EPERM: operation not permitted, rename 'D:\reactnative\albums\node_modules\.staging\axios-29ec864b' -> 'D:\reactnative\albums\node_modules\axios']
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path:
npm ERR! 'D:\\reactnative\\albums\\node_modules\\.staging\\axios-29ec864b',
npm ERR! dest: 'D:\\reactnative\\albums\\node_modules\\axios',
npm ERR! parent: 'albums' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.