How to setup private npm registry

Why we might need one?

Verdaccio is a simple, zero-config-required local private npm registry. No need for an entire database just to get started! Verdaccio comes out of the box with its own tiny database, and the ability to proxy other registries (eg., caching the downloaded modules along the way.

Install docker compose
install vim on ubuntu
docker-compose file for Verdaccio
Verdaccio home screen
Verdaccio authentication failed error
npm login --registry
Username: verdaccio
Email: (this IS public)
Logged in as verdaccio on
High availability for npm registry
mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport fs-<number> /home/ubuntu/myVerdaccio/efs-storage
fs-<number> /home/ubuntu/myVerdaccio/efs-storage nfs4 nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport 0 0



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhinav Dhasmana

Senior Staff Engineer @freshworks. Ex-McKinsey/Microsoft/Slideshare/SAP, Tech Enthusiast, Passionate about India. Opinions are mine