GitHub reademe Error: Please add an env variable called PAT_1 with your github token in vercel

huangapple go评论63阅读模式
英文:

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用户名]&amp;layout=compact&amp;langs_count=16&amp;theme=dracula"/>

但它现在显示:“出了点问题!请在https://tiny.one/readme-stats提出问题。超过了最大重试次数,请在vercel中添加一个名为PAT_1的环境变量,并附上您的GitHub令牌。”

英文:

I used this in my GitHub readme.

&lt;img align=&quot;center&quot; height=&quot;170&quot; src=&quot;https://github-readme-stats.vercel.app/api/top-langs/?username=[GitHub UserName]&amp;layout=compact&amp;langs_count=16&amp;theme=dracula&quot;/&gt;

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

我使用了这个并解决了问题。

GitHub reademe Error: Please add an env variable called PAT_1 with your github token in vercel

英文:

I used this and it resolved the problem.

&lt;img align=&quot;center&quot; height=&quot;170&quot; src=&quot;https://github-readme-stats-sigma-five.vercel.app/api/top-langs/?username=lucky-bruce&amp;layout=compact&amp;langs_count=16&amp;theme=dracula&quot;/&gt;

答案2

得分: 2

对于那些面临相同问题的人,你只需添加一个增加令牌的变量。

这是我在错误中遇到的情况:

&lt;a href=&quot;&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;https://github-readme-stats.vercel.app/api/top-langs/?username=YulietM&amp;theme=react&amp;line_height=40&amp;hide=css&quot;/&gt; &lt;/a&gt;

将 (sigma-five) 添加到 src URL 解决了这个问题 ->

&lt;a href=&quot;&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;https://github-readme-stats-sigma-five.vercel.app/api/top-langs/?username=YulietM&amp;theme=react&amp;line_height=40&amp;hide=css&quot;/&gt; &lt;/a&gt;

查看这里的原始答案

英文:

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:

&lt;a href=&quot;&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;https://github-readme-stats.vercel.app/api/top-langs/?username=YulietM&amp;theme=react&amp;line_height=40&amp;hide=css&quot;/&gt; &lt;/a&gt;

and adding (sigma-five) to src url solved the issue ->

&lt;a href=&quot;&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;https://github-readme-stats-sigma-five.vercel.app/api/top-langs/?username=YulietM&amp;theme=react&amp;line_height=40&amp;hide=css&quot;/&gt; &lt;/a&gt;

check here for original answer

答案3

得分: 0

我添加了(sigma-five),它也有效果。

英文:

I added (sigma-five) and it worked too

&lt;img align=&quot;center&quot; src=&quot;https://github-readme-stats-sigma-five.vercel.app/api/top-langs?username=muhd-dev&amp;langs_count=10&amp;show_icons=true&amp;locale=en&amp;layout=compact&amp;theme=dark&quot; alt=&quot;Top Languages&quot; height=&quot;192px&quot; width=&quot;500px&quot; /&gt;

huangapple
  • 本文由 发表于 2023年5月17日 20:44:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/76272260.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定