Skip to content

Commit

Permalink
Updates GitHub urls and adds a note about a `Could not locate the rep…
Browse files Browse the repository at this point in the history
…ository` error message
  • Loading branch information
manovotny committed Sep 6, 2023
1 parent 5a9bee2 commit e363b73
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion basics/assets-metadata-css-starter/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 4 additions & 2 deletions basics/errors/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand All @@ -14,4 +14,6 @@ Try removing everything after `nextjs-blog`:
npx create-next-app nextjs-blog
```

If that doesn’t 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).
2 changes: 1 addition & 1 deletion basics/learn-starter/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion basics/navigate-between-pages-starter/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e363b73

Please sign in to comment.