We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e6b82 commit f4d7166Copy full SHA for f4d7166
packages/next/src/build/webpack-config.ts
@@ -104,8 +104,10 @@ const NEXT_PROJECT_ROOT_DIST_CLIENT = path.join(
104
'client'
105
)
106
107
-if (parseInt(React.version) < 19) {
108
- throw new Error('Next.js requires react >= 19.0.0 to be installed.')
+if (React.version !== '19.0.0-rc-f994737d14-20240522') {
+ throw new Error(
109
+ `Next.js requires react 19.0.0-rc-f994737d14-20240522 to be installed. Got version '${React.version}' instead.`
110
+ )
111
}
112
113
export const babelIncludeRegexes: RegExp[] = [
0 commit comments