I have some different projects in my local machine. Some of then uses AWS Codeartifact to download private dependencies in AWS Codeartifact, and others do not use. The projects that uses AWS Codeartifact manage their dependencies with Yarn, and my projects that do not uses AWS Codeartifact manage their dependencies with NPM.
When i run a simple command in NPM like:
npm install nanoid
The npm tries to connect to my AWS Codeartifact and it gives an error:
Unable to authenticate, need: Bearer realm="domain-npm-repo/npm-repo", Basic realm="domain-npm-repo/npm-repo"
How can i configure my machine to use AWS Codearticaft only to the projects i want?
Other Configurations:
My machine is a Windows 10, and i have aws-sdk installed globally with my credentials.