Comments (6)
Because the request of https://api.github.com reached the rate limit. create-next-app request api.github.com to check repo exists(SourceCode)
Quote from github doc:
For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.
You can query remaining ratelimit of your IP by curl -I https://api.github.com/users/octocat
. The best solution is using Basic Authentication or OAuth, unfortunately create-next-app doesn't recognize the auth parameter yet. Thus, maybe have to wait until the ratelimit reset.
@leerob When upper to the rate limit, how about giving a message and try to works with auth, or ignore the checking process just download the repo/example.
from next-learn.
@leerob still happening
from next-learn.
Hey! Thanks for opening an issue.
My guess is this was due to an intermittent connection issue with GitHub. I'm going to close this.
Could you please try again? If the issue persists, I'm happy to re-open and investigate further 🕵️
from next-learn.
I've also started running into this:
create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter-websockets trpc-prisma-starter-websockets
Could not locate the repository for "https://github.com/trpc/trpc". Please check that the repository exists and try again.
Example from this repo
from next-learn.
Has anyone found a solution to this? I'm also getting a message saying it could not locate the repository. When I ran curl -I https://api.github.com/users/octocat
it shows that
x-ratelimit-limit: 60 x-ratelimit-remaining: 59 x-ratelimit-reset: 1707178711 x-ratelimit-resource: core x-ratelimit-used: 1
from next-learn.
Can confirm it works after waiting for a bit.
A few minutes earlier:
x-ratelimit-limit: 60
x-ratelimit-remaining: 0
x-ratelimit-reset: 1708045637
Now:
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
x-ratelimit-reset: 1708049430
from next-learn.
Related Issues (20)
- Some file names are different HOT 1
- Improving accessibility chapter changes validated fields to safeParse() but doesn't mention parsing them out
- Cannot run seed.js HOT 2
- npm install Error when installing starter example project from learn section of nextjs
- [Learn/Dashboard] Chapter 11 Import file name inconsistence
- Error: yAxisLabels is not defined
- Chapter12 <EditInvoiceForm> is correct, not <Form>.
- I couldn't creat a next js in node HOT 2
- Docs: incorrect (or old?) links used in Learn Pages Router HOT 1
- Chapter 15 Adding Authentication, confusing code in part "Adding the sign in functionality"
- Partial Pre Rendering is not working on production when using searchParams in a rsc page as props
- chapter 15, how to change the matcher
- Chapter 7, revenue chart is not properly aligned HOT 1
- Chapter 15 not able to resolve '@/auth' HOT 1
- Chapter 6, data has been set, but not shown in browse. HOT 1
- Chapter 8: Question to the use of unstable_noStore() inside data access functions. HOT 1
- Chapter 11: Small typo `searchParams` should be `useSearchParams`
- [Next.js Learning Website] Missing nav-links.tsx File in Chapter 5: Navigating Between Pages HOT 2
- Docs: Chapter 8 Static and Dynamic Rendering
- Why we use unstable_noStore in chapter8 and use revalidatePath in chapter12? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-learn.