-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: octokit doesn't imported correctly on an React App, with VITE #2459
Comments
Please see #2126 and octokit/core.js#547 This is a known issue, hopefully removing |
For the mean time, switch your imports of Octokit to use import { Octokit } from "https://esm.sh/octokit@2"; |
|
That is a caching problem on their side, it's not loading the most recent version of I can probably push a fix for this to |
I will try the solutions on the #2126 |
#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
The text was updated successfully, but these errors were encountered: