This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm v5: npm install-test
runs test lifecycle twice when package-lock is false.
#16940
Labels
As I hinted in #16843,
npm install-test
runs pretest twice.The following
package.json
:produces the following (correct) output with
npm it
:but produces the following (incorrect) output with
npm it --no-package-lock
:This probably overlaps with #16843 (since the second example incorrectly creates
package-lock.json
) but I thought it was worth filing separately.Also, please note - the shell prompt (
[shell prompt]$
) appears before the final output, indicating that something is being backgrounded but notwait
ed on.The text was updated successfully, but these errors were encountered: