[BUG] npm install script not working when I run npm install as dependency #3056
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
npm install script defined in
package.json
not running when I donpm install <packg>
to install<packg>
as dependencyExpected Behavior:
npm install command should run
install
scriptSteps To Reproduce:
I created a npm package named
cordova-import-npm
with this script portion inpackage.json
:When I run
npm install .
inside the root of the package it worksBut when I install as dependency on another package, the script is not run
I'm using the latest version of npm 7.9.0
Environment:
The text was updated successfully, but these errors were encountered: