Switch to Github NPM Package Registry
Remove the old NPM registry
Remove the previously configured npm.request.africa
Remove all the references to
--registry=npm.request.africa from any documentation
Configure Github Package Registry
1. Create a Personal Github Access Token
- Access the Developer Settings from your Github's profile page. Here is the link Github Developer Settings
Create a personal access token with the
Packagesread and write scopes.
Copy the access token.
2. Authenticate your local NPM into Github Packages Registry
.npmrc file to use the Github Package registry for your private repositories.
The file is located in your
3. Update the package.json file
For the repository follow the above format. Copy the link from the browser and replace the
You should update the package.json for the
lib not the