aws-samples / aws-samples/aws-codeartifact-samples

How to install package uploaded to CodeArtifact?

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I just created an npm package (using typescript and node18 ) and uploaded it to Code Artifact.

As stated in [this document][1] I used the following command to install the package

aws codeartifact login --tool npm --repository repoName --domain domainName --domain-owner

Instead I got `.npmrc` file and still can't use my package.

Any explanation why I'm still unable to use package or how can I do so?

Note: the domain name nor the repo are scoped

[1]: https://docs.aws.amazon.com/codeartifact/latest/ug/npm-auth.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.