-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
No response
Which area(s) of pnpm are affected? (leave empty if unsure)
Dependencies resolver
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
- Create a package (can be empty) with the following manifest:
{ "name": "pnpm-repro", "version": "1.0.0", "dependencies": { "@mui/monorepo": "https://github.com/michaldudak/material-ui.git#npm-publishing/markdown" } }
pnpm i
Describe the Bug
The following errors are printed to the console:
WARN GET https://github.com/michaldudak/material-ui.git#npm-publishing/markdown error (ERR_PNPM_TARBALL_EXTRACT). Will retry in 10 seconds. 2 retries left.
WARN GET https://github.com/michaldudak/material-ui.git#npm-publishing/markdown error (ERR_PNPM_TARBALL_EXTRACT). Will retry in 1 minute. 1 retries left.
ERR_PNPM_TARBALL_EXTRACT Failed to unpack the tarball from "https://github.com/michaldudak/material-ui.git#npm-publishing/markdown": Error: Invalid checksum for TAR header at offset 0. Expected NaN, got 42982
Expected Behavior
The package is installed without errors.
Note that installing https://github.com/michaldudak/material-ui.git#markdown-package
, which points to the exact same commit succeeds. This leads me to believe there's an issue with resolving branches having a slash in their name. I confirmed this with another branch with a slash.
Which Node.js version are you using?
20.9.0
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)
No response
vudsen