Skip to main content
0 votes
0 answers
182 views

I'm trying to install a private Bitbucket Git repository as a dependency in my project using Bun v1.2.10 on Windows. My package.json dependency: "dependencies": { "@repo/sdk": &...
ferwtqe's user avatar
0 votes
0 answers
160 views

I'm having an issue where I want my javascript project to build in Docker. I copy all projects file that are needed and then I run pnpm i. This will not work because I have a private npm registry for ...
Klaasvaak's user avatar
  • 5,652
0 votes
1 answer
51 views

I am using .npmrc to specify the registry and install it other projects, but as .npmrc is git ignored, how can I do this automatically at the time of deployment I want to know what to do Can you ...
Leocodeio's user avatar
1 vote
1 answer
1k views

I want to use .env file variables in .npmrc file. Is that possible? I know we can run export SOME_PRIVATE_GITHUB_ACCESS_TOKEN=1234 before run npm install, but I don't want to do that everytime. I want ...
Jinwoo Nam's user avatar
7 votes
1 answer
5k views

My .npmrc looks like this: node-options=--openssl-legacy-provider I want it to look like this: COMMENT the following line is needed for node 18 or higher node-options=--openssl-legacy-provider How ...
danday74's user avatar
  • 58.1k
0 votes
1 answer
193 views

I've been getting this annoying error everytime I open a new terminal window or tab saying: bash: /.npmrc: Permission denied And that is it, I have been trying to find a solution (unsuccessfully) for ...
duhovicm's user avatar
4 votes
0 answers
2k views

I am trying to not use my PAT stored in the .npmrc file that is checked into the root of my repository. Right now, I have a GitHub Actions workflow setup that publishes a package to our GitHub package ...
Mani Shankar's user avatar
0 votes
0 answers
1k views

I have .npmrc file at the root in my project. But for some reason npm i doesn't use that for proxy. Instead it is picking up my bash_profile. Can someone please help how to force use .npmrc file?
Gaurav's user avatar
  • 1,370
1 vote
1 answer
836 views

I have this file (.npmrc.docker) //registry.npmjs.org/:_authToken=${NPM_TOKEN} And in my Docker file I have ARG NPM_TOKEN RUN mv .npmrc.docker .npmrc RUN yarn install However when I run my Docker ...
Dave's user avatar
  • 20.1k
1 vote
0 answers
612 views

I have .npmrc file in the my root folder with package.json file.But I still have client folder and server folder with their own package.json files.How I can share this npmrc to my server and client ...
Vadszh Makedonski's user avatar
3 votes
0 answers
1k views

Me and my colleagues have a problem with .npmrc Most of us are on Mac OSx and this works @REGISTRY_NANME:registry=https://gitlab.com/api/v4/packages/npm/ //gitlab.com/api/v4/packages/npm/:_authToken=${...
Mike's user avatar
  • 81
1 vote
0 answers
473 views

We are have Nodejs API written in Typescript. We are using NPM Packages from Gitlab private registries. We have the Registry URL and Token. We need to store that in the Project in .npmrc file. But the ...
Silly John's user avatar
  • 1,714
1 vote
1 answer
1k views

Installing the npm package from the global registry( https://registry.npmjs.com ), if that package does not exist, install it from Azure Artifacts. To do this: First I create .npmrc in the root ...
Shiraz Rayan's user avatar