Questions tagged [verdaccio]

verdaccio is an open source npm private and proxy registry for Node.js packages.

verdaccio is an open source npm private and proxy registry for Node.js packages.

Private npm registry

Provides the ability to host a local private registry, based by default on htpasswd authentication and local file system based.

Local network proxy

Verdaccio can proxy for multiple registries resolving all dependencies using an unique endpoint. It's totally customizable and can act as an offline registry.

Pluggable application

The default authentication and storage can be changed using plugins, furthermore, adding additional layers is fairly easy using the middleware plugins.

Support for Docker and Kubernetes

Verdaccio provides an official Docker image and chart for easy deployment on Kubernetes.

Miscellaneous

Verdaccio is fully compatible with yarn, npm and pnpm and it was a fork based on sinopia@1.4.0

Useful links:

88 questions
0
votes
2 answers

Unexpected end of file in Yarn install

I'm facing a problem related to npm/yarn. We have an npm registry hosted in one of our VMs using Verdaccio to publish our private packages. When we install packages other than our own for the first time, they all are routed to registry.npmjs.org…
Manish Jangir
  • 5,329
  • 4
  • 42
  • 75
0
votes
1 answer

Verdaccio crash with Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed

We are hosting a Verdaccio 3.4.0 npm private registry within docker. It use a mounted volume to store packages. For some reason, the container started to crash, it can now start but it can't see any packages: I have checked and the mounted volumes…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
0
votes
1 answer

Build docker image, through docker-compose, using locally running verdaccio

I'm running verdaccio locally (through docker) to publish private npm packages. I'm building one of my packages with Dockerfile which has: RUN npm ci in it. I'm actually building with docker-compose. I have a .env file to set these args: -…
justin
  • 3,357
  • 1
  • 23
  • 28
0
votes
1 answer

What algorithm does Verdaccio use to encrypt the npm registry?

Can't find the information anywhere. I'm a noob in computer security so my question might sound a bit dumb. I understand we can communicate with Verdaccio using HTTPS and we can set up an authentication with htpasswd so I'm guessing a Verdaccio npm…
Randy
  • 4,335
  • 3
  • 30
  • 64
0
votes
2 answers

How to create offline private registry of verdaccio

I create private npm registry with verdaccio. I want to able to run npm install --registry="http://localhost:4873" and get all dependencies from private registry. I need to publish all packages from my project node_modules directory. I had to run…
AminRostami
  • 2,585
  • 3
  • 29
  • 45
0
votes
2 answers

Merge two different Verdaccio storage folders (CouchDb databases)

I am trying to set up a completely offline Verdaccio installation that I can use as a proxy for NPM packages for a small team of developers and for our build machine. My challenge is that I would like to be able to update the offline npm packages…
SmartDev
  • 2,802
  • 1
  • 17
  • 22
0
votes
1 answer

'npm adduser' returns error 405 IIS 7. WebDAV module

I setup Verdaccio on IIS 7.5. The web interface is up at the desired address. When I try to execute npm adduser --registry http://my.registry.it/, as requested in the UI, I get an npm ERR! saying HTTP Error 405.0 - Method Not Allowed It seems a…
Malva
  • 58
  • 1
  • 8
0
votes
1 answer

Verdaccio Installing on IIS server: Can not find iisnode-verdaccio on npmjs

I no longer find iisnode-verdaccio on npmjs when following the instructions of Installing on IIS for Verdaccio. Any ideas?
dowgwi
  • 45
  • 8
0
votes
1 answer

How to locally install node module outside of node_modules directory?

In order to deploy a dockerized service written in NodeJS I need to provide its plugins in a dedicated folder. The structure should look like this: #…
oschlueter
  • 2,596
  • 1
  • 23
  • 46
0
votes
1 answer

docker-compose Verdaccio LDAP

Please help me to create docker-compose file for Verdaccio+LDAP. Typical compose file version: '3' services: verdaccio: image: verdaccio/verdaccio:latest container_name: verdaccio ports: - "4873:4873" volumes: -…
Ronny Lee
  • 47
  • 1
  • 1
  • 5
-1
votes
1 answer

How does verdaccio work when you try to publish to a proxied packaged?

It's not clear from the documentation what a Verdaccio proxy is. If I set up a proxy for @acme/foo and someone targets Verdaccio trying to publish @acme/foo how do I configure the behavior and what is the default? There are three obvious…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
-1
votes
4 answers

How can I create DockerFile from docker-compose file

I have an existing docker-compose file version: '3.6' services: verdaccio: restart: always image: verdaccio/verdaccio container_name: verdaccio ports: - 4873:4873 volumes: - conf:/verdaccio/conf -…
1 2 3 4 5
6