How can I add a .npmrc file?

后端 未结 4 1716
一向
一向 2020-12-12 14:10

I installed node on my Mac OS Sierra. I use Windows at my work so there I have a .npmrc file in the node folder but I don\'t seem to find that in mac. The problem is I want

4条回答
  •  执念已碎
    2020-12-12 14:51

    This issue is because of you having some local or private packages. For accessing those packages you have to create .npmrc file for this issue. Just refer the following link for your solution. https://nodesource.com/blog/configuring-your-npmrc-for-an-optimal-node-js-environment

提交回复
热议问题