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
ERR_PNPM_PREPARE_PKG_FAILURE undefined? #4128
Comments
Does this happen with pnpm v6.23.1? |
Thank you for your reply, I installed the latest pnpm version 6.24.0 today |
I was just wondering if this was introduced by this change #4044 so maybe you can try to downgrade and try with 6.23.1 |
You are right! Just now I rolled back the version to 6.23.1, 'pnpm install' executed successfully! |
And I installed version 6.24.0 on another windows computer, and I also get this error, maybe 6.24.0 has compatibility problems on windows systems |
I'm seeing the same error with pnpm 6.23.6 on Linux / NodeJS 14.17, and it seems to work with 6.23.1.
I executed the |
Try 6.24.1. It should print more info. |
I cannot reproduce the problem with 6.24.1 on the same repository anymore. |
I was able to reproduce the same |
I think the |
I am having the same issue while running this with github actions.
any ideas how to resolve this ? |
When you install a git-hosted dependency that is managed with Yarn, the yarn CLI is executed to build that dependency. So, you must have yarn installed on the system as well in that case. |
remove prepare in package.json since yarn will not run scripts for deps with direct GH sources. we install with pnpm, but: "When you install a git-hosted dependency that is managed with Yarn, the yarn CLI is executed to build that dependency. So, you must have yarn installed on the system as well in that case." from: pnpm/pnpm#4128 (comment)
Hey friends, When I use a new computer(windows 11, windows PowerShell) to configure the environment. At this time, ERR_PNPM_PREPARE_PKG_FAILURE undefined error occurred, how should I solve it? Thank you very much!
pnpm version:
6.24.0
Code to reproduce the issue:
Execute pnpm install as usual
Actual behavior:
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: C:\Users\Administrator.pnpm-store\v3
Virtual store is at: ../../node_modules/.pnpm
../.. | +2950 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERR_PNPM_PREPARE_PKG_FAILURE undefined
../.. | Progress: resolved 2927, reused 2908, downloaded 0, added 0
Additional information:
node -v
prints:node v14.18.2
The text was updated successfully, but these errors were encountered: