#2176·capistrano

[Help] build and read npm/yarn registries configuration files

Author: tuxtux59Created Dec 19, 2025Updated Dec 19, 2025

Hello,

I'm trying to install a dependency that requires an authentication to a specific registry (using .nprm or yarnrc.yml file). I succeeded create theses files in the current release folder and set the env var in :default_env config. But when yarn --production is ran I got a 401 unatuhorized access error. Because registry file is not read so no right url and no auth token found.

I guess the error is the location of these files, my questions are:

  • is there a right place to build or store a .nprmc/.yarnrc.yml file ?
  • I there another process to define registries configuration for node dependencies in the deploy config file ?

Thanks by advancex