Skip to content
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

ERR_PNPM_TARBALL_EXTRACT in version 8.7.0 #6991

Closed
2 of 4 tasks
AminFazlMondo opened this issue Aug 27, 2023 · 11 comments · Fixed by #7013
Closed
2 of 4 tasks

ERR_PNPM_TARBALL_EXTRACT in version 8.7.0 #6991

AminFazlMondo opened this issue Aug 27, 2023 · 11 comments · Fixed by #7013

Comments

@AminFazlMondo
Copy link

AminFazlMondo commented Aug 27, 2023

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

8.7.0

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

We have a private scoped package from AWS CodeArtifact that I can install with 8.6.x but when it is in GitHub Action and using the lastest version 8, It errors.

Describe the Bug

Below is the message that we get in installing the dependencies step:

WARN  GET https://<ourOrg>-artifacts-***.d.codeartifact.ap-southeast-2.amazonaws.com/npm/***/***/***/-/***-2.92.4.tgz error (ERR_PNPM_TARBALL_EXTRACT). Will retry in 10 seconds. 2 retries left.

This will retry couple of times and then exits

Expected Behavior

Should install the package successfully.

Which Node.js version are you using?

18

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Ubuntu, GitHub Actions

@oculus42
Copy link

Related to #6761 ?

@zkochan
Copy link
Member

zkochan commented Aug 29, 2023

No, not related to that issue. See my comment #6761 (comment)

I am not sure I will be able to fix this issue fast. The easiest way for now would be to add a fallback and use the old extraction method if the new one fails.

@zkochan
Copy link
Member

zkochan commented Aug 31, 2023

🚢 8.7.1

@dante01yoon
Copy link

I'm getting struggle on ERR_PNPM_TARBALL_EXTRACT error occured
#7120

 GET https://custom.registry.net/artifactory/api/npm/npm-virtual/handlebars/-/handlebars-4.7.8.tgz error (ERR_PNPM_TARBALL_EXTRACT). Will retry in 1 minute. 1 retries left.
 ERR_PNPM_TARBALL_EXTRACT  Failed to unpack the tarball from "https://custom.registry.net/artifactory/api/npm/npm-virtual/coa/-/coa-1.0.4.tgz": incorrect data check

any relation with this?

@zkochan
Copy link
Member

zkochan commented Sep 21, 2023

I don't know
does it work with v8.6?

@zkochan
Copy link
Member

zkochan commented Sep 21, 2023

no, you issue has nothing to do with this because your issue is in 7.33.6

@Fish1
Copy link

Fish1 commented Oct 14, 2023

I am running into this issue with 8.9 for https://registry.npmjs.org/@devcontainers/cli/-/cli-0.52.0.tgz

 WARN  GET https://registry.npmjs.org/@devcontainers/cli/-/cli-0.52.0.tgz error (ERR_PNPM_TARBALL_EXTRACT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@devcontainers/cli/-/cli-0.52.0.tgz error (ERR_PNPM_TARBALL_EXTRACT). Will retry in 1 minute. 1 retries left.

@qingchuwudi
Copy link

I meet the same problem, and resolved with the command:

## prune old packages 
pnpm store prune
## find the path  and reomve it.
rm -rf `pnpm store path`
## reinstall
pnpm install

@karkir0003
Copy link

getting same issue with 8.15

@e-mannonen
Copy link

e-mannonen commented Feb 13, 2024

same problem, works with sudo tho

@miripiruni
Copy link

miripiruni commented Feb 19, 2024

… works with sudo tho

I think it's just retry for flaky behaviour…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants