javascriptnode.jsnpmaws-codeartifact

AWS Codeartifact npm private repository fail to download dependencies


I have this situation:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://my-domain-###########.d.codeartifact.us-east-1.amazonaws.com/npm/MyRepo/aws-sdk - Package, 'aws-sdk', not found.
npm ERR! 404 
npm ERR! 404  'aws-sdk@^2.1048.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Do you know what I do have to change to solve this issue?


Solution

  • Finally I could solve this issue. The solution is simple. I had to edit MyRepo and associate an Upstream repository to npm-store.