Back to Next Js

Version Staleness

errors/version-staleness.mdx

16.2.81.7 KB
Original Source

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
npm i next@canary
bash
yarn add next@canary
bash
pnpm add next@canary
bash
bun add next@canary

If you are using a stable release, upgrade Next.js with one of the following:

bash
npm i next@latest
bash
yarn add next@latest
bash
pnpm add next@latest
bash
bun add next@latest

If you are coming from an older major version, check out our upgrade guides.

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.