Denoify
HomeGitHub
  • 🚀Quick start
  • 🔀.deno.ts files
  • 🔧Build options
  • 🪄Special comments
  • 🔍Automatic discovery of ports
  • 📤Publishing on deno.land/x
  • 🆘Deal with GitHub API rate limit exceeded
  • 📚Other resources
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF

Deal with GitHub API rate limit exceeded

PreviousPublishing on deno.land/xNextOther resources

Last updated 2 years ago

Was this helpful?

If you run Denoify a lot outside of GitHub Actions pipelines you will eventually get the following error: RequestError [HttpError]: API rate limit exceeded for 176.170.197.165. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.). To fix it, and provide it as the environnement variable GITHUB_TOKEN when you run the build tool.

Example:

echo 'export GITHUB_TOKEN=ghp_xn8jsxZrUChs9nmfZPDSmxLrTJPVJy3Sxc5J' > ~/.bash_profile
source ~/.bash_profile
npx denoify
🆘
create a GitHub Personal Access Token