Questions tagged [aws-codeartifact]
132 questions
1
vote
0 answers
How to login to AWS CodeArtifact before npm installs
How can I trigger the login before the install script in node v18.12.1/npm 8.19.2?
I expect the npm preinstall script will run before the install script based on the documentation. When running node v14.21.1/npm 6.14.17 I was able to follow the…

amacfarlane
- 43
- 5
1
vote
1 answer
How to get Pypi package Info from AWS Codeartifact
I have a requirement to get package details without actually installing it, for this thing we have a JSON API in pypi, but in AWS Codeartifact I didn't find any such thing.
In the Pypi JSON API we can just look at the specific paths for package…

DilLip_Chowdary
- 841
- 4
- 18
1
vote
0 answers
Cannot install npm package from CodeArtifacts
I store my npm package in private repo inside CodeArtifacts. My package uses a bunch of external dependencies.
package.json
"dependencies": {
"dayjs": "^1.11.3",
"lodash.merge": "^4.6.2",
"maska": "^1.5.0",
"nanoid":…

Andrew
- 701
- 1
- 8
- 19
1
vote
0 answers
Unable to push Nuget symbol package to CodeArtifact
I'm new to CI pipelines but I didn't find any proper solution for this one. I'm building my solution to generate Nuget and Nuget symbol packages and push them to AWS CodeArtifact but it looks like every time the git action runner tries to push the…

dark_cypher
- 68
- 7
1
vote
0 answers
Yarn global add doesn't work with aws codeartifact
I configured aws codeArtifact to host my private npm packages. Everything works well, except when I try a to install something globally:
yarn global add serve
yarn global v1.22.4 [1/4] Resolving packages...
error An unexpected error…

Nemus
- 1,322
- 2
- 23
- 47
1
vote
0 answers
Unable to load the service index for source error for a CodeArtifact feed using a Dockerfile
It's my first question here so let me know if I have to change something or add more information.
We’re using AWS CodeArtifact for storing our packages and when we try to build a Docker image from our Dockerfile it fails because it's unable to load…

Elián Rodríguez
- 23
- 3
1
vote
1 answer
npm publish for a package to AWS CodeArtifact repo fails with error "The provided package is configured to block new version publishes."
I've created an AWS CodeArtifact repository with an upstream connection to npmjs.com. After installing the latest publicly available version of the lodash package (4.17.21), I tried to publish a self-patched version to the repository (4.17.50). When…

BPotocki
- 86
- 5
1
vote
0 answers
I have a repository in AWS codeartifact. I want to retrieve a jar from the repository in my sbt project
I have a repository in AWS codeartifact, i'm able to publish jars there successfully. Now, i want to retrieve that jar in my sbt project. Trying this in local gives me not found.
In order for my local project to be able to retrieve from codeArtifact…

tushar gupta
- 11
- 2
1
vote
1 answer
AWS CodeArtifact for Ruby gems
Based on the AWS CodeArtifact FAQ https://aws.amazon.com/codeartifact/faq/ I do not see Ruby gems in the list of features. Is it possible to use AWS CodeArtifact instead of Gemfury?

alexanoid
- 24,051
- 54
- 210
- 410
1
vote
0 answers
Can't make Elastic Beanstalk work with AWS Codeartifact
So the problem is pretty simple - I've set up the IAM roles, created a prebuild hook, ensured that it runs, but when I try to log in to the AWS CodeArtifact during deployment it fails with an exit status 243 and no additional info whatsoever
Maybe…

Alexandr T
- 11
- 1
1
vote
1 answer
AWS CodeArtifact is returning 401 in CodePipeline
My project uses a library from AWS CodeArtifact. I can fetch the library and build the project in my local and in the github build. When the AWS CodePipeline runs in our Dev environment, CodeArtifact returns a 401 when trying to access the…

BiancaMeier
- 11
- 3
1
vote
1 answer
PyCharm poetry.lock failing due to private aws codeartifact repository
I've set up my project in PyCharm to use poetry and have a private repository in AWS CodeArtifact that I need to reference. Manually I got that working and the install/lock process works fine via terminal. However, if I use the built in poetry…

OpenDataAlex
- 1,375
- 5
- 19
- 39
1
vote
0 answers
Export CODEARTIFACT_AUTH_TOKEN when MFA is enabled
I am logged in with AWS Access Key ID and AWS Secret Access Key in the terminal. But when i am running the command:
export CODEARTIFACT_AUTH_TOKEN=`aws codeartifact get-authorization-token --domain XXXXXXXXXXX --domain-owner XXXXXXXXXXXX --query…

dogTheCode
- 11
- 2
1
vote
0 answers
Can you use AWS CodeArtifact as PowerShell module repository
I would like to use AWS CodeArtifact as a repository for PowerShell modules.
I want to be able to use Register-PSRepository to register the repo, Publish-Module to publish and Install-Module to install etc.
I have the NuGet URL for my repo, but I…

Ronzan
- 118
- 1
- 7
1
vote
1 answer
AWS SSO and CodeArtifact Login requires manual config file changes for Region
When I run
AWS SSO Login --Profile Default
on my machine if my .aws/config file is not set to a Default region of us-east-1 I get "Invalid Grant" When the Browser opens to authenticate. When I set the config region to us-west-2 I can…

Ray Koren
- 814
- 14
- 25