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 72d8d5b commit 5025713Copy full SHA for 5025713
packages/cloudflare/src/cli/build/build.ts
@@ -97,4 +97,13 @@ function ensureNextjsVersionSupported(options: buildHelper.BuildOptions) {
97
logger.error("Next.js version unsupported, please upgrade to version 14.2 or greater.");
98
process.exit(1);
99
}
100
+ // TODO: remove when 15.4 is supported
101
+ // Note: `e2e/experimental` is on 15.4.0-canary.14 which works
102
+ if (
103
+ !options.appPath.endsWith("opennextjs-cloudflare/examples/e2e/experimental") &&
104
+ buildHelper.compareSemver(options.nextVersion, ">=", "15.4.0")
105
+ ) {
106
+ logger.error("Next.js version unsupported, the latest supported version is 15.3");
107
+ process.exit(1);
108
+ }
109
0 commit comments