Update Nodejs

I was trying to deploy my static nextjs app in the page from the github repo.But it say s
12:30:21.430 ▲ 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.
12:30:21.430 ▲ 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.
From where do i update this node.js or it is not possible?Need help.First time using cloudfare.
3 Replies
Jerico Aragon
Jerico Aragon4w ago
Hi
ilovemesomeramen
in your page settings add an environment variable called NODE_VERSION with the value 20
techysiddhant
techysiddhant4w ago
@myrex create a .node-version file in root and add node version in it and try to deploy again it will work

Did you find this page helpful?