[BUG] postinstall not exec when run npm install xxx, but npm install do #1732
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 6.x
work is associated with a specific npm 6 release
Current Behavior:
postinstall don't exec when run
npm install xxx
, but just runnpm install
trigger executionAND, script in node_modules/.hooks/postinstall will exec both in
npm install xxx
andnpm install
Expected Behavior:
postinstall exec too when run
npm install xxx
Steps To Reproduce:
package.json
script
Environment:
The text was updated successfully, but these errors were encountered: