-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] Preinstall script run after download dependencies #4067
Comments
I'm confused, because of there had #2660 before. But it seemed for release 7.x, so I open this issue. |
I'm confused, because I found that this bug has existed since 2015, and it still exists today. Why? |
I also have this problem. Last good npm version is 6.14.13, still broken in npm 8.5.0. I have a dependency on a local package In npm 6.14.13, this works correctly by first wiping out
I was following #2220, since that npm lifecycle bug also affected me. I can confirm that issue is fixed in 8.5.0 (postpack now runs in the correct order), but this issue still remains (preinstall still runs in the wrong order). |
Duplicate of #2660 |
it's time to use yarn |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When I execute
npm install
, It's download the dependencies first but notpreinstall
script.Expected Behavior
preinstall
script runinstall
Steps To Reproduce
package.json
with script setting"preinstall": "echo preinstall"
.npm install
in shell.Environment
The text was updated successfully, but these errors were encountered: