I'm not able to find anywhere to configure my App Center project to authenticate to one of my Azure Devops private NPM package repositories.
Is this currently supported?
@atrauzzi You are right that there is currently no direct support of this, but you should be able to achieve a solution with environment variables plus custom scripts. This example may help: https://blog.theodo.com/2018/07/installing-private-npm-packages-appcenter-2/
Great, thanks for the link. I'll use that in the interim as you guys figure out the best way to streamline this. 馃槉
Let us know if you run into any issue! Thanks for reaching out. I'm going to close this as we won't be able to get to this for a while given other priorities and that a solution exists.
cc @nrajpurkar
@DennisPan - Hmm, it'd be better to leave this open and track it in a backlog somewhere. Otherwise it will be forgotten and will never get considered for implementation.
@atrauzzi Feel free to re-open it. At the very least I'm going to remove the "bug" label, as this is more of a feature request, not a bug. Thing change, so I cannot tell for sure, but given where we are in terms of priority, I doubt that we will get to something like this in the foreseeable future. If we get more interest from others, certainly we can revisit.
Hi,
I have been also running into the private feed problem, the mentioned fix worked for me but now is failing looking for nested dependencies, so I get a 400 error when running the build, I was thinking in NPM -ci in order to not look for updated dependencies but, after checking with your support, there is no way I can add any flags to the "npm install" command, could you please advice?
@pepoman Do you mind reaching out to support again and ask them to assign the ticket to me? I'd like to take a deeper look at your build logs to understand more.
You can also do this using an .npmrc file in your project root. It's pretty simple. This is a tutorial explaining the exact process
Most helpful comment
@atrauzzi You are right that there is currently no direct support of this, but you should be able to achieve a solution with environment variables plus custom scripts. This example may help: https://blog.theodo.com/2018/07/installing-private-npm-packages-appcenter-2/