Quantcast
Channel: User antpaw - Stack Overflow
Viewing all articles
Browse latest Browse all 35

using myproject/.npmrc with registry

$
0
0

How do I setup a .npmrc file inside my project where I can define my own private registry? I don't want to have this kind of configuration in my user config .npmrc. Every other developer should be able to just git clone the project and run npm install.

This is what I have so far:

// .npmrcregistry=https://npm.fury.io/AUTH_TOKEN/me/// package.json:{"name": "webapp","description": "","version": "1.0.0","private": true,"dependencies": {"jquery": "1.2.3","myPrivateLibFromNpmFury": "0.0.4"  }}

npm install myPrivateLibFromNpmFury

returns

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/myPrivateLibFromNpmFury


Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>