paytabscom / react-native-paytabs-library

Bridge library for native IOS/Android Paytabs libraries
https://site.paytabs.com/en/
MIT License
15 stars 15 forks source link

react-native-paytabs-library - Not found #11

Closed josyvoxtron closed 3 years ago

josyvoxtron commented 4 years ago

when i try to install

npm install @paytabscom/react-native-paytabs-library@1.1.0-beta or npm install @paytabscom/react-native-paytabs-library@1.0.8 --save

am getting following error `D:\TesingProjects\reacttest\paytabtest>npm install @paytabscom/react-native-paytabs-library@1.0.8 --save npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@paytabscom%2freact-native-paytabs-library - Not found npm ERR! 404 npm ERR! 404 '@paytabscom/react-native-paytabs-library@1.0.8' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2020-11-03T13_08_38_730Z-debug.log

D:\TesingProjects\reacttest\paytabtest>npm install @paytabscom/react-native-paytabs-library@1.1.0-beta npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@paytabscom%2freact-native-paytabs-library - Not found npm ERR! 404 npm ERR! 404 '@paytabscom/react-native-paytabs-library@1.1.0-beta' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2020-11-03T13_08_57_570Z-debug.log

D:\TesingProjects\reacttest\paytabtest>` image

hexllhexll commented 3 years ago

my to

OsamaHarby commented 3 years ago

me too

Prinkal151 commented 3 years ago

same here

ben-wiz commented 3 years ago

-create .npmrc file in root and add @paytabscom:registry=https://npm.pkg.github.com in it and then run npm install @paytabscom/react-native-paytabs-emulator@1.2.2

michelazzam commented 3 years ago

@ben-wiz the solution didn't work for me

npm ERR! Unable to authenticate, need: Basic realm="GitHub Package Registry"

icemaker commented 3 years ago

@AdlyPayTabs can you help with the above error? how to solve it? @ben-wiz suggestion didnt work for me neither!

fouadSalkini commented 3 years ago

@AdlyPayTabs +1

michelazzam commented 3 years ago

@ben-wiz In order to be able to install the package, on top of your solution I had to add couple of lines.

created .npmrc file in the root of the project and added the following:

@paytabscom:registry=https://npm.pkg.github.com
@{{OWNER}}:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken={{TOKEN}}

In this case the owner will be: AdlyPayTabs >>@AdlyPayTabs:registry=https://npm.pkg.github.com

And to generate a personal token, navigate in your GitHub account to:

josyvoxtron commented 3 years ago

Thank you @michelazzam it works