I decided to try running my Jekyll website off of the new Cloudflare Pages, but it doesn’t seem to get far in the build.
After selecting my GitHub repository, I picked the Jekyll preset (which sets the build command to
jekyll build and the output directory to
_site/. When the build ran, however, it didn’t seem to even have Jekyll installed to run:
11:14:35.768 Initializing build environment 11:17:13.897 Finished 11:17:13.897 Cloning repo 11:17:25.525 Finished 11:17:26.285 Installing dependencies 11:17:26.287 Python version set to 2.7 11:17:27.633 v12.18.0 is already installed. 11:17:28.164 Now using node v12.18.0 (npm v6.14.4) 11:17:28.202 Started restoring cached build plugins 11:17:28.206 Finished restoring cached build plugins 11:17:28.329 Attempting ruby version 2.7.1, read from environment 11:17:29.352 Using ruby version 2.7.1 11:17:29.633 Using PHP version 5.6 11:17:29.661 5.2 is already installed. 11:17:29.667 Using Swift version 5.2 11:17:29.667 Installing Hugo 0.54.0 11:17:31.487 Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z 11:17:31.488 Started restoring cached go cache 11:17:31.491 Finished restoring cached go cache 11:17:31.517 go version go1.14.4 linux/amd64 11:17:31.522 go version go1.14.4 linux/amd64 11:17:31.523 Installing missing commands 11:17:31.523 Verify run directory 11:17:31.523 Executing user command: jekyll build 11:17:31.524 /opt/build/bin/build: line 39: jekyll: command not found 11:17:31.525 Failed: build command exited with code: 127
Am I doing something wrong? Do I need to perform an extra step to get Jekyll installed?
(For reference, this site successfully builds and runs locally, and is currently building properly on Github Pages).