Closed joseluisgs closed 3 years ago
Ok, the fails is here: const languageColor = $(item) .find('.repo-language-color') .css( "background-color" );
Due to:
TypeError: Cannot read property 'attribs' of undefined
at getCss (/Users/link/Proyectos/gh-pinned-repos/node_modules/cheerio/lib/api/css.js:66:25)
at initialize.exports.css (/Users/link/Proyectos/gh-pinned-repos/node_modules/cheerio/lib/api/css.js:22:12)
at Object.
I think the problem is due to background color.
I remove language color and everything is ok!!!
Sometimes there is some projects that GitHub can't detect. I think is better insert try catch options.
There is 2 solutions: 1, in the projects without elemento, add in .gitattributes, for exampel language.
Hi
O have his response when I use: https://gh-pinned-repos.egoist.sh/?username=joseluisgs
This Serverless Function has crashed.
Your connection is working correctly.
Vercel is working correctly.
500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: cdg1::7znmw-1628181658492-353979fee031
If you are a visitor, contact the website owner or try again later. If you are the owner, learn how to fix the error and check the logs.