Pages can't seem install nodejs

Is there a problem with pages, because it can't seem to install nodejs
No description
4 Replies
Chaika
Chaika14mo ago
Nodejs download server is just unstable. If you set your nodejs version to the latest version of a major, i.e 17 and are using Build Image v2, it should use the preinstalled one rather then trying to download it
AZ Software
AZ SoftwareOP14mo ago
is there a way to set it to use 18? thanks btw
Chaika
Chaika14mo ago
Yea, you can just set 18 in environment variable NODE_VERSION, or use the .nvmrc .node-version files, iirc the files have priorty. Any of the latest versions are supported with Pages: https://developers.cloudflare.com/pages/platform/language-support-and-tools/
Language support and tools · Cloudflare Pages docs
Cloudflare Pages’ build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go.
AZ Software
AZ SoftwareOP14mo ago
Thank you!
Want results from more Discord servers?
Add your server