Code Monkey home page Code Monkey logo

Comments (13)

karkir0003 avatar karkir0003 commented on June 18, 2024

@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.

gluxon avatar gluxon commented on June 18, 2024

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

from pnpm.

gluxon avatar gluxon commented on June 18, 2024

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.

karkir0003 avatar karkir0003 commented on June 18, 2024

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

yes. pnpm 8.15.1 is the version where we ran into the issue @gluxon @zkochan

from pnpm.

karkir0003 avatar karkir0003 commented on June 18, 2024

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

It happens when we install pnpm and then install packages with pnpm install

from pnpm.

gluxon avatar gluxon commented on June 18, 2024

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.

Omanshb avatar Omanshb commented on June 18, 2024

image

here is a more in depth screenshot of the issue I'm facing when I run dlp-cli frontend install

from pnpm.

karkir0003 avatar karkir0003 commented on June 18, 2024

@gluxon see above ^^^

from pnpm.

gluxon avatar gluxon commented on June 18, 2024

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.

zkochan avatar zkochan commented on June 18, 2024

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.

Omanshb avatar Omanshb commented on June 18, 2024
image

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.

gluxon avatar gluxon commented on June 18, 2024

@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 if sudo pnpm install was ran in the past.
  • Can you create files in that folder? I'd try touch test && rm test.

from pnpm.

zkochan avatar zkochan commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.