Windows 10
-Visual Studio Code
PS C:\RN\simpleApp> npm i react-native-swiper
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, rename 'C:\RN\aflix\node_modules\.staging\fsevents-43cdae17\no
de_modules\asynckit' -> 'C:\RN\simpleApp\node_modules\.staging\asynckit-87b1ae8b'
npm ERR! path C:\RN\simpleApp\node_modules\react-native-swiper
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\RN\simpleApp\node_modules\react-native-swiper' -> 'C:\RN\simpleApp\node_modules\.react-native-s
wiper.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ACER\AppData\Roaming\npm-cache\_logs\2017-10-05T01_52_14_625Z-debug.log
Not sure about what problem, can anyone help me ? I checked the node_modules folder, cannot find react-native-swiper
NPM Version 5.3.0
RN Version 0.48.4
If someone is here to find solution... what i did was:
npm uninstall --save react-native-swiper
then install again:
npm install --save react-native-swiper
I saw on some stackoverflow questions to delete package-lock.json but i didn't try it.
Hope this trick can help someone :)
Tied what @miguelnfuertesc said and it worked for me. tanks
Most helpful comment
If someone is here to find solution... what i did was:
npm uninstall --save react-native-swiperthen install again:
npm install --save react-native-swiperI saw on some stackoverflow questions to delete package-lock.json but i didn't try it.
Hope this trick can help someone :)