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

How to install package uploaded to CodeArtifact?

Aperta
#1 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
9
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.