Skip to content

Loading…

Not returning any rows #2

Open
ForbesLindesay opened this Issue · 5 comments

3 participants

@ForbesLindesay
Collaborator

It doesn't seem to be returning any rows, no matter what options I pass.

@rvagg
Owner

so.. yeah... I've had problems too, it'd be because of npmjs.org API instability as they reorganise basically everything about it. If you leave it running you'll probably find them coming in bursts but I'm not sure why yet and haven't had time to figure it out.

@ForbesLindesay
Collaborator

I think they might've changed the format for the keys. This seems to assume ISO8601 dates, while npm-tweets seems to use number of milliseconds since the unix epoch.

@rvagg
Owner

I'm going to add you as a repo collab in case you find the time to sort this out sooner than I do. I'm more than happy to take contributions on this.

@maxogden
Collaborator

in addition to the PR above I use these settings in browserify-cdn now and it works:

new NpmPublishStream({
        refreshRate: 2 * 60 * 1000,
        hostname: 'skimdb.npmjs.com',
        port: 443,
        protocol: 'https://'
      });
@rvagg
Owner

should be good to go now I believe @ForbesLindesay, could you try it out and close this issue if it's working for you now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.