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

Forbid npm unpublish on client computer

Hello I would like to know if a special npm configuration could enable npm publish disable npm unpublish --force [IDEAL] disable all npm unpublish commands I am using Verdaccio as a private package repository, and I know that they are working on…
Deunz
  • 1,776
  • 19
  • 32
1
vote
0 answers

angular libraries npm dependencies - how does it work?

I have an angular 7 library called LibA (created with ng g library ...), there I have installed an NPM package named DependencideA. Objects from DependencideA I have imported only in NgModuleA and its Components. Now when I'm using my NPM package…
admir86
  • 368
  • 1
  • 3
  • 13
1
vote
0 answers

Verdaccio is complaining that "package XXX does not have a latest tag?"

On startup of Verdaccio, all the packages throw warnings like the one below warn --- package zone.js does not have a "latest" tag? When startup is complete, the UI says that no packages were loaded. It seems to be related to a publish, but I can't…
Atron Seige
  • 2,783
  • 4
  • 32
  • 39
1
vote
1 answer

verdaccio install successfully, but the package was only downloaded to verdaccio's storage

I used "npm install npmtest" command to download my test private package. But there was no package downloaded in my project directory. After that, I used "npm install jquery" to download jquery plugin, but the plugin was only downloaded to…
ChenLee
  • 1,371
  • 3
  • 15
  • 33
0
votes
0 answers

Verdaccio: How to add custom generated auth plugin in config.yml of local registry

I created a custom authentication plugin in verdaccio but I am unable to add it to my local registry config.yml. I tried adding it using the following code: middlewares: custom-auth: enabled: true auth: custom-auth: option:…
0
votes
0 answers

verdaccio PUT 405 not allowed error when publish scoped package

The verdaccio configuration doesn't change much, only below modifications. storage: /dat/verdaccio listen: - 0.0.0.0:4873 The server is deployed in remote server with a domain, like https://verdaccio.x.com The issue is: If I publish simple scoped…
towry
  • 4,131
  • 1
  • 18
  • 25
0
votes
1 answer

In Verdaccio, is setting uplinks maxage to infinity a wrong approach?

I've created a Verdaccio server in a Kubernetes Cluster, I only use it as a cache and no private packages are needed. The Verdaccio server run perfectly, however, it runs slow when the cache expires, as it will pull the packages again from the…
v.ng
  • 533
  • 5
  • 10
0
votes
0 answers

How to add user in npm private registry (verdaccio) in jenkins CI pipeline

When im trying to add-user in npm to access private registry (verdaccio). Its endup with below error Username: npm ERR! Exit handler never called! Anyone here to sortout this issue. Username: npm ERR! Exit handler never called!
Taj
  • 1
0
votes
0 answers

verdaccio error 'verdaccio: types-registry'

I'm currently creating a private npm registry for my company. I pulled the verdaccio docker container and I put the config.yaml file into the folders in the container. When I run verdaccio, an error message comes up: EACCES: permission denied,…
0
votes
1 answer

Browse Verdaccio UI by Hostname or IP

I have installed Verdaccio under Ubuntu. Packages are published and accessible. The machine is accessible via two different aliases, as well as via IP address. When I now open the Web UI of Verdaccio, the published packages are only displayed in the…
Anjs
  • 1
  • 1
0
votes
1 answer

published npm package not installed as expected using verdaccio

my objective is to build and publish a package for commonly used typescript functions on verdaccio, an npm registry running on docker. I build my typescript package. this is my project structure package.json { "name": "communications", …
Simple Fellow
  • 4,315
  • 2
  • 31
  • 44
0
votes
0 answers

verdaccio & aws ec2

I am trying to setup Private NPM registry using Verdaccio on ec2 instance (Linux). For this I have configured a CloudFront as well. I am able to access the Registry using the Public EC2 IP but, On visiting the CloudFront host, I keep getting Mixed…
0
votes
0 answers

Failed to find exported name of node (class myClass)

I have lib which is published in Verdaccio. In this lib I have CustomFieldModule. I have created new component with own module TextAreaAutosizeModule and imported in CustomFieldModule. I have created index file inside text-area export * from…
Sunstrike527
  • 515
  • 1
  • 4
  • 17
0
votes
0 answers

Verdaccio installation on though docker giving "npm ERR! Maximum call stack size exceeded"

I have written a dockerfile to install specific version for Verdaccio registry server , I am getting "npm ERR! Maximum call stack size exceeded" error. Docker file installation step npm i -g verdaccio@${VERDACCIO_VERSION} --unsafe-perm &&…
Vikash Kumar
  • 1,712
  • 1
  • 11
  • 17
0
votes
0 answers

how to transfer public npm-packages from https://registry.npmjs.org/ to my verdaccio registry?

I want to protect my npm packages. So that new changes will not break the current performance. Just proxying does not suit me. Now i am moving packages from node_modules via command: npm publish --registry http://my.verdaccio.server but many…