-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serverless 3.x installation fails in ADO release pipeline Ubuntu 20.04, Node 20.x all of a sudden #12959
Comments
I am facing the same issue in my pipelines during the installation step of Serverless. |
I am also facing the same issue since today. It was working fine till 13 Feb. Now even this combination is not working. Tried with latest version too, same issues. |
@sai097 @Rbanda52 @SThakur181 I couldn’t reproduce the issue on my end. Could you confirm if this issue is specific to Serverless, or if you’re encountering the same error when installing other npm packages? I’ve noticed similar TAR_BAD_ARCHIVE issues being reported in multiple repositories on GitHub (1, 2), so it might not be directly related to Serverless. |
@czubocha Thanks for checking. I only have one command in the ADO pipeline task which is the installation of Serverless through npm and I'm given this error. It certainly looks specific to Serverless in my case |
Thanks for the update, @sai097. While the error occurs during the installation of Serverless, it’s still unclear if this is specific to Serverless or a broader issue with npm or global installations. Could you try installing another package globally, such as |
I've tried replacing Serverless with different packages like typescript and they seem to be working fine. You're right about it being unclear if it's specific to Serverless but an observation is that the task succeeds when I don't specify the serverless version like "npm install serverless" but fails when the version is specified in the command |
This seems to be working for us after 14 hours of outage on AWS production environment |
Closing this as it’s caused by the ongoing npm registry outage: npm/cli#7986 |
Issue description
I'm using ADO release pipeline to deploy a service to AWS using Serverless. The deployments started failing all of a sudden today without revealing much information about what exactly went wrong.
Versions:
ADO Agent job - Ubuntu 20.04
Node - 20.10.0
Serverless - 3.30.1
Below is the error message I can see in the step when I have two commands running npm install and sudo npm install [email protected] -g
npm error code TAR_BAD_ARCHIVE
2024-12-16T18:03:18.7625035Z npm error TAR_BAD_ARCHIVE: Unrecognized archive format
Context
No response
The text was updated successfully, but these errors were encountered: