- Goto https://companyname.visualstudio.com/Default/_packaging?_a=feed&feed=Feedname
- Run the command in the directory where your package.json is present
- If the package.json is not present. Run the command npm init
- npm install -g vsts-npm-auth --registry https://registry.npmjs.com --always-auth false ( This will open an authentication window for your microsoft account)
- vsts-npm-auth -config .npmrc
- now run npm install and the package should be installed.
No comments:
Post a Comment