Saturday, 18 March 2017

Node .npmrc file

I am new to node and reactJS.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 to add a registry of the format

    "scope=rohit-project@rohit-aquila:registry=https://registry.npmjs.org/
    //registry.npmjs.org/:_authToken=03408522-4rfca-dff4f-dfsf-43863gfe3492"

How do I add it so that I can install the dependencies and modules for my project by running npm install on MAC OS Sierra.



via Rohit Srivastava

No comments:

Post a Comment