Updates GitHub urls and adds a note about a Could not locate the repository error message

This commit is contained in:
Michael Novotny
2023-09-06 14:38:15 -05:00
parent 2b5500b841
commit d330f11ddd
4 changed files with 7 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ export default function Home() {
</a>
<a
href="https://github.com/vercel/next.js/tree/master/examples"
href="https://github.com/vercel/next.js/tree/canary/examples"
className={styles.card}
>
<h3>Examples &rarr;</h3>

View File

@@ -5,7 +5,7 @@
If you see an installation error for the following installation command:
```bash
npx create-next-app nextjs-blog --example "https://github.com/vercel/next-learn/tree/master/basics/learn-starter"
npx create-next-app nextjs-blog --example "https://github.com/vercel/next-learn/tree/main/basics/learn-starter"
```
Try removing everything after `nextjs-blog`:
@@ -14,4 +14,6 @@ Try removing everything after `nextjs-blog`:
npx create-next-app nextjs-blog
```
If that doesnt work either, please let us know in a [GitHub Issue](https://github.com/vercel/next-learn/issues) with the error text, your OS, and Node.js version (make sure your Node.js version 18 or higher).
A `Could not locate the repository` error message could be the result of your workplace or school network or proxy configuration. A temporary solution may be changing your network environment by disconnecting from your workplace or school VPN, using a VPN browser extension, or trying a different wifi connection.
If none of the steps above resolve your issue, please let us know in a [GitHub Issue](https://github.com/vercel/next-learn/issues) with the error text, your OS, and Node.js version (make sure your Node.js version 18 or higher).

View File

@@ -30,7 +30,7 @@ export default function Home() {
</a>
<a
href="https://github.com/vercel/next.js/tree/master/examples"
href="https://github.com/vercel/next.js/tree/canary/examples"
className={styles.card}
>
<h3>Examples &rarr;</h3>

View File

@@ -30,7 +30,7 @@ export default function Home() {
</a>
<a
href="https://github.com/vercel/next.js/tree/master/examples"
href="https://github.com/vercel/next.js/tree/canary/examples"
className={styles.card}
>
<h3>Examples &rarr;</h3>