MohGovIL / rn-contact-tracing

React Native Library For Contact Tracing Over BLE (Bluetooth Low Energy) To Fight COVID-19 Pandemic
MIT License
59 stars 16 forks source link

Not able to add dependency #64

Open KaranSachrani opened 4 years ago

KaranSachrani commented 4 years ago

facing the below issue while adding the dependency rn-contact-tracing: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! rn-contact-tracing@0.0.4 postinstall: rm -rf ../node_modules npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the rn-contact-tracing@0.0.4 postinstall script.

tried both ways for adding dependency: yarn add rn-contact-tracing and npm install rn-contact-tracing --save

waldobeest commented 4 years ago

Hi @KaranSachrani Which version of RN are you running? I am installing the latest and it is running fine for me on Android.

KaranSachrani commented 4 years ago

I am running the below version react-native-cli: 2.0.1 react-native: 0.62.2

waldobeest commented 4 years ago

try

yarn add https://github.com/wix-incubator/rn-contact-tracing

Since the 0.0.4 on npm is anyway not the latest code from what I could tell.

KaranSachrani commented 4 years ago

The is the issue while running also tried the above command

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! rn-contact-tracing@0.0.3 android: react-native run-android --root "./example" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the rn-contact-tracing@0.0.3 android script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

dvelaren commented 4 years ago

Hello, thanks a lot for this plugin.

Is it possible to have latest changes in a newer npm version? :)

Thanks in advance