Cloudflare pages umi not found

I am getting an error umi not found when trying to compile umi under cloudflare pages. Here are the logs:

13:39:14.511	Initializing build environment. This may take up to a few minutes to complete
13:41:35.020	Success: Finished initializing build environment
13:41:35.020	Cloning repository...
13:41:38.469	Success: Finished cloning repository files
13:41:39.454	Installing dependencies
13:41:39.457	Python version set to 2.7
13:41:40.830	v12.18.0 is already installed.
13:41:41.361	Now using node v12.18.0 (npm v6.14.4)
13:41:41.406	Started restoring cached build plugins
13:41:41.410	Finished restoring cached build plugins
13:41:41.544	Attempting ruby version 2.7.1, read from environment
13:41:42.633	Using ruby version 2.7.1
13:41:42.906	Using PHP version 5.6
13:41:42.941	5.2 is already installed.
13:41:42.947	Using Swift version 5.2
13:41:42.947	Installing Hugo 0.54.0
13:41:43.618	Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
13:41:43.620	Started restoring cached go cache
13:41:43.624	Finished restoring cached go cache
13:41:43.651	go version go1.14.4 linux/amd64
13:41:43.656	go version go1.14.4 linux/amd64
13:41:43.658	Installing missing commands
13:41:43.658	Verify run directory
13:41:43.658	Executing user command: umi build
13:41:43.659	/opt/build/bin/build: line 39: umi: command not found
13:41:43.660	Failed: build command exited with code: 127

Here also is my build configuration:

This is also a follow up of my other closed question, it was closed before the issue was resolved:

A post was merged into an existing topic: Umi project not deploying, umi: command not found