[BUG] npm install <folder> runs prepare #8121
Labels
Bug
thing that needs fixing
Documentation
documentation related issue
Priority 2
secondary priority issue
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Running
npm install ../../some/other/path/globals
will attempt to run globals'prepare
script.Expected Behavior
I would expect the script not to run, as the documentation for
prepare
says "Runs on local npm install without any arguments". This is not a local npm install witout any arguments - I view it the same asnpm install globals
, which does not runprepare
.Steps To Reproduce
globals
package somewherenpm install ../path/to/globals
to try to symlink itEnvironment
The text was updated successfully, but these errors were encountered: