How to install a package manually in an React Native project?

Asked

Viewed 161 times

0

I need to install a package in my React Native project, but when using the npm command for installation:

npm install react-native-threatmetrix --save

I get the following error in response:

npm ERR! code ENOVERSIONS
npm ERR! No valid versions available for react-native-threatmetrix

Soon, there seems to be no more version of the package available. But I have access to the project on Github (https://github.com/teopeurt/react-native-threatmetrix), and wanted to know, if possible, how do I install it manually.

1 answer

0

You can install from Github like this:

npm install git+https://[email protected]/teopeurt/react-native-threatmetrix.git

Browser other questions tagged

You are not signed in. Login or sign up in order to post.