NPM v7 breaks modules that rely on querying the user during install with an install script #3116
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
Running with node v14 or v15 and npm v7, I'm finding that the "install" script of the modules being installed don't run if "npm install" is run in the directory of the dependent module. This is a huge problem.
Current Behavior:
Install script doesn't run. Module's third party library is not downloaded.
Expected Behavior:
Install script runs like in npm v6, allowing user to configure and download third party library.
Steps To Reproduce:
Very simple to reproduce:
The message "FOOBAR!!!" never appears with npm v7, whereas it does with npm v6 and node v14.
Environment:
The text was updated successfully, but these errors were encountered: