React-native-swiper: Failed to install react-native-swiper

Created on 5 Oct 2017  路  2Comments  路  Source: leecade/react-native-swiper

Which OS ?

Windows 10
-Visual Studio Code

Terminal

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

Most helpful comment

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 :)

All 2 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agzuniverse picture agzuniverse  路  3Comments

commit-master picture commit-master  路  3Comments

kylehagler picture kylehagler  路  3Comments

nicolabortignon picture nicolabortignon  路  3Comments

ruben-kasaz picture ruben-kasaz  路  3Comments