oblador / react-native-animatable

Standard set of easy to use animations and declarative transitions for React Native
MIT License
9.84k stars 702 forks source link

react-native run-android is not working after installing react-native-animatable package #173

Open RakeshKW opened 6 years ago

RakeshKW commented 6 years ago

after installing react-native-animatable package its giving following error:

E:\React Native\sample>react-native run-android Command run-android unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

before installing this package everything is working fine: now i tried npm install also but its showing following error:

E:\React Native\sample>npm install npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated npm WARN deprecated content-type-parser@1.0.2: This package has been renamed whatwg-mimetype; please upgrade. npm ERR! Unexpected end of JSON input while parsing near '...":{"shasum":"7586a9b3'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\rakes\AppData\Roaming\npm-cache_logs\2018-01-16T06_35_57_202Z-debug.log

E:\React Native\sample>react-native run-android Command run-android unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

LeviWilliams commented 6 years ago

I have gotten the same error before when installing packages and all I did was npm uninstall lodash and npm install lodash. That fixed everything for me.

aprilmintacpineda commented 6 years ago

@RakeshKW Hmm, I tried to reinstall mine twice on both iOS and Android and it works well.

Can you try and look at C:\Users\rakes\AppData\Roaming\npm-cache_logs\2018-01-16T06_35_57_202Z-debug.log to see if there are more information about the error?