Category : .npmrc

I have a project that contains private libraries available on Azure Devops. I have a Dockerfile in place to build my project When the npm install command starts I get the following error: 400 Bad Request – GET https://myOrganisation.pkgs.visualstudio.com/myproject/_packaging/myFeed/npm/registry/:_authToken=[TOKEN_BAASE_64]/@project%2fmy-lib My .npmrc file : unsafe-perm=true package-lock=false @project:registry=https://myOrganisation.pkgs.visualstudio.com/myproject/_packaging/myFeed/npm/registry/:_authToken=${NPM_TOKEN} always-auth=true Source: Dockerfile..

Read more

How can I mention two private npm registries in the docker and .npmrc package? //registry.npmjs.org/:[email protected]@#[email protected]#[email protected]#[email protected]#[email protected]#! registry = https://companiesprivateregistry (and another one is) When I run RUN npm install it taking the precedence of registry.npmjs.org. I do have one package.json. I tried multiple things RUN npm config set @:privatepackage1 registry https://companiesprivateregistry RUN npm config set @privatepackage2 ..

Read more