[BUG] the output of the publish and postpublished are mixed up #4861
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
The upload bar of the publish script keeps being updated while the
postpublish
scripts are running, resulting in garbled output:Here's a sample starting with four lines of adequate output then the rest where the progress bar is mixed with the postpublish output:
Expected Behavior
postpublish
should start whenpublish
is done.Steps To Reproduce
Create a package with a postinstall script that prints to stdout, run
npm publish
.Environment
The text was updated successfully, but these errors were encountered: