Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to add dependency #64

Open
KaranSachrani opened this issue Jun 4, 2020 · 5 comments
Open

Not able to add dependency #64

KaranSachrani opened this issue Jun 4, 2020 · 5 comments

Comments

@KaranSachrani
Copy link

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

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

@waldobeest
Copy link

waldobeest commented Jun 4, 2020

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

@KaranSachrani
Copy link
Author

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

@waldobeest
Copy link

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
Copy link
Author

The is the issue while running also tried the above command

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

@dvelaren
Copy link

Hello, thanks a lot for this plugin.

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

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants