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
8
votes
1 answer

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
  • 671
  • 4
  • 20
8
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
  • 41,793
  • 59
  • 191
  • 359
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…
6
votes
1 answer

verdaccio Error: 413 Payload Too Large - PUT request entity too large

i was use Verdaccio which is a lightweight private npm proxy registry built in Node.js when i publish my code to verdaccio ,it always have a Error: the logs file key word: 15 notice === Tarball Details === 16 notice name: …
ioy
  • 61
  • 1
  • 2
5
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,340
  • 3
  • 12
5
votes
1 answer

Comparison between Verdaccio and Github package registry

I'm looking for some comparison between this to registry, did anyone try both? Why I should use one or another? What are the pros and cons of each registry?
Diego
  • 493
  • 1
  • 9
  • 26
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
  • 1,070
  • 1
  • 10
  • 25
5
votes
1 answer

How set up remote npm authentication with Artifactory

I have a downstream Sinopia repository, that requires authentication, that I want to set up as a remote npm repo in Artifactory. How do I provide Artifactory the credentials for the remote?
Brandt
  • 341
  • 2
  • 10
4
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
  • 67
  • 8
4
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
  • 11,836
  • 25
  • 112
  • 175
3
votes
1 answer

Verdaccio Migration, from 3 to 4, breaking change not loading the storage folder

I have encountered a sneaky un-documented breaking change migrating from my private Verdaccio registry from v3 to v4. After migration, the v4 is not loading the existing storage content that is define in a docker volume as it was done for v3. After…
jmuhire
  • 2,091
  • 21
  • 19
3
votes
1 answer

Remove all packages from locally hosted verdaccio UI

So, I have verdaccio hosted on my local machine. I have a few packages published on it as well with versions. What I want to do is, clear all of these packages with their versions. Like a reset to my verdaccio. I can unpublish the packages via npm…
MuzaffarShaikh
  • 380
  • 3
  • 13
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
  • 2,143
  • 4
  • 17
  • 37
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
  • 3
  • 11
2
votes
1 answer

Why can't I publish this specific package to a private NPM registry hosted by Verdaccio?

I'm using Verdaccio to host a private NPM registry on a machine that doesn't have access to the internet. So far, I've successfully published thousands of packages to the registry. However, when trying to publish…
Caleb Koch
  • 656
  • 1
  • 9
  • 15
1
2 3 4 5 6