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
pnpm 6.23.3+ fails to install devDependency with github: protocol in a monorepo #4064
Comments
here's the debug log with from an install with 6.23.5 |
I'm having the same issue on Node 14 and AWS CodeBuild:
|
I'm able to reproduce this with a {
"devDependencies": {
"action-deploy-docs": "github:sveltejs/action-deploy-docs#main"
}
} but not with another unrelated personal project that uses different |
I am not sure what happened but I changed latest to 6.23.1 for now. |
This is a regression caused by #4044 Specifically, because I removed the temp locations of the cloned git repositories even though their linking to the store did not finish. I guess the repositories in the tests are very small, that is why they passed. |
thank you for being so on top of things. 💯 |
pnpm version: 6.23.3 +
Code to reproduce the issue:
pnpm install
with pnpm >= 6.23.3 and an empty storeExpected behavior:
installation succeeds like it did in previous versions of pnpm
Actual behavior:
install fails with an ENOENT error for pnpm 6.23.3 or later
The missing file originates in a dependency declared with
github:
protocol. We already tried to improve its package.json by adding a files section but it did not help.https://github.com/sveltejs/kit/blob/master/package.json#L35
https://github.com/sveltejs/action-deploy-docs
Additional information:
node -v
prints: 16.13.0happened for others too and also on github actions https://github.com/dominikg/svelte-vite-integration-test/runs/4401857216?check_suite_focus=true#step:12:20
here is a shell script i've used to run install with different pnpm versions and a fresh store for each
The text was updated successfully, but these errors were encountered: