nodejs version incompatible cloudflare pages cli

nodejs version incompatible cloudflare pages cli
10 Replies
glitchdetected1
glitchdetected1OP3w ago
11:21:58.680 ▲ npm WARN EBADENGINE required: { node: '^18.18.0 || ^19.8.0 || >= 20.0.0' },
11:21:58.680 ▲ npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' }
11:21:58.680 ▲ npm WARN EBADENGINE }
11:21:59.357 ▲ up to date in 1s
11:21:59.357 278 packages are looking for funding
11:21:59.358 ▲ run `npm fund` for details
11:21:59.369 ▲ Detected Next.js version: 15.1.4
11:21:59.388 ▲ Running "npm run build"
11:21:59.734 > build
11:21:59.734 > next build
11:21:59.887 ▲ You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required.
11:21:59.904 ▲ Error: Command "npm run build" exited with 1
11:22:00.035
11:22:00.035 ⚡️ The Vercel build (`npx vercel build`) command failed. For more details see the Vercel logs above.
11:22:00.036 ⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
11:22:00.036
11:22:00.059 Failed: Error while executing user command. Exited with error code: 1
11:22:00.068 Failed: build command exited with code: 1
11:22:00.913 Failed: error occurred while running build command
11:21:58.680 ▲ npm WARN EBADENGINE required: { node: '^18.18.0 || ^19.8.0 || >= 20.0.0' },
11:21:58.680 ▲ npm WARN EBADENGINE current: { node: 'v18.17.1', npm: '9.6.7' }
11:21:58.680 ▲ npm WARN EBADENGINE }
11:21:59.357 ▲ up to date in 1s
11:21:59.357 278 packages are looking for funding
11:21:59.358 ▲ run `npm fund` for details
11:21:59.369 ▲ Detected Next.js version: 15.1.4
11:21:59.388 ▲ Running "npm run build"
11:21:59.734 > build
11:21:59.734 > next build
11:21:59.887 ▲ You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required.
11:21:59.904 ▲ Error: Command "npm run build" exited with 1
11:22:00.035
11:22:00.035 ⚡️ The Vercel build (`npx vercel build`) command failed. For more details see the Vercel logs above.
11:22:00.036 ⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
11:22:00.036
11:22:00.059 Failed: Error while executing user command. Exited with error code: 1
11:22:00.068 Failed: build command exited with code: 1
11:22:00.913 Failed: error occurred while running build command
is no one gonna help💀 absolutely f bs support
Cyb3r-Jak3
Cyb3r-Jak33w ago
Cloudflare Docs
Build image · Cloudflare Pages docs
Cloudflare Pages' build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go.
glitchdetected1
glitchdetected1OP3w ago
already set it in environment variables
Cyb3r-Jak3
Cyb3r-Jak33w ago
Did you set it for both preview and production?
glitchdetected1
glitchdetected1OP3w ago
yes
glitchdetected1
glitchdetected1OP3w ago
No description
glitchdetected1
glitchdetected1OP3w ago
works now ig
Walshy
Walshy3w ago
?discord-support
SuperHelpflare
This Discord is not an official support form. The Community Champions, community members and employees are here because they want to be not because they need to be. Please do not ping Community Champions or employees for support reasons. You can open a ticket on the Support Portal if you want official support.
Walshy
Walshy3w ago
We are not an official support form (or even one you can expect a reply in within 120 seconds) You can always upgrade to Business and use the official Live Chat.

Did you find this page helpful?