npm-trends
npm-trends copied to clipboard
Cors error in production for getting package info
Hello!
First of all, very good service! I often use it.
I go to https://www.npmtrends.com, enter some package name e.g. react and package info doesn't load. I see cors error in console.
Same here
Easy to reproduce the error from the CLI:
curl 'https://proxy.npmtrends.com/?url=https://api.npms.io/v2/package/fetch'
The error itself might not be CORS related; the type
shown in the object is the type of request made. It's just an internal server error (500).
I think this is related to github rate limit: https://github.com/johnmpotter/npm-trends/issues/116