Comments (13)
@zkochan , @rstacruz , @gluxon , could anyone of you or the rest of the pnpm team help resolve this blocker ASAP? Thanks for your help!
from pnpm.
Is the current latest pnpm version (v8.15.1) the right version to try reproducing? The pnpm version in the issue report is blank. Giving a similar test on macOS, I don't see an ERR_PNPM_TARBALL_EXTRACT
error.
![Screenshot 2024-02-03 at 4 07 39 PM](https://private-user-images.githubusercontent.com/906558/302062545-4a553b5c-40e6-41a8-bb34-f767293ffd7b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM1MTM0NzIsIm5iZiI6MTcxMzUxMzE3MiwicGF0aCI6Ii85MDY1NTgvMzAyMDYyNTQ1LTRhNTUzYjVjLTQwZTYtNDFhOC1iYjM0LWY3NjcyOTNmZmQ3Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQxOVQwNzUyNTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MzRjZDMyMWUxMGY2NmM3NzAzOWEwYTNlMTAyZjNiNzRhZGIxYmI3ODViZGI0NTRhOThlODJhZDg1NzcwODIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.v_6F3vC6laqn5-02WHKz8DaHSA5A4qM7kVlPUCDRVks)
from pnpm.
I'm realizing others have seen this issue recently. #7529
There should be a bit more to the log output. Could that be shared? For example, others in the issue linked above are seeing:
ERR_PNPM_TARBALL_EXTRACT Failed to unpack the tarball from "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz":
TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))
ERR_PNPM_TARBALL_EXTRACT Failed to unpack the tarball from "https://[our_private_npm]/@yarnpkg/parsers/-/parsers-3.0.0-rc.48.1.tgz":
Error: Invalid checksum for TAR header at offset 208384. Expected 0, got 5578
Thanks!
from pnpm.
Is the current latest pnpm version (v8.15.1) the right version to try reproducing? The pnpm version in the issue report is blank. Giving a similar test on macOS, I don't see an
ERR_PNPM_TARBALL_EXTRACT
error.![]()
yes. pnpm 8.15.1 is the version where we ran into the issue @gluxon @zkochan
from pnpm.
Is the current latest pnpm version (v8.15.1) the right version to try reproducing? The pnpm version in the issue report is blank. Giving a similar test on macOS, I don't see an
ERR_PNPM_TARBALL_EXTRACT
error.![]()
It happens when we install pnpm and then install packages with pnpm install
from pnpm.
Thanks. How about the other question? Is there more to the ERR_PNPM_TARBALL_EXTRACT
error at the bottom of the pnpm install
log?
from pnpm.
here is a more in depth screenshot of the issue I'm facing when I run dlp-cli frontend install
from pnpm.
@gluxon see above ^^^
from pnpm.
Thanks. There's still a bit more that would be helpful to debug: The pnpm install
command will eventually fail and show more details about what caused ERR_PNPM_TARBALL_EXTRACT
. See #7529 for an example of more complete logs. The command is still running in the screenshots above.
I'm having trouble reproducing on my end, so help would be appreciated!
from pnpm.
Might be an issue with the registry. It is unlikely that pnpm would fail to extract so many different packages. I've seen this error in other issues and it is always only one of the packages that is broken somehow. So, my assumption is that this would also fail with npm CLI or Yarn.
To see the error earlier, you can set fetch-retries=0
in .npmrc
from pnpm.
![image](https://private-user-images.githubusercontent.com/73659149/304603641-4fae1107-a73c-4837-8f72-c14dbdab515e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM1MTM0NzIsIm5iZiI6MTcxMzUxMzE3MiwicGF0aCI6Ii83MzY1OTE0OS8zMDQ2MDM2NDEtNGZhZTExMDctYTczYy00ODM3LThmNzItYzE0ZGJkYWI1MTVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDE5VDA3NTI1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQyMDhkZjVjZTMzZmVkNTI0MzJkYzJiYTQxZTNkZDcwM2Q2OGY1NjFmYzM1NmIzOWIyYjJjZTdhMDgxNzk2MmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RyclMLqMe7P7WRX8jpsl3-DdWve1oPzC2gHWpRg8IXo)
Hey @zkochan and @gluxon, it was taking really long to generate but this is the error that's showing up at the end of the chain of warnings. Is there any way to fix this? We've already tried hard reseting our environment and pnpm.
from pnpm.
@Omanshb Is there anything strange about that file path or the folders leading up to it?
❯ cd ~/Library/pnpm/store/v3/files/78
❯ ls -l
I'm not sure what we're looking for specifically, but to seed a few questions:
- Does the file path exist? (I'm guessing it does not.)
- Is the parent folder owned by your user? (i.e.
omanshbainsla
) - Is the parent folder (or any leading up to it) owned by
admin
? I'd guess something like that could happen ifsudo pnpm install
was ran in the past. - Can you create files in that folder? I'd try
touch test && rm test
.
from pnpm.
We need to fix error reporting. Currently a lot of different unrelated errors are thrown with the ERR_PNPM_TARBALL_EXTRACT
error code. In this case the real error code is EACCESS
. As a result, people are posting unrelated issues to the same open issues.
from pnpm.
Related Issues (20)
- Installing pnpm v8.15.7 still installs `tar` version 6.2.0 instead of 6.2.1 HOT 7
- ERR_PNPM_OTHER_PM_EXPECTED This project is configured to use >=pnpm HOT 12
- Audit doesn't work with GitHub packages with version range
- pnpm v9 install failure when esbuild versions mismatch HOT 6
- Getting Error when cleaning up node_modules HOT 1
- Can't generate shell completion (install from standalone install script) HOT 1
- The PNPM publish command with a tarball file argument ignores the tarball file
- Issue with pnpmfileChecksum and frozen-lockfile HOT 19
- Overrides seem to not work on peer deps HOT 3
- create `.ps1` only when the user policy allows it HOT 3
- pnpm add no longer working in 9.x with sub packages HOT 2
- ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY with relative local dependency (difference between windows and linux CI?) HOT 7
- pnpm install --ignore-package-manager-version HOT 8
- Aliased packages are incorrectly resolved HOT 19
- pnpm v9 complains about ssh+git deps in lockfile v6 HOT 1
- `pnpm completion` command should not evaluate package.json `packageManager` field
- Request to add pnpm install --force as shorthand for pnpm install --no-frozen-lockfile
- pnpm completion should auto complete on scripts in package.json
- Your pnpm version is incompatible with "[email protected]([email protected])". HOT 4
- pnpm incorrectly gets wrong dependency HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnpm.