mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
# Summary Add missing comments path to which #61416 changed. ### Improving Documentation - [x] Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - [x] Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide Co-authored-by: JJ Kasper <[email protected]>
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
---
|
|
title: Version Staleness
|
|
---
|
|
|
|
## Why This Error Occurred
|
|
|
|
In the error overlay, a message was shown that the detected Next.js version was out-of-date.
|
|
|
|
To get the newest features and bug fixes, it is recommended to stay up to date.
|
|
|
|
## Possible Ways to Fix It
|
|
|
|
If you are testing out a canary release, upgrade Next.js with one of the following:
|
|
|
|
```bash filename="Terminal"
|
|
npm i next@canary
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
yarn add next@canary
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
pnpm add next@canary
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
bun add next@canary
|
|
```
|
|
|
|
If you are using a stable release, upgrade Next.js with one of the following:
|
|
|
|
```bash filename="Terminal"
|
|
npm i next@latest
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
yarn add next@latest
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
pnpm add next@latest
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
bun add next@latest
|
|
```
|
|
|
|
If you are coming from an older major version, check out our [upgrade guides](/docs/pages/building-your-application/upgrading).
|
|
|
|
### Note
|
|
|
|
If you want to report a bug on GitHub, you should upgrade to the newest canary release of Next.js first, to see if the bug has already been fixed in canary.
|
|
|
|
## Useful Links
|
|
|
|
- [Upgrade guide](/docs/pages/building-your-application/upgrading)
|
|
- [Video: How to Contribute to Open Source (Next.js)](https://www.youtube.com/watch?v=cuoNzXFLitc)
|
|
- [Contributing to Next.js](https://github.com/vercel/next.js/blob/canary/contributing.md)
|
|
- [Triaging issues](https://github.com/vercel/next.js/blob/canary/contributing/repository/triaging.md)
|
|
- [Verifying canary](https://github.com/vercel/next.js/blob/canary/.github/comments/verify-canary.md)
|
|
- [Adding a reproduction](https://github.com/vercel/next.js/blob/canary/.github/comments/invalid-reproduction.md)
|
|
- [Simplifying a reproduction](https://github.com/vercel/next.js/blob/canary/.github/comments/simplify-reproduction.md)
|