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

How to install package uploaded to CodeArtifact?

Offen
#1 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
9
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der verlinkten AWS CodeArtifact npm-Authentifizierungsdokumentation und untersuche die generierte .npmrc-Konfiguration. Reproduziere den Paketinstallationsablauf mit der angegebenen Einrichtung eines unscoped Repositorys und dokumentiere anschließend die fehlenden Schritte oder Konfigurationen, die erforderlich sind, damit das Paket erfolgreich installiert werden kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, nodejs, typescript
Bereich
cloud, devops
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.