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
1
vote
0 answers

How can I use Docker and Verdaccio, publish a package, then share that Docker Image to another person with the Package showing up?

I have got the Verdaccio running with docker on my system using: docker pull verdaccio/verdaccio docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio I can then see my Verdaccio at localhost:4873. I add a user: npm adduser…
Rick
  • 23
  • 4
1
vote
0 answers

Verdaccio create user to publish packages inside a GitLab CI task

I've got a mono-repo setup with lerna and yarn workspaces. To build the docker images for servers in the project, I'm using verdaccio as a GitLab service. In the build phase, I want to publish packages and when running the server I'm planing to…
user2473015
  • 1,392
  • 3
  • 22
  • 47
1
vote
1 answer

verdaccio publish new package

OS OpenSuse 15.2 I have trouble with publihing new packages to local npm proxy Verdaccio version 5.1.0 I have installed verdaccio from npm Added user verdaccio : id verdaccio uid=1001(verdaccio) gid=100(users) группы=100(users) Added to config…
sergey_s
  • 119
  • 2
  • 6
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
  • 378
  • 5
  • 16
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
  • 10,211
  • 17
  • 76
  • 174
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
  • 159
  • 2
  • 9
1
vote
1 answer

Docker in Docker - Jenkins Docker Pipeline - how to connect to outside Service

I have the following setup jenkins runs in a docker container in a sibling docker container I run a private npm registry I use the Docker Pipeline Plugin and a Jenkinsfile to build a typescript library (with a node docker container) I want to…
andymel
  • 4,538
  • 2
  • 23
  • 35
1
vote
1 answer

Local npm registry, can't create team or org (verdaccio)

There is a server in which we configured a fresh installation of verdaccio to manage a local cache of NPM packages. We need to give some specific users access to publish packages and also manage package access for other users. For publishing purpose…
AmiNadimi
  • 5,129
  • 3
  • 39
  • 55
1
vote
1 answer

Unable to add user to verdaccio registry

I am trying to publish scoped package to verdaccio registry . I installed verdaccio by following commands npm install -g verdaccio Added this in my package.json file "publishConfig": { "registry": "http://localhost:4873" } After that…
Roster
  • 1,764
  • 6
  • 17
  • 36
1
vote
1 answer

Publish Angular library to private Verdaccio npm repository

I have a private Verdaccio npm repository. I configured authentification for using htppasswd file auth: htpasswd: file: /verdaccio/conf/htpasswd max_users: -1 So now nobody can do npm add ... but must use npm login ... After being logged,…
tweetysat
  • 2,187
  • 14
  • 38
  • 75
1
vote
2 answers

Cannot login into Verdaccio

I have just installed Verdaccio on my computer. I have changed nothing in the config file, apart from adding proxy_related info: http_proxy: http://proxy.ip:8080 https_proxy: https://proxy.ip:8080 no_proxy: localhost,127.0.0.1 After starting the…
Igino Boffa
  • 686
  • 1
  • 9
  • 21
1
vote
0 answers

How to restrict unpublish of a certain package version with verdaccio?

I want to restrict the unpublishing of a package with a certain version number with Verdaccio. I am aware of the feature called Package Access. I tried: '@scope/myPackage@1.0.0': access: $all publish: $authenticated unpublish: this…
Grim Dago
  • 11
  • 1
  • 6
1
vote
0 answers

What does npm unpublish do?

I read npm's documentation for npm unpublish but I find it confusing that unpublished versions still show up under a module's versions history/tab. What is the practical impact of unpublishing a version? Is it normal that unpublished versions still…
Gili
  • 86,244
  • 97
  • 390
  • 689
1
vote
0 answers

npm UNABLE_TO_VERIFY_LEAF_SIGNATURE Verdaccio

I have a private Verdaccio server under https protocol. My certificate has been generated by certbot and recently I had to renew it. But now npm throw me a error npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE npm ERR! errno…
Distil
  • 13
  • 5
1
vote
1 answer

Verdaccio No Package Published Yet

From today verdaccio (v3.8.3) stopped showing packages in local registry. Opening on browser this message is shown: No Package Published Yet The storage folder specified in configuration (~/.local/share/verdaccio/storage) contains all my…
assistbss
  • 527
  • 7
  • 25