New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
miss activity indicator and stats #1251
Comments
ref #1021 What activity indicator you mean? The numbers in the stats are changing during install. And the stats of added/removed packages are printed |
I mean stats like |
When big tarballs are downloaded (>=5MB), their download progress is reported: There is this idea by @vjpr for logging packages that are being downloaded for X seconds. However, the packages that are slow to download are those that are big (related #1131). So probably we'll end up with an additional logging for big tarballs. I think what we can do is log the HTTP issues that happen during installation. pnpm will retry downloading of packages if a timeout happens or an invalid tarball is returned or a 500 is responded, etc. So it would look like
Also, I suggest to keep only the last 3 issues because with bad internet connection the output will get messy. |
Sounds very good and helpful. Is the progress only for tarballs > 5MB available and can this threshold be set? |
It is currently hardcoded here: https://github.com/pnpm/pnpm/blob/master/packages/default-reporter/src/reporterForClient.ts#L31 I don't have objection making it configurable but be aware that too much logging also causes slow down. |
Right, I totally agree with you regarding this. |
As info, this is the output in mingw64 on Windows (the Git bash). No progress bar =/
|
Closing as I am not actively working with Node on macOS anymore and this might have already changed in newer releases and this could be obsolete / resolved now. |
pnpm version:
2.9.0
I currently miss some activity indicator on the terminal (like it is done with yarn and npm) during installs.
Also I would like to see how long an install has taken (stats).
Expected behavior:
There should be an info about how long an install took and if something is happening.
Actual behavior:
There is no activity indicator in terminal on macOSX (zsh) and no stats info.
Additional information:
node -v
prints: 10.1.0The text was updated successfully, but these errors were encountered: