Closed josyvoxtron closed 3 years ago
my to
me too
same here
-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
@ben-wiz the solution didn't work for me
npm ERR! Unable to authenticate, need: Basic realm="GitHub Package Registry"
@AdlyPayTabs can you help with the above error? how to solve it? @ben-wiz suggestion didnt work for me neither!
@AdlyPayTabs +1
@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:
Thank you @michelazzam it works
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>`