英文:
GitHub reademe Error: Please add an env variable called PAT_1 with your github token in vercel
问题
我在我的GitHub自述文件中使用了这个。
<img align="center" height="170" src="https://github-readme-stats.vercel.app/api/top-langs/?username=[GitHub用户名]&layout=compact&langs_count=16&theme=dracula"/>
但它现在显示:“出了点问题!请在https://tiny.one/readme-stats提出问题。超过了最大重试次数,请在vercel中添加一个名为PAT_1的环境变量,并附上您的GitHub令牌。”
英文:
I used this in my GitHub readme.
<img align="center" height="170" src="https://github-readme-stats.vercel.app/api/top-langs/?username=[GitHub UserName]&layout=compact&langs_count=16&theme=dracula"/>
But it says now, "Something went wrong! file an issue at https://tiny.one/readme-stats Maximum retries exceeded Please add an env variable called PAT_1 with your github token in vercel"
答案1
得分: 7
我使用了这个并解决了问题。
英文:
I used this and it resolved the problem.
<img align="center" height="170" src="https://github-readme-stats-sigma-five.vercel.app/api/top-langs/?username=lucky-bruce&layout=compact&langs_count=16&theme=dracula"/>
答案2
得分: 2
对于那些面临相同问题的人,你只需添加一个增加令牌的变量。
这是我在错误中遇到的情况:
<a href=""><img align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=YulietM&theme=react&line_height=40&hide=css"/> </a>
将 (sigma-five) 添加到 src URL 解决了这个问题 ->
<a href=""><img align="center" src="https://github-readme-stats-sigma-five.vercel.app/api/top-langs/?username=YulietM&theme=react&line_height=40&hide=css"/> </a>
英文:
For those who are facing the same issue you should only add a variable increasing the token's
This is what I had with the error:
<a href=""><img align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=YulietM&theme=react&line_height=40&hide=css"/> </a>
and adding (sigma-five) to src url solved the issue ->
<a href=""><img align="center" src="https://github-readme-stats-sigma-five.vercel.app/api/top-langs/?username=YulietM&theme=react&line_height=40&hide=css"/> </a>
答案3
得分: 0
我添加了(sigma-five),它也有效果。
英文:
I added (sigma-five) and it worked too
<img align="center" src="https://github-readme-stats-sigma-five.vercel.app/api/top-langs?username=muhd-dev&langs_count=10&show_icons=true&locale=en&layout=compact&theme=dark" alt="Top Languages" height="192px" width="500px" />
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论