Closed jesb1n closed 2 years ago
Cloudflare uses a really outdated version Hugo by default. Try adding the HUGO_VERSION
environment variable with the value 0.96.0
. I don't think this will solve your issue, but it's worth a try and something is you should do anyway.
Yes. Tried the same and its working now. Thank you.
19:52:59.639 Initializing build environment. This may take up to a few minutes to complete
19:53:01.613 Success: Finished initializing build environment
19:53:01.613 Cloning repository...
19:53:03.529 Success: Finished cloning repository files
19:53:03.788 Installing dependencies
19:53:03.801 Python version set to 2.7
19:53:07.786 v12.18.0 is already installed.
19:53:09.219 Now using node v12.18.0 (npm v6.14.4)
19:53:09.563 Started restoring cached build plugins
19:53:09.580 Finished restoring cached build plugins
19:53:10.286 Attempting ruby version 2.7.1, read from environment
19:53:16.265 Using ruby version 2.7.1
19:53:16.632 Using PHP version 5.6
19:53:16.805 5.2 is already installed.
19:53:16.833 Using Swift version 5.2
19:53:16.835 Started restoring cached node modules
19:53:16.855 Finished restoring cached node modules
19:53:17.098 Installing NPM modules using NPM version 6.14.4
19:53:18.071 npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
19:53:21.095 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
19:53:21.095 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
19:53:21.096
19:53:21.098 added 138 packages from 138 contributors and audited 139 packages in 3.067s
19:53:21.147
19:53:21.147 17 packages are looking for funding
19:53:21.147 run `npm fund` for details
19:53:21.147
19:53:21.147 found 2 vulnerabilities (1 moderate, 1 critical)
19:53:21.147 run `npm audit fix` to fix them, or `npm audit` for details
19:53:21.163 NPM modules installed
19:53:21.530 Installing Hugo 0.96.0
19:53:22.824 hugo v0.96.0-2fd4a7d3d6845e75f8b8ae3a2a7bd91438967bbb+extended linux/amd64 BuildDate=2022-03-26T09:15:58Z VendorInfo=gohugoio
19:53:22.830 Started restoring cached go cache
19:53:22.854 Finished restoring cached go cache
19:53:23.021 go version go1.14.4 linux/amd64
19:53:23.043 go version go1.14.4 linux/amd64
19:53:23.047 Installing missing commands
19:53:23.048 Verify run directory
19:53:23.048 Executing user command: hugo
19:53:23.105 Start building sites …
19:53:23.106 hugo v0.96.0-2fd4a7d3d6845e75f8b8ae3a2a7bd91438967bbb+extended linux/amd64 BuildDate=2022-03-26T09:15:58Z VendorInfo=gohugoio
19:53:23.117
19:53:23.117 | EN
19:53:23.117 -------------------+-----
19:53:23.117 Pages | 2
19:53:23.117 Paginator pages | 0
19:53:23.117 Non-page files | 0
19:53:23.117 Static files | 7
19:53:23.117 Processed images | 0
19:53:23.117 Aliases | 0
19:53:23.117 Sitemaps | 1
19:53:23.117 Cleaned | 0
19:53:23.117
19:53:23.118 Total in 30 ms
19:53:23.129 Finished
19:53:23.129 Note: No functions dir at /functions found. Skipping.
19:53:23.129 Validating asset output directory
19:53:23.657 Deploying your site to Cloudflare's global network...
19:53:28.260 Success: Your site was deployed!
Language
English
What's the issue?
I have been trying to deploy lynx on Cloudflare pages and it fails every time. Any one can help me with this?
Theme version
1.1.0
Hugo version
0.54.0
Relevant Hugo log output