I am not expert of the subject but I will try to help you.
First verify that you have created a feed in Azure DevOps and that the feed is correctly configured to include the azure-ai-vision-face-ui
package.
Create an .npmrc
file in the root of your project if it doesn’t already exist and add the following content to the .npmrc
file, replacing metafeed
with your actual feed name and your-pat-token
with your Personal Access Token (PAT):
registry=https://pkgs.dev.azure.com/<your-organization>/_packaging/<metafeed>/npm/registry/
always-auth=true
//pkgs.dev.azure.com/<your-organization>/_packaging/<metafeed>/npm/registry/:username=xxx
//pkgs.dev.azure.com/<your-organization>/_packaging/<metafeed>/npm/registry/:_password=<base64-encoded-pat>
//pkgs.dev.azure.com/<your-organization>/_packaging/<metafeed>/npm/registry/:email=xxx
To generate the base64-encoded PAT, you can use the following command in your terminal:
echo -n 'your-pat-token' | base64
Then run the following command to install the azure-ai-vision-face-ui
package:
npm install azure-ai-vision-face-ui@latest
Don't forget to check if the package is listed in your package.json
and node_modules
directory after installation.