[BUG] Errors when installing a GitHub repo dependency with a prepare script using a command from a dev dependency #2084
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
Milestone
Current Behavior:
npm v7 errors when installing a GitHub repo dependency that has a
prepare
script that uses a command from a dev dependency. The command appears to be missing when run by theprepare
script.Expected Behavior:
npm v7 should be able to install GitHub repo dependencies that have a
prepare
script without an error, like npm v6 could.Steps To Reproduce:
Try
npm install
with thispackage.json
:Notice the error:
If you use npm v6.14.8, there is no error and the package successfully installs.
Environment:
The text was updated successfully, but these errors were encountered: