npm / www

community space for the npm website
https://npm.community
69 stars 48 forks source link

Downloads per week counter is broken #424

Closed robcresswell closed 6 years ago

robcresswell commented 6 years ago

I checked my little side project and noticed the downloads per week had fallen from something like 1500 to 30; no big deal, its just a utility. Then I checked Vue and React, clearly major projects, and both of their downloads have also fallen off a cliff. Has some new caching mechanism come come online and stopped things being counted correctly? Or is the counter not working at all?

For reference:

Reinmar commented 6 years ago

Noticed that too (e.g. here https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-classic).

Reinmar commented 6 years ago

It's yet another issue in the last two weeks ;/ None of the issues was a complete disaster itself, but the frequency of them and little (or zero) response from your side leaves a terrible impression.

First, the registry went down. Then, readmes disappeared. Now, another issue.

hodgef commented 6 years ago

There's definitely an issue with the download counts. React for example currently shows just 6 downloads/week. I think the npm team should be more communicative about maintenance changes. They must have noticed this problem already yet we haven't heard back. They should definitely monitor the issue tracker more closely and not just the support email.

issue

hodgef commented 6 years ago

It seems npm has acknowledged the issue here: https://status.npmjs.org/incidents/b4ktc38pypd1 via @npmstatus on Twitter

jwalton commented 6 years ago

They added CloudFlare as a cache in front of the registry. This was the cause of most of the issues over the past few weeks, and I'm guessing is this cause of this also. There was a very interesting thread about this from one of the Yarn guys here.

Reinmar commented 6 years ago

This issue can be closed now.

robcresswell commented 6 years ago

Appears to be solved now. Unfortunately looks like the data couldn't be retroactively reclaimed, but I guess we'll keep that as the week that every web developer in the world took some holiday 😄

atomiks commented 6 years ago

I think it's broken again.