Skip to content
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

Unable to get next Libraries.io token from pool #9845

Closed
iccicci opened this issue Dec 26, 2023 · 4 comments
Closed

Unable to get next Libraries.io token from pool #9845

iccicci opened this issue Dec 26, 2023 · 4 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@iccicci
Copy link

iccicci commented Dec 26, 2023

Are you experiencing an issue with...

shields.io

🐞 Description

The badge renders with the error in subject rather the number of dependents

🔗 Link to the badge

https://img.shields.io/librariesio/dependents/npm/next-json?logo=npm

💡 Possible Solution

Drop Libraries.io and use npm as source of data

@iccicci iccicci added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Dec 26, 2023
Copy link
Contributor

Badge tested using npm run badge https://img.shields.io/librariesio/dependents/npm/next-json?logo=npm
Output is available here

@iccicci
Copy link
Author

iccicci commented Dec 28, 2023

This is not a question, this is the report of a problem in production.

Ok, the test passes, but (I guess) just because it uses a distinc pool of tokens from production.

@chris48s
Copy link
Member

I'm going to close this issue as a duplicate of #9839 - see there for more details.

In terms of

Drop Libraries.io and use npm as source of data

The badges we serve from https://img.shields.io/librariesio/... are always going to use libraries.io as the source of data.

If you wanted to also implement a NPM dependents badge that gets data from another source, that would be a different badge badge route and a different issue. Although I am not sure NPM actually expose that data via an API.

@chris48s chris48s closed this as not planned Won't fix, can't repro, duplicate, stale Dec 28, 2023
@iccicci
Copy link
Author

iccicci commented Dec 28, 2023

Hi @chris48s , thank you for you kind reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants