Umi project not deploying, umi: command not found

Hi,
Am working umi js website, u have set the umi preset but the build still cannot find the umi command.


|13:15:11.776|Initializing build environment. This may take up to a few minutes to complete|
|---|---|
|13:18:02.821|Success: Finished initializing build environment|
|13:18:02.821|Cloning repository...|
|13:18:04.129|Success: Finished cloning repository files|
|13:18:04.252|Installing dependencies|
|13:18:04.255|Python version set to 2.7|
|13:18:05.406|v12.18.0 is already installed.|
|13:18:05.949|Now using node v12.18.0 (npm v6.14.4)|
|13:18:06.002|Started restoring cached build plugins|
|13:18:06.006|Finished restoring cached build plugins|
|13:18:06.148|Attempting ruby version 2.7.1, read from environment|
|13:18:07.254|Using ruby version 2.7.1|
|13:18:07.566|Using PHP version 5.6|
|13:18:07.602|5.2 is already installed.|
|13:18:07.608|Using Swift version 5.2|
|13:18:07.609|Installing Hugo 0.54.0|
|13:18:09.457|Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z|
|13:18:09.459|Started restoring cached go cache|
|13:18:09.462|Finished restoring cached go cache|
|13:18:09.495|go version go1.14.4 linux/amd64|
|13:18:09.500|go version go1.14.4 linux/amd64|
|13:18:09.502|Installing missing commands|
|13:18:09.502|Verify run directory|
|13:18:09.502|Executing user command: umi build|
|13:18:09.503|/opt/build/bin/build: line 39: umi: command not found|
|13:18:09.505|Failed: build command exited with code: 127|

Can you share what your build configuration looks like?

This looks like a bug… if there’s a preset it should work right away. Let me send this off to the team

1 Like

Hi,
As requested, here is my config:

Hi,
Any hopes on this issue?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

Hi,
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:

Hi any updates on this issue?

Hi,
Any hopes on this issue?