2023-07-05 15:11:16 +02:00
---
title: Version Staleness
---
2023-02-17 16:18:28 +01:00
2023-07-05 15:11:16 +02:00
## Why This Error Occurred
2023-02-17 16:18:28 +01:00
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.
2023-07-05 15:11:16 +02:00
## Possible Ways to Fix It
2023-02-17 16:18:28 +01:00
If you are testing out a canary release, upgrade Next.js with one of the following:
2023-07-05 15:11:16 +02:00
```bash filename="Terminal"
2023-02-17 16:18:28 +01:00
npm i next@canary
```
2023-07-05 15:11:16 +02:00
```bash filename="Terminal"
2023-02-17 16:18:28 +01:00
yarn add next@canary
```
2023-07-05 15:11:16 +02:00
```bash filename="Terminal"
2023-02-17 16:18:28 +01:00
pnpm add next@canary
```
If you are using a stable release, upgrade Next.js with one of the following:
2023-07-05 15:11:16 +02:00
```bash filename="Terminal"
2023-02-17 16:18:28 +01:00
npm i next@latest
```
2023-07-05 15:11:16 +02:00
```bash filename="Terminal"
2023-02-17 16:18:28 +01:00
yarn add next@latest
```
2023-07-05 15:11:16 +02:00
```bash filename="Terminal"
2023-02-17 16:18:28 +01:00
pnpm add next@latest
```
2023-07-05 15:11:16 +02:00
If you are coming from an older major version, check out our [upgrade guides](/docs/pages/building-your-application/upgrading).
2023-02-17 16:18:28 +01:00
### 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.
2023-07-05 15:11:16 +02:00
## Useful Links
2023-02-17 16:18:28 +01:00
2023-07-05 15:11:16 +02:00
- [Upgrade guide](/docs/pages/building-your-application/upgrading)
2023-02-17 16:18:28 +01:00
- [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)
2023-04-24 22:03:44 +02:00
- [Verifying canary](https://github.com/vercel/next.js/blob/canary/.github/actions/issue-validator/canary.md)
2023-02-17 16:18:28 +01:00
- [Adding a reproduction](https://github.com/vercel/next.js/blob/canary/.github/actions/issue-validator/repro.md)