-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Packages that use pinst are broken when they are installed with npm 10.4.0 and later #23
Comments
Thanks for letting me know! I hope it'll get resolved soon. |
It should have a low impact as pinst is useful for yarn in particular |
Unfortunately the problem occurs at package installation time, so it affects packages built with yarn if the end user installs them with npm. Some of my packages use yarn and pinst, and if you install those packages as a dependency in another project with npm 10.4.0+, then npm will try to run the |
You're right, didn't see things from this point |
Hi @typicode. The above description of this problem is not accurate, but there is a problem you ought to know about. I've emailed you privately about this for reasons that will become apparent when you read the email. Please be on the lookout for an email from mail@danielcassidy.me.uk. Closing this issue for now. |
Hello.
Just a heads up that npm 10.4.0 and later seem to have broken pinst. It seems that npm 10.4.0 runs scripts named
_postinstall
after package installation exactly as if they were namedpostinstall
.This seems to be a bug in npm, but I am reporting it here for visibility. See npm/cli#7322.
The text was updated successfully, but these errors were encountered: