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 install fails with ERR_PNPM_PREPARE_PKG_FAILURE #5845
Comments
Using v7.19.0 still works for me |
yes, I saw this problem with v7.20.0 and reverted back to the last version I was sure it would work which is 7.11.0. Did not spend time testing other versions 🙂 Thanks for checking and letting me know @inglkruiz 🙌🏻 |
pnpm v7.20 runs the In your case, there is a githosted dependency, the ethereumjs-abi from https://github.com/ethereumjs/ethereumjs-abi |
@zkochan Thanks for letting me know. |
You have a git-hosted dependency that has a prepublishOnly script and uses yarn as a package manager. Installing Yarn globally might fix the issue. |
Also managed to resolve it by downgrading pnpm to 7.19.0, but a fix would be amazing. Also using |
This is still an issue for us, I'm using a git-hosted dependency with a
I downgraded to 7.19.0 but still failing. |
@carlos-mta closed issues receive less exposure and are unlikely to be spotted by maintainers. I suggest you open a new issue with minimal reproducable example and link it to this one as further reference. |
pnpm version: 7.20.0
Code to reproduce the issue:
https://github.com/web3ui/web3uikit this is the mono repo on which I am facing the issue
Expected behavior:
pnpm install
should install all dependencies without any errorActual behavior:
pnpm install
command fails with errors in GitHub actionAdditional information:
I have solved the issue with hardcoding the pnpm version to 7.11.0
Github actions run for node version 14 and 16 for windows,macOS and linux
node -v
prints: tried with 14 and 16The text was updated successfully, but these errors were encountered: