Web App build failed due to: Failed to install Node.js version "20"


My build/deployment has been failing and here is the log:

12:49:56 PM: build-image version: fcb0c1b3ada6d25c1cb58e8bc514f5f23cc14f15 (focal)

12:49:56 PM: buildbot version: f395ea5f6f06715665ef60980f5ca024c32ca3b9

12:49:56 PM: Building without cache

12:49:56 PM: Starting to prepare the repo for build

12:49:56 PM: No cached dependencies found. Cloning fresh repo

12:49:56 PM: git clone --filter=blob:none https://github.com/Etourne-Organization/etourne-web-app

12:49:56 PM: Preparing Git Reference refs/heads/main

12:49:58 PM: Starting to install dependencies

12:49:58 PM: Python version set to 3.8

12:49:58 PM: Attempting Ruby version 2.7.2, read from environment

12:49:58 PM: Using Ruby version 2.7.2

12:49:59 PM: Started restoring cached go cache

12:49:59 PM: Finished restoring cached go cache

12:50:00 PM: go version go1.19.13 linux/amd64

12:50:01 PM: Using PHP version 8.0

12:50:01 PM: nvm is not compatible with the "PREFIX" environment variable: currently set to ">>"

12:50:01 PM: Run `unset PREFIX` to unset it.

12:50:02 PM: Downloading and installing node v20.11.1...

12:50:02 PM: Downloading https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz...

12:50:02 PM: Computing checksum with sha256sum

12:50:02 PM: Checksums matched!

12:50:04 PM: nvm is not compatible with the "PREFIX" environment variable: currently set to ">>"

12:50:04 PM: Run `unset PREFIX` to unset it.

12:50:04 PM: Failed to install Node.js version "20"

12:50:04 PM: Failing build: Failed to install dependencies

12:50:05 PM: Failed during stage "Install dependencies": dependency_installation script returned non-zero exit code: 1

I have created the Web App using Sveltekit in Node v20.11.0 environment. The app builds locally successfully.

Any assistance/guidance would be appreciated.


Ok the real issue was this ENV. I changed its name. This is fixed now.