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:

69 questions
7
votes
0 answers

Is there a way in Verdaccio to generate package.json files based on what it has in it's storage?

I'm publishing angular packages to Verdaccio to use inside the company. Suddenly, I found out that one of my package is missing, when I run npm install it gives me an error saying Can not find that specific module. When I checked the verdaccio UI it…
5
votes
1 answer

How to configure save-prefix for own npm registries

I have save-prefix configured as per default to add '^' as version prefix. This works well for (unscoped and scoped) packages which I install from npmjs. However for packages which come from my own registry (verdaccio) it does not append the…
Michael K
  • 683
  • 1
  • 4
  • 20
4
votes
2 answers

curl fails when ran inside script

Trying to communicate with a running docker container by running a simple curl: curl -v -s -X POST http://localhost:4873/_session -d \'name=some\&password=thing\' Which works fine from any shell (login/interactive), but miserably fails when doing…
Jackson
  • 1,018
  • 1
  • 11
3
votes
0 answers

Remove version from Verdaccio package version history

I unpublished the version using npm unpublish @ but i can't find a way to remove the version from verdaccio's (local) ui ? Any idea ?
Fahd Lihidheb
  • 524
  • 2
  • 17
3
votes
1 answer

VEDIACCIO : npm ERR! 404 Not Found - GET https://npm.xyz.com/flatted - no such package available

Installation OS : debian Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster I am using Verdaccio 4.3.4 npmproxy@npm:~/verdaccio$ verdaccio warn --- config file -…
Y. Boujraf
  • 47
  • 6
3
votes
0 answers

How to POST (and not PUT) a first package to a newly installed Verdaccio / Docker instance?

I have installed Verdaccio as a Docker container with a docker-compose.yml file: ├── docker-compose.yml ├── INSTALLATION.md ├── README.md └── volumes ├── conf │   ├── config.yaml │   └── htpasswd ├── plugins └── storage which…
Stephane
  • 8,110
  • 16
  • 85
  • 135
3
votes
1 answer

Publishing packages marked as private to verdaccio

Is it possible to publish packages marked as private to Verdaccio without removing private:true from package.json? The NPM documentation says that we can also use publishConfig to ensure that a package is only published to a specific directory, but…
Ole
  • 29,797
  • 32
  • 110
  • 232
3
votes
1 answer

Publishing npm module on Verdaccio from Docker gitlab CI

I am trying to publish a module on my private Verdaccio repository from Gitlab CI running in Docker. I followed this tutorial and I generated the token on my host (because the container which will run jobs does not exist until the pipeline…
Marco Stramezzi
  • 1,611
  • 2
  • 11
  • 28
3
votes
1 answer

NPM Verdaccio - set uplink to own remote server

I just built an NPM Verdaccio private registry server within our local network and I would like configure an UPLINK to our remote NPM Verdaccio server which is hosted at AWS (and also keep the original npmjs registry). snippet from Verdaccio…
nex.cz
  • 154
  • 1
  • 1
  • 11
2
votes
1 answer

Verdaccio: how to publish to custom server from Github Actions with proper credentials?

I have a working verdaccio server hosted on a google cloud server. I am able manually publish to it, but am struggling to create a GitHub Action to publish to it when I push to master branch. I have a script that works perfectly when publishing to…
Adam B
  • 2,499
  • 1
  • 16
  • 28
2
votes
1 answer

Why verdaccio is not supporting arm processors if node do it

I'm trying to run verdaccio on my raspberry pi 3. I'm newbe with docker and I'm looking for the answer on my question. If vardaccio docker image is based on node:12.16.2-alpine which supports linux/arm and linux/arm64, why it does not support ARM…
kube_k
  • 25
  • 4
2
votes
1 answer

How to migrate private Verdaccio npm registry to another server?

I'm planning to setup private npm registry for our internal Node.js/web projects, and seems that Verdaccio is the best open-source choice for it. Before starting to publish my private packages there I want to be sure that an easy way to move…
ezze
  • 3,500
  • 2
  • 30
  • 53
1
vote
1 answer

Verdaccio on IIS on server 2008 r2

I have setup the verdaccio on IIS on windows 10 and it works perfectly fine. But when I did the same process on server 2008 r2 it opens the page but then suddenly some runtime error and then shows blank page. On console I see some runtime errors on…
GameChanger
  • 153
  • 10
1
vote
1 answer

How to ignore invalid name in publish to npm?

I need to publish package to my local npm (using verdaccio) the package called: @myorg/database/auth. But npm throw error: npm ERR! Invalid name: "@myorg/database/auth" npm ERR! A complete log of this run can be found in: Error: Command failed: npm…
Jon Sud
  • 5,117
  • 3
  • 28
  • 63
1
vote
1 answer

How can I connect to my Verdaccio service launched as docker container from another docker container?

I am trying to build an npm repository which will be used on an offline system. My idea is to build a ready docker container, which will already contain all the packages needed for a given project - downloading the packages will be based on the…
Swierszczu
  • 129
  • 1
  • 9
1
2 3 4 5