Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 627 Bytes

invalid-webpack-5-version.md

File metadata and controls

13 lines (7 loc) · 627 Bytes

Invalid webpack 5 version

Why This Error Occurred

While leveraging webpack 5 support in Next.js the minimum required version of v5.15.0 was not met. This version is needed while leveraging webpack 5 support with Next.js as early versions are missing patches that cause unexpected behavior.

Possible Ways to Fix It

Upgrade the version of webpack 5 being used with Next.js to at least v5.15.0 by updating your resolutions field for webpack in your package.json.

Useful Links