Node.js version mismatch for Next.js build&deploy from git
Due to the version mismatch, we could not deploy the application with cloudflare.
I have made a project on MacOS, uploaded(pushed) to git, and tried to build&deploy on CloudFlare without any environment setting changes.
build code :
npx @cloudflare/next-on-pages@1
(default value)3 Replies
Looks like build image on cloudflare (runtime v2) is using
Node.js 18.17.1
, this might be needed to be upgraded?For node version config options, see https://developers.cloudflare.com/pages/configuration/build-image/#languages-and-runtime
ooh there was a variable. didn't got that before. thanks!