ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
124 stars 111 forks source link

not able to install in RN using npm install. getting error #180

Closed Jayaprakashwins closed 3 years ago

Jayaprakashwins commented 3 years ago

Thank you for using react-native-elements! If you rely on this package, please consider supporting our open collective:

https://opencollective.com/react-native-elements/donate

ConnectyCubeChatCodeSample@1.0.1 postinstall C:\Users\JP\ReactNative\Erramma\connectycube-reactnative-samples-master\RNChat npx jetify && cd ios && pod install

Jetifier found 1138 file(s) to forward-jetify. Using 8 workers... 'pod' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! ConnectyCubeChatCodeSample@1.0.1 postinstall: npx jetify && cd ios && pod install npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ConnectyCubeChatCodeSample@1.0.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\JP\AppData\Roaming\npm-cache_logs\2020-12-30T10_54_29_872Z-debug.log

ccvlad commented 3 years ago

You should follow React Native CLI Quickstart and finish all installations for iOS. 'pod' is not recognized as an internal or external command === XCode CocoaPods is not installed.

Jayaprakashwins commented 3 years ago

Hi , But I want only android.

Jayaprakashwins commented 3 years ago

Hi ccvlad, Thanks for your imemdiate response. I changed the below line in packages.json and issue resolved. "postinstall": "npx jetify",