Closed Mahmoudgalalz closed 1 year ago
Please see https://github.com/octokit/octokit.js/issues/2126 and https://github.com/octokit/core.js/issues/547
This is a known issue, hopefully removing node-fetch
will help, https://github.com/octokit/request.js/pull/586
For the mean time, switch your imports of Octokit to use esm.sh
:
import { Octokit } from "https://esm.sh/octokit@2";
GET https://esm.sh/v124/@octokit/auth-app@4.0.10/es2022/auth-app.mjs net::ERR_ABORTED 500
it give this error back, I tried it
That is a caching problem on their side, it's not loading the most recent version of @octokit/auth-app
.
I can probably push a fix for this to @octokit/app
and then here
I will try the solutions on the #2126
https://github.com/octokit/octokit.js/issues/2450 has a more up-to-date conversation, it tracks the CDN issue on our side
Please try this new release:
import { Octokit } from "https://esm.sh/octokit@2.0.19";
Thanks 🎉
What happened?
I'm trying to get access token for a Github app, in browser
Versions
Latest, Browser
Relevant log output
Code of Conduct