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?
Asked
Active
Viewed 278 times
0

Gaurav
- 1,332
- 11
- 22
-
It should be using it. What does `npm config list` output? – evolutionxbox Jun 29 '22 at 16:36
-
1@evolutionxbox Looks like I had 2 different `.npmrc` at different locations. I deleted one and kept the one in my root project. I think that was the issue – Gaurav Jun 29 '22 at 17:45